Re: random collector hangs
Mike Fisher <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Mike Fisher wrote: > Ed Ravin wrote: >> Dumb ass idea but it might work - switch from the default SNMP library >> to Net-SNMP's library. The Net-SNMP code has been tested against >> modern platforms, and is less likely to have 64-bit porting bugs. >> >> > That's a possibility. I'll give it a shot when I get back to it. > That didn't help fix it, but it did help push the issue to a lower level. The hangs happen when using the Net-SNMP module as well. [root:log]# strace -p 959 Process 959 attached - interrupt to quit recvfrom(4, <unfinished ...> [root:log]# pstack 959 #0 0x00000037d1d0b585 in __recvfrom_nocancel () #1 0x0000002a95a44be7 in netsnmp_tcp6_ctor () from /usr/lib64/libnetsnmp.so.5 #2 0x0000002a95a24ae2 in _sess_read () from /usr/lib64/libnetsnmp.so.5 #3 0x0000002a95a258a9 in snmp_sess_read () from /usr/lib64/libnetsnmp.so.5 #4 0x0000002a95a258f0 in snmp_read () from /usr/lib64/libnetsnmp.so.5 #5 0x0000002a95a00aa0 in snmp_synch_response_cb () #6 0x0000002a95ca1c5e in __libraries_init () #7 0x0000002a95caa7ac in XS_SNMP__get () #8 0x00000037d259e8bb in Perl_pp_entersub () #9 0x00000037d258281a in Perl_runops_debug () #10 0x00000037d253b594 in perl_run () #11 0x00000000004019dc in main () For comparison, the stack looks like this when using the default SNMP_Session module: [root@nalnxmlt003 log]# pstack 2987 #0 0x00000037d1d0b585 in __recvfrom_nocancel () #1 0x00000037d25db20f in Perl_pp_sysread () #2 0x00000037d258281a in Perl_runops_debug () #3 0x00000037d253b594 in perl_run () #4 0x00000000004019dc in main () I've found numerous mentions of similar problems is several apps via Google, most dating from the 2004-2005 time frame. None pointed to a definite solution though. Next stop kernel update. Mike ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/