Bluehost.com Web Hosting $6.95

RE: PROBLEM: snmpd not responding (request queued)

This is a discussion on RE: PROBLEM: snmpd not responding (request queued) within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0622365034== content-class: urn:content-classes:message Content-Type: multipart/alternative; ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-19-2007
Makavy, Erez
 
Posts: n/a
Default RE: PROBLEM: snmpd not responding (request queued)

This is a multi-part message in MIME format.

--===============0622365034==
content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C76A54.F510214C"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C76A54.F510214C
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Maybe there should be a timeout for a state where
(netsnmp_processing_set !=3D NULL).
=20
Erez.

_____ =20

From: Makavy, Erez (Erez)=20
Sent: Monday, March 19, 2007 8:05 PM
To: net-snmp-users@lists.sourceforge.net
Subject: PROBLEM: snmpd not responding (request queued)


Hi,
=20
Problem:
-------------
Sometimes the snmpd stops responding to any requests.
Only a restart of the snmpd helps.
=20
Analysis:
--------------
snmpd logs shows this message for every request:
----
trace: netsnmp_handle_request(): snmp_agent.c, 3020:
snmp_agent: request queued while processing set, asp =3D 0x1010aa78
---
=20
=20
Reproducing the problem:
-----------------------------------
- I got a sub-agent which imlements a leaf.
- I have a script setting the leaf's value each second in a loop.
- I got another scripts which kills the sub-agent and restarts is every
~0.2-0.6 sec.
=20
After a short while the master agent stops responding. (I query the
sysUpTime).
=20
Stuff that might help:
-----------------------------
- My sub-agent's implementation of the mentioned leaf includes creating
a thread (ofcourse that created thread does not do any snmp related
stuff).
=20
Question:
--------------
I'm trying to look at the code and see how the netsnmp_processing_set
flag gets set,
and see how it might be fixed.
I'd appreciate some help with this.
=20
Thanks,
Erez.
=20

------_=_NextPart_001_01C76A54.F510214C
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2963" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial color=3D#008000 size=3D2><SPAN =
class=3D252592818-19032007>Maybe=20
there should be a timeout for a state where (netsnmp_processing_set !=3D =

NULL).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial color=3D#008000 size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D252592818-19032007><FONT face=3DArial color=3D#008000 =

size=3D2>Erez.</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> Makavy, Erez (Erez) =
<BR><B>Sent:</B>=20
Monday, March 19, 2007 8:05 PM<BR><B>To:</B>=20
net-snmp-users@lists.sourceforge.net<BR><B>Subject:</B> PROBLEM: snmpd =
not=20
responding (request queued)<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial=20
size=3D2>Problem:</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial=20
size=3D2>-------------</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial =
size=3D2>Sometimes the snmpd=20
stops responding to any requests.</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial size=3D2>Only a =
restart of=20
the snmpd helps.</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial=20
size=3D2>Analysis:</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial=20
size=3D2>--------------</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial size=3D2>snmpd =
logs shows=20
this message for every request:</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial=20
size=3D2>----</FONT></SPAN></DIV>
<DIV><SPAN class=3D856233317-19032007><FONT face=3DArial size=3D2>trace: =

netsnmp_handle_request(): snmp_agent.c, 3020:<BR>snmp_agent: request =
queued=20
while processing set, asp =3D 0x1010aa78<BR>---</DIV></FONT></SPAN>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D856233317-19032007>Reproducing the=20
problem:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007>-----------------------------------</SPAN></FO=
NT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>- I =
got a sub-agent=20
which imlements a leaf.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>- I =
have a script=20
setting the leaf's value each second in a loop.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>- I =
got another=20
scripts which kills the sub-agent and restarts is every ~0.2-0.6=20
sec.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>After =
a short while=20
the master agent stops responding. (I query the =
sysUpTime).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>Stuff =
that might=20
help:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007>-----------------------------</SPAN></FONT></D=
IV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>- My =
sub-agent's=20
implementation of the mentioned leaf includes creating a thread =
(ofcourse that=20
created thread does not do any snmp related stuff).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007>Question:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007>--------------</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>I'm =
trying to look=20
at the code and see how the netsnmp_processing_set flag gets=20
set,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>and =
see how it might=20
be fixed.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D856233317-19032007>I'd =
appreciate some=20
help with this.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D856233317-19032007>Erez.</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C76A54.F510214C--


--===============0622365034==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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?p...rge&CID=DEVDEV
--===============0622365034==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============0622365034==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:50 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0