On Fri, 2005-08-12 at 11:37 +0300, David Baron wrote: > Very occasionally but often enough to be a pain, when there is an initial > problem connecting to the internet, certain scripts hang up. Repeated > attempts fail for whatever reason and "top" shows a long list of "sh" > processes stuck around. > > While I do not know what script is responsible, my stuff, I can at least have > some control over--how does one put a time-out limit on a bash script? >
I'd look into setrlimit and bash's builtin ulimit -- Michael Bane Atmospheric Physics Group University of Manchester -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]