Gossamer Forum
Home : Products : Gossamer Links : Discussions :

nph-verify/cron and running processes

Quote Reply
nph-verify/cron and running processes
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

Last edited by:

Clint: Feb 9, 2007, 4:53 PM
Quote Reply
Re: [Clint] nph-verify/cron and running processes In reply to
Try running it manually from shell and see if it quits properly. If it doesn't, see what it's getting hung on.

Adrian
Quote Reply
Re: [brewt] nph-verify/cron and running processes In reply to
Thanks Adrian:

I did this and for some reason it was hanging on one url. The url itself looked okay - a normal http://abc.com type link - but it just hung. I couldn't connect to the problem url either with my browser.

I'll see how it runs with the CRON job tonight.

One quick question - nph-verify.cgi --fix-302

Exactly what does it fix??

Thanks for your help,


Regards,



Clint.
--------------------------
http://AffiliatesDirectory.com
The Affiliate Programs Directory
Quote Reply
Re: [Clint] nph-verify/cron and running processes In reply to
The --fix-302 option is supposed to replace any urls which have become permanent redirects (302) to new urls. However, it doesn't look like the option was implemented.

Adrian