Help with Scripting
Christian Völker
cvoelker at knebb.de
Wed Oct 26 19:36:55 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
> Monitoring ps axf above you can see rz is started and after a
> while runscript goes into "<defunct>" where it's not executed any
> more. So it never reaches any item after the rz.
I think I know what happens here.
Based on scriptfile runscript (or minicom) have a timeout of 30
seconds configured. But rz tries several times to download a file
(which is not send by remote) and has it's own timeout. Appears this
is not really configurable but it's larger than 120 seconds.
So after 120 seconds minicom (or runscript) attempts to kill rz or
runscript. But rz refusese and re-tries. So we have the runscript as a
defunct process- while rz is still active. But now without a parent.
As soon as rz is done runscript ends, too. But as it is only a zombie
process it does not proceed the script any more and ends after the rz
call.
*I increased the timeout in the script now to 300 seconds and it
appears to run all fine!*
Greetings
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6oYVYACgkQ0XNIYlAXmztCJACeMpODyKPiEbvSjJa9q/Qap+kq
h64AoKLgFHyISIfg+N2Ch5XF//ufzzSN
=5Lkh
-----END PGP SIGNATURE-----
More information about the minicom-devel
mailing list