Please investigate bug 922835

This is a discussion on Please investigate bug 922835 within the SNMP Coders forums, part of the Networking and Network Related category; Hi, This bug is currently closed but I have experience the same as the bug reporter and I can reproduce ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-14-2005
Joseph Kuan
 
Posts: n/a
Default Please investigate bug 922835

Hi,

This bug is currently closed but I have experience the same as the
bug reporter and I can reproduce the problem.
I have posted comments to the bug entry including work around. (See below)

I don't think this is related to bug 930993 because I have applied the
change to the source on ver 5.1 suggested in the bug's comment and the
problem still occurs.

Many thanks
Joe

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

>Comment By: Joe (joekuan)
> Date: 2005-03-09 16:31
>
> Message:
> Logged In: YES
> user_id=1235842
>
> I agree with cfmartin. The problem does exist, even I invoke
> the script /etc/init.d/snmptrapd, not from inittab.
>
> You don't see the problem probably because u do
> /etc/init.d/snmptrapd start FROM COMMAND LINE.
>
> We have a daemon running and calls /etc/init.d/snmptrapd to
> start, it immediately consumes over 90% CPU and floods the
> log file with repeating messages:
>
> Connection from callback: 1 on fd 2
> pdu failed to be created
>
> The log file accumulates 1 GB per day.
>
> The daemon is programmed in C and calls
> system('/etc/init.d/snmptrapd start').
>
> The problem disappears if you do /etc/init.d/snmptrapd start
> from command line.
>
> Our system is running SUSE (SLES) 9.1 with net-snmp-5.1-80.11.
>
> I have also tested with building from 5.1 source.


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

>Comment By: Joe (joekuan)
> Date: 2005-03-09 16:56
>
> Message:
> Logged In: YES
> user_id=1235842
>
> Gotcha!!!!!
>
> One of the difference between command line and invoked from
> another programme is the fd 0 1 2.
>
> If you change your snmptrapd init script of line
>
> startproc $SNMPTRAPD -c /etc/snmptrapd.conf -Lf
> /var/log/net-snmptrapd.log
>
> to
>
> startproc $SNMPTRAPD -c /etc/snmptrapd.conf -Lf
> /var/log/net-snmptrapd.log > /dev/null 2>&1
>
> The problem disappears.
>
>
>






Test Drive Itheon Network Emulator at the Enterprise Networks Road Show 2005
http://www.itheon.com/news/events.htm

Responsible for Application Roll-outs & Pre-deployment Testing? - Itheon Network Emulator can help
http://www.itheon.com/news/press_04_09_14.htm

Itheon offers Application Performance & Quality of Service Monitoring
http://www.itheon.com/products/iam_qos.htm


************************************************** ****************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error
please notify the system manager.

This footnote also confirms that this email message has been
swept for the presence of viruses using SOPHOS.

http://www.itheon.com
************************************************** ****************



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply


Thread Tools
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

vB 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 10:36 AM.


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