You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Paul Buder <pa...@mail.powells.com> on 2009/09/28 20:29:24 UTC

[users@httpd] httpd hangs on all requests

I've installed Apache httpd on a laptop here. It hangs on all requests.
It is using the default configuration. It is clearly getting the request
because if I restart apache the request is terminated. I thought it
might be a firewall issue, however I downloaded some web server called
Abyss and it works fine. There is nothing in the access log at all and
nothing in the error log except the start up stuff. I've installed
Apache many times without problem. This is happening with 2.2.4 and with
2.2.13.  I put wireshark on the line and the only thing in the tcp
stream is the browser making the request. The same behavior happens on
localhost. Any ideas?

 


RE: [users@httpd] httpd hangs on all requests

Posted by Paul Buder <pa...@mail.powells.com>.

-----Original Message-----
From: Nick Kew [mailto:nick@webthing.com] 
Sent: Monday, September 28, 2009 11:53 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] httpd hangs on all requests

Paul Buder wrote:
> Me: > The default configuration from apache.org. 
> 
> I should have mentioned this is a windows laptop (Dell latitude d530).

The windows world is crawling with half-assed programs that
mess with your networking.  Have you tried turning off any
firewalls, antivirus, skype, etc and rebooting?

I hadn't disabled antivirus so I tried that. In the process, a windows
update was requested which I allowed. When the machine came back up, I
was surprised to see the "It worked!" page came up successfully. I
turned av back on and it still worked. But then when I tried to run a
cgi I got a ton of errors in the logfile suggesting I use the
Win32DisableAcceptEx directive. This fixed it. I also got a windows
message suggesting my paging file was too small. At any rate, everything
is working now. Thanks for the help.


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd hangs on all requests

Posted by Nick Kew <ni...@webthing.com>.
Paul Buder wrote:
> Me: > The default configuration from apache.org. 
> 
> I should have mentioned this is a windows laptop (Dell latitude d530).

The windows world is crawling with half-assed programs that
mess with your networking.  Have you tried turning off any
firewalls, antivirus, skype, etc and rebooting?

As for hostnames, there are other things that could cause
a lookup.  For example, if you match hostname with an AAA
rule or mod_rewrite, or log the remote host by name.

-- 
Nick Kew

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] httpd hangs on all requests

Posted by Paul Buder <pa...@mail.powells.com>.
Me: > The default configuration from apache.org. 

I should have mentioned this is a windows laptop (Dell latitude d530).


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] httpd hangs on all requests

Posted by Paul Buder <pa...@mail.powells.com>.
-----Original Message-----
From: Nick Kew [mailto:nick@webthing.com] 
Sent: Monday, September 28, 2009 11:35 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] httpd hangs on all requests

Paul Buder wrote:
> I've installed Apache httpd on a laptop here. It hangs on all
requests. 
> It is using the default configuration.

  What default?  There are lots of packagers shipping a range of
defaults.
  You're not meant to run without doing your own configuration.

The default configuration from apache.org. I have read through all of it
and 
It all seems fine. I know long ago httpd used to ship with the default
port 
being 8080 to force you to read the file but that isn't the case
anymore.

  My guess would be it's your networking.  Could it be, for example,
  that you're forcing HostnameLookups, but have DNS timing out?

It would seem not. There is no reference to HostnameLookups in my config
and the docs say the default is off. I don't see how it can be
networking when another web server works on the same port (obviously not
at the same time).


-- 
Nick Kew

---------------------------------------------------------------------
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
   "   from the digest: users-digest-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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] httpd hangs on all requests

Posted by Nick Kew <ni...@webthing.com>.
Paul Buder wrote:
> I’ve installed Apache httpd on a laptop here. It hangs on all requests. 
> It is using the default configuration.

What default?  There are lots of packagers shipping a range of defaults.
You're not meant to run without doing your own configuration.

My guess would be it's your networking.  Could it be, for example,
that you're forcing HostnameLookups, but have DNS timing out?

-- 
Nick Kew

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org