Dear Net-SNMP users,

 

I have decided to use the Net-SNMP software for one of my projects and am 
having an issue on one of my HP-UX 11.11 machines.  The issue is that the 
snmptrap command that comes with Net-SNMP is hanging in the process list and is 
essentially eating up all my CPU and it never dies.

 

$ uname -r

B.11.11

$ uname

HP-UX

$ model

9000/800/rp3440

 

I am experiencing a problem where I am simply using the snmptrap command to 
forward traps from server A to server B (very straight forward), but for some 
silly reason I am seeing some of these snmptrap commands hanging in the process 
list forever.

 

I installed "net-snmp-5.4-1-HP-UX_B.11.11_9000_800.tar.gz" on the server, but 
did no configuration (meaning we touched no configuration files).  I simply 
just need to use the snmptrap command, but am not sure if there is any 
configuration needed.

 

Here is what I see in the process list, you'll see it's using tons of CPU and 
has been running for a very long time:

 

$ ps -efx | grep -i snmp

    root  1104     1  0  Apr 12  ?         0:47 /usr/sbin/snmpdm

    root  1146     1  0  Apr 12  ?         0:01 /usr/lbin/cmsnmpd

    root  1874     1  0  Apr 12  ?         5:57 ./cirba-snmpd -P 3161 -f

    root 20745 20679 227 15:55:07 ?        1209:29 /usr/local/bin/snmptrap -v 1 
-c public xxx.xxx.xxx.xxx:162 .1.3.6.1.4.1.11.2.17.2 servera 6 88888888  
.1.3.6.1.4.1.11.2.17.2.1 i 0 .1.3.6.1.4.1.11.2.17.2.2 s WTRLONLUG00 
.1.3.6.1.4.1.11.2.17.2.3 s 2008-05-13 15:48:51 .1.3.6.1.4.1.11.2.17.2.4 s 
UPLOAD_PROBLEM .1.3.6.1.4.1.11.2.17.2.5 s normal .1.3.6.1.4.1.11.2.17.2.6 s 
node .1.3.6.1.4.1.11.2.17.2.7 s COMM .1.3.6.1.4.1.11.2.17.2.8 s NAVIS

    root  4812  4805 227 11:07:05 ?        62:44 /usr/local/bin/snmptrap -v 1 
-c public 172 xxx.xxx.xxx.xxx:162:162 .1.3.6.1.4.1.11.2.17.2 servera 6 88888888 
 .1.3.6.1.4.1.11.2.17.2.1 i 0 .1.3.6.1.4.1.11.2.17.2.2 s PYSDON26BB0 
.1.3.6.1.4.1.11.2.17.2.3 s 08-05-14 07:09:05 .1.3.6.1.4.1.11.2.17.2.4 s  
COMMERR "Failed to communicate with the module" .1.3.6.1.4.1.11.2.17.2.5 s 
major .1.3.6.1.4.1.11.2.17.2.6 s equipment .1.3.6.1.4.1.11.2.17.2.7 s LT-3-2-13 
.1.3.6.1.4.1.11.2.17.2.8 s AMS

    root   915   788  0 16:31:58 ?         0:00 /usr/local/bin/snmptrap -v 1 -c 
public xxx.xxx.xxx.xxx:162:162 .1.3.6.1.4.1.11.2.17.2 servera 6 88888888  
.1.3.6.1.4.1.11.2.17.2.1 i 0 .1.3.6.1.4.1.11.2.17.2.2 s WTRLONBGG00 
.1.3.6.1.4.1.11.2.17.2.3 s 2008-05-12 16:18:52 .1.3.6.1.4.1.11.2.17.2.4 s 
amasAPPackRemovedAlarmCS - Pack is removed .1.3.6.1.4.1.11.2.17.2.5 s normal 
.1.3.6.1.4.1.11.2.17.2.6 s equipment .1.3.6.1.4.1.11.2.17.2.7 s ap-1-11 
.1.3.6.1.4.1.11.2.17.2.8 s NAVIS

gromboug 19796 17137  0 12:10:11 pts/1     0:00 grep -i snmp

 

Here are the top 3 CPU intensive processes from the top command:

 

$ top

 

System: servera                                        Wed May 14 12:12:04 2008

Load averages: 0.52, 0.54, 0.53

190 processes: 164 sleeping, 25 running, 1 zombie Cpu states:

CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS

 0    0.74  31.1%   0.0%  59.4%   9.6%   0.0%   0.0%   0.0%   0.0%

 1    0.56   3.2%   0.0%   7.4%  89.4%   0.0%   0.0%   0.0%   0.0%

 2    0.46  26.1%   0.0%  48.7%  25.1%   0.0%   0.0%   0.0%   0.0%

 3    0.33   9.2%   0.0%  22.4%  68.5%   0.0%   0.0%   0.0%   0.0%

---   ----  -----  -----  -----  -----  -----  -----  -----  -----

avg   0.52  17.3%   0.0%  34.5%  48.2%   0.0%   0.0%   0.0%   0.0%

 

Memory: 955592K (924028K) real, 1669748K (1573868K) virtual, 425088K free  
Page# 1/16

 

CPU TTY  PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND

 2   ? 20745 root     237 20  3296K   488K run   1211:21 100.33 100.15 snmptrap

 0   ?  4812 root     237 20  3296K   488K run     64:36 100.32 100.14 snmptrap

 3   ?  1489 root     -16 20 38432K 16736K run    170:56 19.19 19.16 midaemon

 

I am looking for any help you can give me in order to determine why this 
command sometime hangs forever and inch by inch eventually takes down my server.

 

Thanks so much,

--

Greg B. Rombough

Manager - Applications Support & Development

Bell Systems & Technology

160 Elgin Street, Floor 17

Ottawa, ON

E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

Phone: (613) 781-0892

Mobile: (613) 290-4053

 

NOTICE: 

The information contained in this message is proprietary to Bell Canada and may 
not be used, reproduced or disclosed to others except as specifically permitted 
in writing by the originator of the information as it contains restricted 
information which is not to be disclosed. The recipient of this information, by 
its retention and use, agrees to protect the same and the information contained 
therein from loss, theft or compromise. If you are not the intended recipient 
of this message or their authorized representative, please contact the author 
at 613-781-0892 and destroy this message. 

AVIS: 

Les informations contenues dans ce message sont la propriété exclusive de Bell 
Canada et ne peuvent être utilisées, reproduites ou divulguées à moins d'une 
permission expresse donnée par écrit par l'auteur. La personne à qui ce 
document est confié accepte de protéger le document et son contenu contre la 
perte, le vol ou l'atteinte à son intégrité. Si vous n'êtes pas le destinataire 
voulu de ce message ni son eprésentant autorisé, veuillez communiquer avec 
l'auteur au 613-781-0892 et détruire ce message.

 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to