cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp testserver hung

From: Guenter Knauf <eflash_at_gmx.net>
Date: Fri, 22 Jun 2007 22:56:10 +0200

Hi,
> this is my idea - not sure if it really works because I would have to wait
> for another hung (which happened today again, argh!):

> --- testcurl.pl.orig Sun Apr 01 15:59:50 2007
> +++ testcurl.pl Fri Jun 22 17:26:26 2007
> @@ -200,6 +200,11 @@
> sub mydie($){
> my $text=$_[0];
> logit "$text";
> + # check if we have test servers hanging around...
> + while (<tests/.*.pid>) {
> + logit "trying to kill $_ process";
> + system("kill -kill < $_");
> + }
> chdir $pwd; # cd back to the original root dir

> if ($pwd && $build) {

seems that such would only partly solve the issue; if you look at today's autobuilds then you can see that even after I killed manually the hung processes the ports still remain unusable....
so unless someone has a good idea how to re-activate these ports it wouldnt help much, only for the non-SSL ports probably....
it seems that only a reboot can really cure this issue -- which is totally bad....
so we really need to find out what makes the ftp test server hanging around...

another idea would be to make the test servers self-terminating after a timeout of 5 or 10 minutes if that's possible...

Guen.
Received on 2007-06-22