after reviewing code,the reason is :
default mempory pool size is 200MB in chunk server.
config it in property file ,key is:
 
chunkServer.ioBufferPool.partitionBufferCount
chunkServer.ioBufferPool.bufferSize
 
 
2011-03-08

zhengrui.m

发件人: zhengrui.m
发送时间: 2011-03-07  21:07:05
收件人: kosmosfs-users
抄送:
主题: out of io buffers
hi,
  recently, chunk server always core, gdb it ,result is:
 
#0  0x00000035b1030265 in raise () from /lib64/libc.so.6
#1  0x00000035b1031d10 in abort () from /lib64/libc.so.6
#2  0x00000000004e2a09 in QCUtils::FatalError (inMsgPtr=0x4ee897 "out of io buffers", inSysError=0)
    at /home/manzr/kfs/kfs/src/cc/qcdio/qcutils.cpp:112
#3  0x00000000004c4728 in KFS::DiskIoQueues::BufferAllocator::Allocate (this=0x174af9f0)
    at /home/manzr/kfs/kfs/src/cc/chunk/DiskIo.cc:417
#4  0x00000000004d225e in AllocBuffer (allocSize=4096) at /home/manzr/kfs/kfs/src/cc/libkfsIO/IOBuffer.cc:714
#5  0x00000000004d322c in KFS::IOBuffer::Read (this=0x2aaaac5b7408, fd=164, maxReadAhead=64754)
    at /home/manzr/kfs/kfs/src/cc/libkfsIO/IOBuffer.cc:768
#6  0x00000000004c61cb in KFS::NetConnection::HandleReadEvent (this=0x2aaaac5b73d0)
    at /home/manzr/kfs/kfs/src/cc/libkfsIO/NetConnection.cc:54
#7  0x00000000004c9f7a in KFS::NetManager::MainLoop (this=0x174b09b0) at /home/manzr/kfs/kfs/src/cc/libkfsIO/NetManager.cc:310
#8  0x0000000000491f8d in netWorker (dummy=0x0) at /home/manzr/kfs/kfs/src/cc/chunk/ChunkServer.cc:52
#9  0x00000035b1c0673d in start_thread () from /lib64/libpth
 
 
what's wrong ~~...
 
2011-03-07

zhengrui.m