httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Wills <>
Subject [users@httpd] Really annoying problem either with Apache2 or PHP or both
Date Sat, 10 Sep 2005 12:59:08 GMT

I am having a really bad time with apache 2 and have been for months now. I 
have tried everything I can think of to 

rectify this and its just not working.

I am having gigantic 30second page load pauses with Apache2. These appear to 
be random but its hard to tell if 

there is a specific cause as my server is quite busy. Users complain, and it 
drives me absolutely crazy.

The only thing I can see in my error_log that coincides with these incidents 
is this:

[Sat Sep 10 04:39:00 2005] [info] (104)Connection reset by peer: 
core_output_filter: writing data to the network
[Sat Sep 10 04:39:00 2005] [info] (32)Broken pipe: core_output_filter: 
writing data to the network

I don't know if this is a clue or not but there also seems to be 404s around 
the same time as those errors pop up 


I get hundreds if not thousands of those per day. This is not someone just 
hitting stop of their browser. That 

explanation does not fit the sheer number of occurances at all. Again, I 
would like to reiterate that this has been 

going on for months.

Can anyone help me please - its getting to the stage where I am just going 
to switch from apache to another 

webserver or downgrade to 1.3.

Thanks for any offers of help - I really am getting so frustrated.

What I have tried:

i) Removing completely unnecessary modules
ii) Tried removing necessary modules one by one to see if that improved the 
iii) Upgraded from PHP 4.4.0 to PHP5.0.5
iv) Disabled my firewall
v) Disabled mod_security
vi) Asked at my data centre to see if they had a problem on their end with 
either my server or its connection to 

their backbones
vii) Removed eaccelerator
viii) Removed Zend Optimizer

This is my module section of httpd.conf

LoadModule access_module modules/
LoadModule auth_module modules/
#LoadModule auth_dbm_module modules/
#LoadModule auth_digest_module modules/
#LoadModule file_cache_module modules/
LoadModule include_module modules/
LoadModule log_config_module modules/
LoadModule env_module modules/
#LoadModule mime_magic_module modules/
#LoadModule cern_meta_module modules/
#LoadModule expires_module modules/
#LoadModule headers_module modules/
#LoadModule usertrack_module modules/
#LoadModule unique_id_module modules/
LoadModule setenvif_module modules/
LoadModule ssl_module modules/
LoadModule mime_module modules/
#LoadModule dav_module modules/
LoadModule autoindex_module modules/
#LoadModule cgi_module modules/
#LoadModule dav_fs_module modules/
#LoadModule vhost_alias_module modules/
LoadModule negotiation_module modules/
LoadModule dir_module modules/
#LoadModule actions_module modules/
#LoadModule speling_module modules/
LoadModule alias_module modules/
LoadModule rewrite_module modules/
#LoadModule perl_module modules/
LoadModule security_module /usr/lib/httpd/modules/
#LoadModule php4_module /usr/lib/httpd/modules/
LoadModule php5_module /usr/lib/httpd/modules/

My configure line:

export CFLAGS="-O2 -march=i686 -funroll-loops -D_REENTRANT 
./configure --prefix=/etc/httpd \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--mandir=/usr/share/man \
--sysconfdir=/etc/httpd/conf \
--includedir=/usr/include/httpd \
--libexecdir=/usr/lib/httpd/modules \
--datadir=/home/httpd \
--localstatedir=/var \
--with-mpm=prefork \
--enable-access=shared \
--enable-actions=shared \
--enable-alias=shared \
--enable-auth=shared \
--enable-auth-dbm=shared \
--enable-auth-digest=shared \
--enable-autoindex=shared \
--enable-cern-meta=shared \
--enable-cgi=shared \
--enable-cgid=shared \
--enable-dav=shared \
--enable-dav-fs=shared \
--enable-dir=shared \
--enable-env=shared \
--enable-expires=shared \
--enable-file-cache=shared \
--enable-headers=shared \
--enable-include=shared \
--enable-log-config=shared \
--enable-deflate \
--enable-mime=shared \
--enable-mime-magic=shared \
--enable-negotiation=shared \
--enable-rewrite=shared \
--enable-setenvif=shared \
--enable-speling=shared \
--enable-ssl=shared \
--enable-unique-id=shared \
--enable-usertrack=shared \
--enable-vhost-alias=shared \
--enable-suexec=shared \
--with-suexec-caller=www \
--with-suexec-docroot=/home/httpd \
--with-suexec-logfile=/var/log/httpd/suexec.log \
--with-suexec-bin=/usr/sbin/suexec \
--with-suexec-uidmin=500 --with-suexec-gidmin=500 \
--disable-auth-anon \
--disable-charset-lite \
--disable-disk-cache \
--disable-mem-cache \
--disable-cache \
--disable-ext-filter \
--disable-case-filter \
--disable-case-filter-in \
--disable-example \
--disable-proxy \
--disable-proxy-connect \
--disable-proxy-ftp \
--disable-proxy-http \
--disable-status \
--disable-asis \
--disable-info \
--disable-imap \
--disable-userdir \
--with-z \
--with-ssl \

View raw message