From: 姜智华 <fl...@gm...> - 2011-03-16 03:31:58
|
Hi, I tried the patch but the core file still gets dumped (with mfs 1.6.20) Core was generated by `mfsmount /home/fwjiang -o rw,mfscachefiles,mfsentrycacheto=30,mfsattrcacheto=30'. Program terminated with signal 6, Aborted. #0 0x00000031c16327f5 in raise () from /lib64/libc.so.6 Missing separate debuginfos, use: debuginfo-install filesystem-2.4.30-2.fc12.x86_64 fuse-libs-2.8.5-2.fc12.x86_64 glibc-2.11.2-3.x86_64 libgcc-4.4.4-10.fc12.x86_64 (gdb) bt #0 0x00000031c16327f5 in raise () from /lib64/libc.so.6 #1 0x00000031c1633fd5 in abort () from /lib64/libc.so.6 #2 0x00000031c166fa1b in __libc_message () from /lib64/libc.so.6 #3 0x00000031c1675336 in malloc_printerr () from /lib64/libc.so.6 #4 0x000000000040e4ad in read_data_term () at readdata.c:224 #5 0x00000000004131b5 in mainloop (args=0x7fffc23bf030, mp=0xacc290 "/home/fwjiang", mt=1, fg=0) at main.c:600 #6 0x00000000004134f8 in main (argc=<value optimized out>, argv=0x7fffc23bf158) at main.c:819 Any clues? Thanks Flow On 3/15/11, Michal Borychowski <mic...@ge...> wrote: > It'll be fixed in the next release. For the moment you may try this "patch": > > > @@ -178,6 +178,7 @@ void read_data_end(void* rr) { > } > if (rrec->rbuff!=NULL) { > free(rrec->rbuff); > + rrec->rbuff=NULL; > } > > pthread_mutex_lock(&glock); > > > Kind regards > Michal > > -----Original Message----- > From: Flow Jiang [mailto:fl...@gm...] > Sent: Friday, March 04, 2011 4:21 PM > To: Michal Borychowski > Cc: moo...@li... > Subject: Re: [Moosefs-users] Core Dumped from mfsmount with Autofs > > I tried to re-compile mfsmount with the "free(freecblockshead)" line > commented out. Now our servers (which keep running 7x24) are happy, no > more core files. However, core files still gets generated on our > workstations when they reboot. The core is generated from the > "read_data_term" line right after the "write_data_term" line mentioned > previously. > > Hopefully this will also get fixed in next release, and will even be > better if I can have a quick solution / patch for the issue. > > Thanks > Flow > > On 03/01/2011 11:37 PM, Flow Jiang wrote: >> Michal, >> >> Glad to know that this error could be simply solved by commenting out >> that line and will try tomorrow to see if it fixes this issue. >> >> It does annoying since each core file takes about 170M and I tried to >> disable the core dump but failed. So hopefully we can have a better >> solution in the next release. >> >> Thanks >> Flow >> >> On 03/01/2011 09:00 PM, Michal Borychowski wrote: >>> Hi! >>> >>> This error is not a serious one. It may happen only upon exits. If these >>> errors are annoying a quick solution is to comment out the >>> "free(freecblockshead)" line, recompile mfsmount and run again. We'll >>> prepare a better solution in the next release. >>> >>> >>> Kind regards >>> Michał > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > moosefs-users mailing list > moo...@li... > https://lists.sourceforge.net/lists/listinfo/moosefs-users > > |