Menu

STAF pinging the machine in Network

graj
2007-02-23
2013-06-12
  • graj

    graj - 2007-02-23

    hi,
        I have installed STAF in our corporate network with firewalls. I could see STAF pinging between two machines takes more than 15secs while normal network pinging happens in <1ms. what might be the reason behind this time delay in STAF pinging between two machines. Will the firewalls implemented over the network have impact on the this delay. Kindly help me out in this regard.

    regards,
    Govindh

     
    • Sharon Lucas

      Sharon Lucas - 2007-02-23

      What operating system(s) are you seeing the slow response time for a STAF ping?
      Are you pinging by host name or IP addaress?
      What version of STAF are you using?

      Please see Help forum posting "What's the reason of a long respons by ping?" at https://sourceforge.net/forum/message.php?msg_id=2763377 and read all of the responses.

      If you're using an IP address rather than a hostname, then all STAF does is a straight socket() call to open the socket. If you are specifying a hostname then we do a gethostbyname() and then the socket() call.

      If you're seeing the performance issue on Windows, if NETBIOS over TCP/IP is enabled, it's possible that a gethostbyname() may actually try to do a WINS resolution which could slow things down.  If NETBIOS over TCP/IP is enabled, try disabling the WINS name resolution on your system(s) and see if that improves things.

       
    • graj

      graj - 2007-02-24

      Hi Lucas,
           All the machines in the setup has windows xp SP2 and the latest version of STAF (3.2.0.1). For pinging I am using the IP address not the host name. Eventhough I am not using the host name, I tried pinging after disabling the NETBIOS over TCP/IP but still it is taking the same time for pinging. The firewall is also in OFF state. what could be problem.

      regards,
      Govindh

       

Log in to post a comment.