On 22/4/2012 1:28 μμ, Markus Falb wrote: >> I am using nfsen 1.3.5 (http://nfsen.sourceforge.net/) on CentOS 5.8 x86_64 (running as a VM on a KVM Host). >> > >> > For those not knowing it, nfsen is using php and perl and it allows graphing and analysis of (Cisco routers) netflow data captured using nfdump. >> > >> > Often (about once a day) nfsen crashes for unknown reason. For example: > ... > >> > please provide details on what should I do. (e.g. how to install debug symbols for libperl.so and libpthread.so) >> > At least it can't hurt to install the debug symbols Thanks Markus, I installed the debugging symbols, and below follows a backtrace from a hang. Can somebody please help in resolving the issue? Does this backtrace help? Any other advice to resolve the issue with hangs? Thanks, Nick ============================================= # gdb /data/nfsen/bin/nfsend 13540 GNU gdb (GDB) CentOS (7.0.1-42.el5.centos) Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... "/data/nfsen/bin/nfsend": not in executable format: File format not recognized Attaching to process 13540 ... /Reading symbols... ... / (gdb) continue Continuing. /Detaching after fork from child process xxxxx. Detaching after fork from child process yyyyy. Detaching after fork from child process zzzzz./ ... Program received signal SIGPIPE, Broken pipe. 0x00000036e040df15 in __libc_send (fd=4, buf=0x473f250, n=12, flags=0) at ../sysdeps/unix/sysv/linux/x86_64/send.c:28 28 return INLINE_SYSCALL (sendto, 6, fd, buf, n, flags, NULL, NULL); (gdb) backtrace full #0 0x00000036e040df15 in __libc_send (fd=4, buf=0x473f250, n=12, flags=0) at ../sysdeps/unix/sysv/linux/x86_64/send.c:28 oldtype = <value optimized out> result = <value optimized out> #1 0x00000036e18cf063 in Perl_pp_send (my_perl=0x3bc4010) at pp_sys.c:1934 sp = <value optimized out> mark = 0x3caa498 origmark = 0 targ = 0x468c000 gv = 0x4717f30 io = 0x4727fe0 bufsv = 0x468bfd0 buffer = 0x473f250 ".timeout=10\n" length = <value optimized out> retval = <value optimized out> blen = 12 mg = <value optimized out> #2 0x00000036e188a39e in Perl_runops_standard (my_perl=0x3bc4010) at run.c:37 No locals. #3 0x00000036e18380ba in S_run_body (my_perl=0x3bc4010) at perl.c:2372 No locals. #4 perl_run (my_perl=0x3bc4010) at perl.c:2289 oldscope = 1 ret = <value optimized out> cur_env = {je_prev = 0x3bc42a8, je_buf = {{__jmpbuf = {140733567184264, 8312953106376043799, 0, 140733567184256, 0, 0, 8313070080049120900, 8312953287326650575}, __mask_was_saved = 0, __saved_mask = {__val = {11, 235712106880, 0, 0, 0, 62673248, 62668816, 62668816, 140733567184256, 62673248, 62668816, 235712042554, 0, 62669480, 0, 140733567184264}}}}, je_ret = 0, je_mustcatch = 0 '\000'} #5 0x00000000004017bc in main (argc=3, argv=0x7fff1647ad88, env=<value optimized out>) at perlmain.c:99 exitstatus = -32 ==========================================================