Greetings:
I am running nph-verify as a scheduled cron job. It runs okay, but the issue is that the processes do not die after they are run (I believe they call them Zombies).
CPU usage with the processes that have previously been run are 0% but the memory use is what is concerning me as it continually builds up.
I believe there is a way, via a script, to 'kill' the process (if that is the term) after the process has actually run. Is anyone aware of this?
Would this work - if I called nph-verify.cgi via a shell script?
#!/bin/sh
/path/to/nph-verify.cgi --check-from 7
kill -0 $! && kill $!
I've also tried using speedy-cgi with the timeout parameter, but that doesn't seem to work either. This is the only script I am having this difficulty with.
Thanks in Advance,
Regards,
Clint
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
I am running nph-verify as a scheduled cron job. It runs okay, but the issue is that the processes do not die after they are run (I believe they call them Zombies).
CPU usage with the processes that have previously been run are 0% but the memory use is what is concerning me as it continually builds up.
I believe there is a way, via a script, to 'kill' the process (if that is the term) after the process has actually run. Is anyone aware of this?
Would this work - if I called nph-verify.cgi via a shell script?
#!/bin/sh
/path/to/nph-verify.cgi --check-from 7
kill -0 $! && kill $!
I've also tried using speedy-cgi with the timeout parameter, but that doesn't seem to work either. This is the only script I am having this difficulty with.
Thanks in Advance,
Regards,
Clint
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory