Longer Timeout for Phrelay/Phindows wanted

(I could not post to qdn.public.qnx4. so trying qdn.public.qnx4)
–Our configuration is:
We have a WIN95 box with Phindows connected to a QNX/Photon box cross a
TCP/IP Network.
The Phindows screen should show the original Photon screen over several
days or more.
QNX 4.25;Photon 1.14; TCP/IP for QNX4.25; Phindows 1.20 on a Win95 Box;

–Problem:

From time to time, there is no Network connection thru the network
between the 2 computers. This missing connection can last for several

minutes. After about 90 seconds, the Phrelay driver is shut down, and
the Phindows screen on the WIN box gets frozen (dead) without any
comments.

–What we tried out:
We tried to increase the timeout by means of the phrelay option <-T
idletime ,retries> in file </etc/inetd.conf> and activated a debug
output file with options <-VV –D filename>…
To break the TCP/IP connection, we unplugged the network connector on
the QNX box after the Phindows connection was established.
Our Phrelay line in inetd.conf is :
<phrelay stream tcp nowait root /usr/photon/bin/phrelay phrelay -VV -D

/usr/log “-T 2,2”>
We also tried <-T 10,10> and others. The effect is always similar: About

30 seconds after the connection is broken, the debug file shows about 5
or 10 timeout messages, and after about 85 seconds shutdown of the
connection is reported.

–Questions:
-How can the Phrelay timeout be increased to about 3 Minutes or more?
-Is the syntax of our Phrelay line in inetd.conf correct?
-Is it a problem of needing updates?

Thanks a lot for answers, Juergen.

Juergen Steinmann
Ingenieurbuero Steinmann & Reinke
D88131 Lindau
jsteinmann@srel.de

In article <3A112651.BAE18309@srel.de>, jsteinmann <jsteinmann@srel.de> wrote:

(I could not post to qdn.public.qnx4. so trying qdn.public.qnx4)
–Our configuration is:
We have a WIN95 box with Phindows connected to a QNX/Photon box cross a
TCP/IP Network.
The Phindows screen should show the original Photon screen over several
days or more.
QNX 4.25;Photon 1.14; TCP/IP for QNX4.25; Phindows 1.20 on a Win95 Box;

–Problem:
From time to time, there is no Network connection thru the network
between the 2 computers. This missing connection can last for several
minutes. After about 90 seconds, the Phrelay driver is shut down, and
the Phindows screen on the WIN box gets frozen (dead) without any
comments.

–What we tried out:
We tried to increase the timeout by means of the phrelay option <-T
idletime ,retries> in file </etc/inetd.conf> and activated a debug
output file with options <-VV –D filename>…
To break the TCP/IP connection, we unplugged the network connector on
the QNX box after the Phindows connection was established.
Our Phrelay line in inetd.conf is :
phrelay stream tcp nowait root /usr/photon/bin/phrelay phrelay -VV -D

/usr/log “-T 2,2”
We also tried <-T 10,10> and others. The effect is always similar: About

30 seconds after the connection is broken, the debug file shows about 5
or 10 timeout messages, and after about 85 seconds shutdown of the
connection is reported.

–Questions:
-How can the Phrelay timeout be increased to about 3 Minutes or more?

Actually the docs don’t seem to agree with the code :slight_smile:

-T idletime [,retries]
Idle timeout. Pulse link after idletime seconds of
inactivity. Shut down after the specified number of
unsuccessful retries.

should be

-T resendtime [,idletime [,retries] ]
Retry sending a packet if not ACKed within resendtime seconds.
Pulse link after idletime seconds of inactivity. Shut down
after the specified number of unsuccessful retries.

Default values depend on link speed with 10Mbit ethernet
being -T 10,20,4

So for a 3 minute timeout -T10,20,9

BTW Couple of tricks with the current version -T0 turns
off the timers and just specifying resendtime sets idletime
to 10X and retries to 4. ie -T5 == -T5,50,4 == 3min 20sec :slight_smile:

-Is the syntax of our Phrelay line in inetd.conf correct?
-Is it a problem of needing updates?

Thanks a lot for answers, Juergen.

Juergen Steinmann
Ingenieurbuero Steinmann & Reinke
D88131 Lindau
jsteinmann@srel.de


Garry Turcotte (R&D)
QNX Software Systems, Ltd.