You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Michael Smith <mj...@iii.co.uk> on 1998/12/18 16:28:51 UTC

requests not getting through ...

Dear All,

Here's a problem I've been trying to work my way through for the last
few weeks, but without success - hence my last hope email to this list!

Occasionally when I make a request to a web server on a particular
machine, I get no respose without restarting the server.  I've only ever
noticed this with HTML::Embperl pages running under mod_perl.  However I
can't work out if this is related.

In more detail, here's what happens

I request a page off the web server (this is of course apache 1.3.3 with
mod_perl 1.16).  Netscape shows me Connected to host, waiting for
reply.  I get no reply.  Looking at server-status on the server (solaris
2.5.1) shows no record of the connection, and there's no record of it
being completed in the logs

Netstat -an (the client in this case is linux) shows

tcp        0      0 192.168.7.22:29250      195.89.149.233:2001
ESTABLISHED

The server shows

195.89.149.233.2001        *.*                0      0     0      0
LISTEN
195.89.149.233.2001  192.168.7.22.29248   32120      0  8760      0
CLOSE_WAIT
195.89.149.233.2001  192.168.7.22.29250   32120      0  8760      0
ESTABLISHED

If I send the server a kill -HUP signal, the request is completed
successfully.  I've put some prints to STDERR at the beginning and end
of the Embperl handler routine, and it doesn't start under the
conditions above.  Also the handler appears to exit successfully every
time it starts, which suggests the probelm nothing to do with Embperl.
However I don't see this particular problem when I request any other
sort of page - and we run all sorts of perl scripts under mod_perl
elsewhere on the server.

Any input on what might be going on much appreciated - I'm flummoxed by
the whole thing!

Mike