Re: versionRestartAgent only restarts once

This is a discussion on Re: versionRestartAgent only restarts once within the SNMP Coders forums, part of the Networking and Network Related category; On Wed, 16 Feb 2005 17:37:58 -0500 Dana wrote: DB> Another problem: my kernel doesn't seem ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-17-2005
Robert Story
 
Posts: n/a
Default Re: versionRestartAgent only restarts once

On Wed, 16 Feb 2005 17:37:58 -0500 Dana wrote:
DB> Another problem: my kernel doesn't seem to be delivering the SIGALRM the
DB> second time around.
DB> Works like a champ on Solaris though. I don't know if it has anything to
DB> do with the execv or not.

I missed the beginning of this thread. What platform is it not working on?

DB> 2.4.21-20.ELsmp #1 SMP

That looks like Linux...

DB> The following seems to run forever though, so its' not quite the same
DB> somehow.

I ran your program (with the minor change of /tmp/sig -> echo testing), with
the following (expected) results:

setting alarm 1, for 3 secs
atime=0
waitread 5...
callback
select(): Interrupted system call
setting alarm 2, for 3 secs
atime=0
waitread
callback
select(): Interrupted system call
testing

This is on Linux 2.6.9...

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
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:51 PM.


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