Re: SNMPD hangs after awhile

"[email protected]" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I figured out what the problem was. The NFS mounts our machines had were 
hanging, thus causing SNMP to hang when requesting data about these 
storages.
I remounted the NFS mounts and all is working again.

Thought I'd let you all know.

-Jeffrey

---------------------------------
Jeffrey Lensen
hyves:     http://skyler.hyves.nl
mail/msn:  [email protected]



Pamidipati Suresh-G20238 wrote:

> Hi Jeffrey,
>  
> As the following statements show that open call is returned with error 
> ENOENT, snmpd didn't get stuck at this function call.
>  
> Regards,
> Suresh.
>  
>  
>
>     -----Original Message-----
>     *From:* [email protected]
>     [mailto:[email protected]] *On Behalf
>     Of *[email protected]
>     *Sent:* Tuesday, July 18, 2006 3:01 PM
>     *To:* [email protected]
>     *Subject:* Re: SNMPD hangs after awhile
>
>     Thanks Suresh.
>
>     I ran strace and for some reason, it cleaned out the queue...
>     I'm not exactly sure why snmpd gets stuck. When I keep strace open
>     and I send a snmpwalk to the host and it starts to hang again. I
>     see alot of functions being called, but the only somewhat
>     error-like notification I can find is this one:
>
>         open("/etc/hosts.allow", O_RDONLY)      = -1 ENOENT (No such
>         file or directory)
>         open("/etc/hosts.deny", O_RDONLY)       = -1 ENOENT (No such
>         file or directory)
>
>     Which is correct, cause they don't exist. Could snmpd really crash
>     because of this???
>
>     -Jeffrey
>
>---------------------------------
>Jeffrey Lensen
>hyves:     http://skyler.hyves.nl
>mail/msn:  [email protected]
>    
>
>
>
>     Pamidipati Suresh-G20238 wrote:
>
>>     Hi,
>>      
>>     I don't the reason for this behavior..
>>     But, on mvl-ppc, we also observed that snmpd hangs sometimes.
>>     When we checked the strace of SNMPD at that point of time, it was
>>     stuck in the SYS_265() system call. Can you please check with
>>     strace when snmpd hangs.
>>      
>>     Thanks,
>>     Suresh.
>>      
>>      
>>
>>         -----Original Message-----
>>         *From:* [email protected]
>>         [mailto:[email protected]] *On
>>         Behalf Of *[email protected]
>>         *Sent:* Tuesday, July 18, 2006 1:57 PM
>>         *To:* [email protected]
>>         *Subject:* SNMPD hangs after awhile
>>
>>         Hello all,
>>
>>         Currently I have Nagios set up to use SNMP 5.2.2 to perform
>>         checks on nearly 200 machines. Recently some of my SNMPD
>>         daemons started hanging and stop responding to snmp requests.
>>         When I check with netstat, I get these results back:
>>
>>             Active Internet connections (only servers)
>>             Proto  Recv-Q   Send-Q   Local Address         Foreign
>>             Address    State       PID/Program name
>>             udp     107824   0             *:snmp                    
>>             *:*                                            31154/snmpd
>>
>>         The Recv-Q has become insanely high (it's always 107824),
>>         which leads me to believe the SNMPD daemon has been floaded
>>         with requests somehow.
>>         Does anyone know a workaround of some kind, or a way to flush
>>         the queue if the SNMPD daemon crashed or something?
>>
>>         Thanks!
>>
>>         -Jeffrey
>>
>>-- 
>>---------------------------------
>>Jeffrey Lensen
>>hyves:     http://skyler.hyves.nl
>>mail/msn:  [email protected]
>>    
>>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.