>>>>> On Thu, 2 Jun 2005 08:41:05 +0800 (CST), wanxia qu <[EMAIL PROTECTED]> 
>>>>> said:

wanxia> "mysleep" writes oid and its value into a shared memory, which
wanxia> will be read by another applicatioin "waitmsg".

wanxia> If I use "localhost", rather than "172.26.4.44", waitmsg
wanxia> receives them(oid & val) immediately !

you might put timing statements into the shell script to see if its
the mysleep application where the long delay is happening.
Unfortunately, I suspect it is.

One problem with your method is that you're not doing queuing of any
kind.  It'd be better if mysleep didn't hang waiting for your other
application to pick up the response.  A file socket or some other form
of communication that buffered the incoming information would be
better for the trap receiver side...

-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to