I'm at a loss as to why this is happening:

sfarrow@psi-oem-devel:/bcat/common/oem/wrappers$ date; staf 10.38.56.124
ping ping; date
Wed Apr 15 12:16:59 MDT 2015
Error submitting request, RC: 22
Additional info
---------------
STAFConnectionReadUInt: select() timeout: recv() RC=11: 22
Wed Apr 15 12:19:10 MDT 2015

Per the documentation, the default maximum timeout value should be 11
seconds, and I'm getting closer to 2 minutes.

The remote host happens to not have a running STAFproc, which happens
sometimes, so I have a check in my script that uses staf ping to make sure
we are ok before trying anything else, but this long timeout is killing me.

I don't have anything weird set in my staf.cfg:

# ---------------------------------------------------------------------
# Interfaces (Connection Providers)
# ---------------------------------------------------------------------

INTERFACE ssl LIBRARY STAFTCP OPTION ConnectTimeout=5000 OPTION Port=6550 \
    OPTION Protocol=IPv4 OPTION Secure=Yes

INTERFACE tcp LIBRARY STAFTCP OPTION ConnectTimeout=5000 OPTION Port=6500 \
    OPTION Protocol=IPv4 OPTION Secure=No

What else could be causing the timeout to go from 11 seconds to two minutes?

Thanks,

Scott
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to