It may be because STAF calls the gethostbyname API to resolve the host
name and this may be taking longer in your environment depending on your
TCP/IP configuration on your name server..
Here's the output from using STAFLoop (a simple program that submits a
STAF service request to a system for x number of times). When run on a
Windows XP system submitting a STAF ping request to a Linux (RHEL 5)
system, each STAF ping request takes on average about a 0.1 seconds.
C:\>STAFLoop 10 client1.austin.ibm.com PING PING
Total loops: 10
Total time : 1.109
Avg. time : 0.110
Loops/sec : 9.01713
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: Hans Feldt <hans.fe...@ericsson.com>
To: "staf-users@lists.sourceforge.net"
<staf-users@lists.sourceforge.net>,
Date: 05/10/2012 01:54 PM
Subject: [staf-users] 1 sec delay for remote command
Hi,
Playing around with staf I compared execution of trivial remote command
using ssh and staf. While ssh returns in appr 100ms millisecs, staf always
returns after a little more than one sec.
Any ideas why?
Using strace I did see the delay in the remote stafproc so that's where it
is.
Thanks,
Hans
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users