From: Michał B. <mic...@ge...> - 2010-05-12 17:42:00
|
You have lots of chunks on your chunkservers. Probably the registration packet for the master is too big and the master server rejects it. You need to change in the "matocsserv.c" file in "mfsmaster" folder this line: #define MaxPacketSize 50000000 into this: #define MaxPacketSize 200000000 After changing source you need to recompile the master server and restart it. Generally on one chunkserver there are about 500,000 chunks. For this amount it is necessary to allocate 6 million bytes. Limit of 50 million seemed quite reasonable. But you have about 5,000,000 chunks on one chunkserver which demands about 60 million bytes for sending information about these chunks. And you exceed this limit. That's why we suggest to increase it to 200 million bytes. Let us know if it fixes your problem. Kind regards Michał Borychowski From: lwxian_aha [mailto:lwx...@16...] Sent: Tuesday, May 11, 2010 5:34 AM To: moosefs-users Subject: [Moosefs-users] chunkserver can't connect to masterserver today I have new trouble with my new MFS system,chunkserver can't connect to masterserver; my MFS system consist of one masterserver,three chunkserver,every chunkserver with 7.2T diskspace; about 1.4T data and about 7 million files ,every file with 2 copies; MFS version is 1.6.11 OS version CENTOS 5.0 FS is ext3; Following is the error message: [root@localhost mfs]# tail /var/log/messages May 11 10:57:00 localhost mfsmaster[25802]: server 1 (ip: 192.168.10.23, port: 9422): usedspace: 33326616576 (31.04 GiB), totalspace: 140025790464 (130.41 GiB), usage: 23.80% May 11 10:57:00 localhost mfsmaster[25802]: total: usedspace: 33326616576 (31.04 GiB), totalspace: 140025790464 (130.41 GiB), usage: 23.80% May 11 10:57:03 localhost mfsmaster[25802]: CS(192.168.10.21) packet too long (56130653/50000000) May 11 10:57:03 localhost mfsmaster[25802]: chunkserver disconnected - ip: 192.168.10.21, port: 0, usedspace: 0 (0.00 GiB), totalspace: 0 (0.00 GiB) May 11 10:57:08 localhost mfsmaster[25802]: CS(192.168.10.21) packet too long (56130653/50000000) May 11 10:57:08 localhost mfsmaster[25802]: chunkserver disconnected - ip: 192.168.10.21, port: 0, usedspace: 0 (0.00 GiB), totalspace: 0 (0.00 GiB) May 11 10:57:13 localhost mfsmaster[25802]: CS(192.168.10.21) packet too long (56130653/50000000) May 11 10:57:13 localhost mfsmaster[25802]: chunkserver disconnected - ip: 192.168.10.21, port: 0, usedspace: 0 (0.00 GiB), totalspace: 0 (0.00 GiB) May 11 10:57:18 localhost mfsmaster[25802]: CS(192.168.10.21) packet too long (56130653/50000000) May 11 10:57:18 localhost mfsmaster[25802]: chunkserver disconnected - ip: 192.168.10.21, port: 0, usedspace: 0 (0.00 GiB), totalspace: 0 (0.00 GiB) what's happen ?need you help! thanks a lot's 2010-05-05 ________________________________________ lwxian_aha |