httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pete Nelson" <>
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

>>> 03/05/02 12:55AM >>>
Hi, I'm running Apache 1.3.23 on WinNT 4.0 SP6.  I'm also using PHP
(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
PHP or mySQL problem.

Here is my problem: Apache seems to occasionally refuse to respond, if
only a minute at a time.  This happens when tested with a client on
server itself, from my work machine, and from many others.  I've
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
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
similar problem anywhere.

As near as I can tell, Apache is just going south for a minute.  Trying
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
following behaviour a few times:

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

This behaviour is consistent across multiple machines, but it's
in its frequency and duration.  The problem can't always even be
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. 
thought maybe my DNS requests to my ISP were lagging and forcing Apache
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
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
build a FreeBSD box to run this on for production, as having my web
intermittently inaccessible isn't very desireable.

If anyone wants to know, the website is  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,

The official User-To-User support forum of the Apache HTTP Server
See <URL:> for more info.
To unsubscribe, e-mail: 
For additional commands, e-mail: 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message