This is a discussion on RE: Maximum packet size exceeded in a request within the SNMP Coders forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C5C350.F39CE509 Content-Type: text/plain; charset="iso-8859-...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
------_=_NextPart_001_01C5C350.F39CE509 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Is it possible running short of either memory or file descriptors could = cause this "Maximum packet size exceeded in a request" problem?=20 ________________________________ From: Fong Tsui Sent: Mon 9/26/2005 9:43 PM To: Fong Tsui; 'net-snmp-coders@lists.sourceforge.net' Subject: RE: Maximum packet size exceeded in a request The scenario is querying data in a loop on UDP by using getbulk, it = works for a period of time. After a while, no data returns until restart = snmpd and its subagents. It is hard to catch when this hanging happens. = Only thing I can find in log file is "Maximum packet size exceeded in a = request" from snmpd. I checked the code, after this error happens, it will call callback = function for NETSNMP_CALLBACK_OP_DISCONNECT and also close the session. Since query is from UDP, so, this error should happen in communication = between master and subagent. I am not sure what cause it. I am usning = v5.0.9 on linux. The structure is a master with 3 subagents. Does anybody have an idea where I should look into? I am really in the = dark and hope experts can give some suggestion. Thanks, FT -----Original Message----- From: net-snmp-coders-admin@lists.sourceforge.net = [mailto:net-snmp-coders-admin@lists.sourceforge.net] On Behalf Of Fong = Tsui Sent: Monday, September 26, 2005 2:33 PM To: net-snmp-coders@lists.sourceforge.net Subject: RE: Maximum packet size exceeded in a request It seems there is a bug in agentX for exceed maximum packet size (verion 5.0.9). Does anybody have a clue and fix? ------_=_NextPart_001_01C5C350.F39CE509 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1">=0A= <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">=0A= <HTML>=0A= <HEAD>=0A= =0A= <META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version = 6.5.7226.0">=0A= <TITLE>RE: Maximum packet size exceeded in a request</TITLE>=0A= </HEAD>=0A= <BODY>=0A= <DIV id=3DidOWAReplyText89562 dir=3Dltr>=0A= <DIV dir=3Dltr><FONT face=3DArial color=3D#0000ff size=3D2>Is it = possible running short =0A= of either memory or file descriptors could cause this "Maximum =0A= packet size exceeded in a request" problem?</FONT><FONT = face=3DArial =0A= color=3D#0000ff size=3D2> </FONT></DIV></DIV>=0A= <DIV dir=3Dltr><BR>=0A= <HR tabIndex=3D-1>=0A= <FONT face=3DTahoma size=3D2><B>From:</B> Fong Tsui<BR><B>Sent:</B> Mon = 9/26/2005 =0A= 9:43 PM<BR><B>To:</B> Fong Tsui; =0A= 'net-snmp-coders@lists.sourceforge.net'<BR><B>Subject:</B> RE: Maximum = packet =0A= size exceeded in a request<BR></FONT><BR></DIV>=0A= <DIV>=0A= <P><FONT size=3D2>The scenario is querying data in a loop on UDP by = using getbulk, =0A= it works for a period of time. After a while, no data returns until = restart =0A= snmpd and its subagents. It is hard to catch when this hanging happens. = Only =0A= thing I can find in log file is "Maximum packet size exceeded in a = request" from =0A= snmpd.<BR><BR>I checked the code, after this error happens, it will call =0A= callback function for NETSNMP_CALLBACK_OP_DISCONNECT and also close the =0A= session.<BR><BR>Since query is from UDP, so, this error should happen in =0A= communication between master and subagent. I am not sure what cause it. = I am =0A= usning v5.0.9 on linux. The structure is a master with 3 = subagents.<BR><BR>Does =0A= anybody have an idea where I should look into? I am really in the dark = and hope =0A= experts can give some =0A= suggestion.<BR><BR>Thanks,<BR><BR>FT<BR><BR><BR>-----Original =0A= Message-----<BR>From: net-snmp-coders-admin@lists.sourceforge.net [<A =0A= href=3D"mailto:net-snmp-coders-admin@lists.sourceforge.net">mailto:net-sn= mp-coders-admin@lists.sourceforge.net</A>] =0A= On Behalf Of Fong Tsui<BR>Sent: Monday, September 26, 2005 2:33 = PM<BR>To: =0A= net-snmp-coders@lists.sourceforge.net<BR>Subject: RE: Maximum packet = size =0A= exceeded in a request<BR><BR>It seems there is a bug in agentX for = exceed =0A= maximum packet size (verion<BR>5.0.9).<BR><BR>Does anybody have a clue = and =0A= fix?<BR><BR><BR></FONT></P></DIV>=0A= =0A= </BODY>=0A= </HTML> ------_=_NextPart_001_01C5C350.F39CE509-- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |