httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Nelson" <pete.nel...@ci.stpaul.mn.us>
Subject Re: Apache on Win32 intermittently failing to respond?
Date Tue, 05 Mar 2002 14:26:18 GMT
Do you have a Windows Server license, or just a Workstation license? 
Workstations are limited to 10 socket connections - is it possible that
between Apache and MySQL you've used them all up?

--
Pete Nelson, Web Developer
<pete.nelson@ci.stpaul.mn.us>
http://www.ci.stpaul.mn.us/

>>> jason.mclean@shaw.ca 03/05/02 12:55AM >>>
Hi, I'm running Apache 1.3.23 on WinNT 4.0 SP6.  I'm also using PHP
4.1.1
(as a .dll and not as an .exe) and mySQL 3.23.47.  My index page
(/index.shtml) is simple SHTML, using server-side includes of HTML
files and
nothing more.  This problem seems to span any file on the site - it is
NOT a
PHP or mySQL problem.

Here is my problem: Apache seems to occasionally refuse to respond, if
for
only a minute at a time.  This happens when tested with a client on
the
server itself, from my work machine, and from many others.  I've
noticed
this happening on and off for the last month. (I upgraded to 1.3.23,
and got
the latest version of PHP, and this seemed to fix it for a while, but I
was
fooled by the intermittency of the problem - it didn't.)

I've looked through all the known bugs and postings, and I can't find
a
similar problem anywhere.

As near as I can tell, Apache is just going south for a minute.  Trying
to
open the page DOES NOT time out; I immediately get a 'cannot find
server or
DNS error'.  If I hit refresh, sometimes it comes back immediately;
sometimes it takes up to 30 seconds.  Interestingly enough, I've seen
the
following behaviour a few times:

1.  Apache refuses to respond.
2.  Then, Apache will respond, but some files aren't served; say, an
image
on the index page, or, most frequently, the style sheet, but the page
will
load.
3. After a few refreshes, the page will load normally.

This behaviour is consistent across multiple machines, but it's
intermittent
in its frequency and duration.  The problem can't always even be
immediately
be resolved by restarting the Apache service.

Fixes I have already tried:
1. Turning off DNS lookups in the log.  This has not helped one bit. 
I
thought maybe my DNS requests to my ISP were lagging and forcing Apache
to
give up on re-sending, but this has had no effect.
2. Setting the MaxRequestsPerChild to a number besides 0, like, say,
30.  I
had supposed that the child process was getting hooped up and maybe
needed
to be pre-emptively terminated.  Likewise, this has had no effect.

I am at my wit's end.  I have actually begun scrounging parts together
to
build a FreeBSD box to run this on for production, as having my web
site
intermittently inaccessible isn't very desireable.

If anyone wants to know, the website is
http://www.severetiredamage.net.  If
you can produce this behaviour consistently, please let me know how. 
Or, if
this is some known configuration bug, also please let me know.

Thanks very much,
Jason


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org 
For additional commands, e-mail: users-help@httpd.apache.org 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message