Howdy all,

This one if for you dedicated bash scripters.

I have a script, which I am happy to send to you
off-list, which basically waits for flag-files (using
touch) and do actions and exec programs.

Anyway, this all works perfectly for up to 7 days,
when eventually it just stops.

I run the script on two different PCs, and both suffer
the same problem.

I find, that I can't CTRL-C the script in this stopped
state, but I can CTRL-Z it and then 'kill %1'.

This is a 'ps aux' output of the process:
USER      PID %CPU %MEM   VSZ  RSS TTY      STAT START
   TIME COMMAND
root    18605 62.0  1.2  2240 1272 pts/0    R     2001
Jan07 7051:44 sh ./slave.sh

You'll notice, its not a zombie, its still using CPU
and its not a memory leak.

I've run out of ideas, so it over to you guys!

TIA,

Stephan

http://my.yahoo.com.au - My Yahoo!
- It's My Yahoo! Get your own!
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to