Re: random collector hangs
Mike Fisher <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Ed Ravin wrote: > On Sun, Apr 29, 2007 at 02:01:18PM -0400, Mike Fisher wrote: > >> Running >> with loglevel=debug revealed nothing unusual. The log simply stops >> where the process hangs. Running strace against the hung process always >> gives >> >> recvfrom(4, >> > > What's socket 4? It'll be earlier in the strace, or much easier, > do an "lsof -p PID" against the hung process to see what sockets > it has open. > I'm assuming it's the UDP socket that's used for SNMP traffic: collector 26699 cricket 4u IPv4 348216 UDP *:51640 hence my comment below... > >> ... Given the strace output, I'm thinking the >> issue may be down in the SNMP module somewhere, but I won't know for >> sure without more work. >> > > 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. 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/