Re: random collector hangs

Ed Ravin <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
On Sun, Apr 29, 2007 at 02:01:18PM -0400, Mike Fisher wrote:
> The intervals can range from hours to days, but when a given collector 
> process hangs, it's hung for good until manually killed.  I've seen 
> hangs in three of the six collectors that run from cron.  They occur 
> most often in one subtree, but never yet at the same target.  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.

> ...  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.


-------------------------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.