snmptrapd does timeout on select() in Net-snmp 5.3.0.1

This is a discussion on snmptrapd does timeout on select() in Net-snmp 5.3.0.1 within the SNMP Coders forums, part of the Networking and Network Related category; Hello, snmptrapd is no longer timing out on a regular interval in 5.3.0.1 (as compared to 5....


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-04-2006
rwilcox
 
Posts: n/a
Default snmptrapd does timeout on select() in Net-snmp 5.3.0.1

Hello,

snmptrapd is no longer timing out on a regular
interval in 5.3.0.1 (as compared to 5.2.1). In
reviewing the code, I see that the code used to do
some initialization for AGENTX that setup an alarm.
The alarm prevented snmp_select_info from setting
block to 1. Setting block to 1 causes snmptrapdmain
to set the timeout to 0. Since there is no timeout, I
am not able to get the trapdaemon to respond to
signals in a timely fashion on WIN32, running the
daemon as a service. What do you recommend to
alleviate this problem? I was wondering if there was
some kind of dummy alarm that could be registered so
as to prevent the blocking or should we create some
kind of #define to prevent blocking?


Robert Wilcox


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
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 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:49 AM.


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