Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Configuration of nph-verify.cgi

Quote Reply
Configuration of nph-verify.cgi
Hi,

Where can I configure "Timeout" in nph-verify.cgi.

Thanks in advance,

JoseML




Quote Reply
Re: [JoseML] Configuration of nph-verify.cgi In reply to
Hi,

I'm not sure I understand what you mean?

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Configuration of nph-verify.cgi In reply to
Hi,

When I use nph-verify.cgi, I have problems because the script verifies normally about 800/1000 links and then it works but very, very, very slowly.(I have 10000 links).

I checked that the problem was due to the links with status codes:

-4 Could not connect

503 Gateway timeout

I think that if I reduce the timeout for to wait a connection, the script will verify normally.

Thanks in advance,



JoseML


Quote Reply
Re: [JoseML] Configuration of nph-verify.cgi In reply to
Hi,

You could try editing verify-child.pl and change:

$status = ($row[1] =~ m,^ftp://,) ? check_ftp_link ($row[1]) : check_link ( $row[1] );

to:

Code:
eval {
alarm(10);
$status = ($row[1] =~ m,^ftp://,) ? check_ftp_link ($row[1]) : check_link ( $row[1] );
alarm(0);
}
$@ and $status = -4;

and change the 10 to an appropriate number (this is checking in parallel, so don't set it to low).

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Configuration of nph-verify.cgi In reply to
Alex,

I'm also getting the error described on this forum
http://www.gossamer-threads.com/perl/gforum/gforum.cgi?post=135730

Also, with the code above, do you replace the code or add it after? I tried to replace it and got a error spawning child?!

JeffB

JeffB
GT customer for 6 years (and counting!)
Quote Reply
Re: [Alex] Configuration of nph-verify.cgi In reply to
I have the same problem.

I tried replacing the suggested code, but got the following error message:




Launching new child ... ok (9979)Launching new child ... ok (9985)Launching new child ... ok (9987)Launching new child ...

A fatal error has occured:
Error launching child '/usr/local/bin/perl /home/didi/mishpat-www/cgi-bin/legalseeker/admin/verify-child.pl '. Status: 65280 at /home/didi/mishpat-www/cgi-bin/legalseeker/admin/Links/Parallel.pm line 208.
Any suggestions? Thanks, Didi

Yedidya (Didi) Melchior
http://Mishpat.Net - The Online Legal Information Portal
Quote Reply
Re: [Mishpat] Configuration of nph-verify.cgi In reply to
Hi

I also have the problem with the following message

A fatal error has occured:

Error launching child '/usr/local/bin/perl /home/content/cgi-bin/links/admin/verify-child.pl '. Status: 9 at /home/content/cgi-bin/links/admin/Links/Parallel.pm line 199.

Do you have a solution? is it an import problem?

thanks



FMP
Quote Reply
Error launching child In reply to
 

maybe alex or someone from GT team have a solution...

FMP