Hi,

It looks like snmpd buffers invalid udp requests on it's port instead of
properly throwing them away.  Using udpsic to throw about 5 minutes of
garbage traffic at port, snmpd's memory image grows from a slim 5k to a
fat 380Megabytes. 

typical snmpd at startup:
  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU
COMMAND
31175 root      15   0  5212 5212  1684 S     0.0  0.4   0:00   0 snmpd

snmpd after a few minutes with udpsic (note cpu usage -- udpsic is no
longer
running at this point).

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU
COMMAND
 7542 root      25   0  380M 169M   488 R    95.8 45.4  13:00   0 snmpd

The command to set invalid requests is used
udpsic -s rand -d 172.16.240.34,161 -F27

Is this a known bug? Do we have a fix? We are running 5.0.9 on linux.


Thanks,

FT


-------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to