[users@httpd] runaway apache 1.3.26-0 processes, please help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



os: Debian (woody)
apache: 1.3.26-0
zope: 2.6

We keep seeing apache processes runaway on some of our servers. The last errors I see in the log say 'proxy send body timed out.' We have tried adjusting the normal timeouts, keepalives and such. Nothing seems to cure the runaway processes. It happens about once a day. Is there anything else I should be looking at that could be causing this issue? Below is the global config file we use for all our servers. Also note we use zope to serve most of our content to apache via proxy pass.

=======================================================
## The One True Config File, http://www.apache.org/
## $Id: httpd.conf,v 1.8 2005/03/04 21:56:04 accounts Exp $

## runtime core, http://httpd.apache.org/docs/mod/core.html
ServerRoot /etc/apache
AccessConfig /dev/null
ResourceConfig /dev/null
User www-data
Group www-data
ServerTokens Prod
HostnameLookups off
UseCanonicalName on
Timeout 300
MinSpareServers 5
MaxSpareServers 30
StartServers 10
MaxClients 300
# On dedicated sites MaxRequestPerChild should be higher, try 100
MaxRequestsPerChild 10
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 10


# The Debian package of Apache loads every feature as shared modules.
# FreeBSD uses /usr/local/libexec/ rather than /usr/lib/ adjust accordingly.
LoadModule env_module /usr/lib/apache/1.3/mod_env.so
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule proxy_module /usr/lib/apache/1.3/libproxy.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
LoadModule ssl_module /usr/lib/apache/1.3/mod_ssl.so
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
LoadModule pcgi2_module /usr/local/lib/apache/1.3/mod_pcgi2.so
LoadModule auth_mysql_module /usr/local/lib/apache/1.3/mod_auth_mysql.so
LoadModule throttle_module /usr/lib/apache/1.3/mod_throttle.so

## logging, core, http://httpd.apache.org/docs/mod/mod_log_config.html
##
LogLevel notice
ErrorLog /var/log/apache/errors/logpipe
LogFormat "%V %a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" kavi CustomLog "|/command/setuidgid weblog cronolog /var/log/apache/access.%Y%m%d" kavi

## mod_status, http://httpd.apache.org/docs/mod/mod_status.html
ExtendedStatus on

## mod_ssl, http://www.modssl.org/docs/
SSLMutex sem
SSLRandomSeed startup builtin
SSLRandomSeed startup file:/dev/urandom 1024
SSLRandomSeed connect builtin
SSLRandomSeed connect file:/dev/urandom 1024
SSLSessionCache dbm:/var/run/ssl_scache
SSLSessionCacheTimeout 300

## mod_mime, http://httpd.apache.org/docs/mod/mod_mime.html
TypesConfig mime.types
AddType application/x-httpd-php .phtml .php
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi .pl
DefaultType text/plain
AddEncoding x-compress Z
AddEncoding x-gzip gz

## mod_dir, http://httpd.apache.org/docs/mod/mod_dir.html
DirectoryIndex index.cgi index.php index.html index.shtml

## mod_setenvif, http://httpd.apache.org/docs/mod/mod_setenvif.html
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
BrowserMatch "MSIE 4\.0" nokeepalive downgrade-1.0 force-no-vary ssl-unclean-shutdown force-response-1.0
BrowserMatch "MSIE [5-6]" ssl-unclean-shutdown
BrowserMatch "chunky cURL" force-response-1.0 downgrade-1.0

## mod_auth_mysql configuration
## contains username and password to bind with which has been
## granted global select privs, this is stupid and dangerous,
## but mod_auth_mysql's poor design leaves us no choice for the
## time being
Include auth_mysql.conf

## global permissions
<Directory />
 Options FollowSymLinks
 AllowOverride None
 Order allow,deny
</Directory>
<Files ".htaccess">
 Order allow,deny
</Files>

## use an external interface for monitoring
Listen 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
 <Location "/">
  SetHandler server-status
  Order deny,allow
 </Location>
</VirtualHost>

## Define a virtual names host, and redirect everything but the
## server status to www.kavi.com
Listen xxx.xxx.xxx.xxx:80
NameVirtualHost xxx.xxx.xxx.xxx:80
<VirtualHost xxx.xxx.xxx.xxx:80>
 ServerName xxx.kavi.com
 LogLevel warn
 RewriteEngine On
 RewriteRule /server-status - [L]
 RewriteRule /.* http://www.kavi.com/ [R]
 <Location "/server-status">
  SetHandler server-status
  Order allow,deny
  Allow from xxx.xxx.xxx.xxx/25
 </Location>
</VirtualHost>

# Throttle Policy
ThrottleClientIP 100 request 400 30
<Location /throttle-status>
        SetHandler throttle-status
        Order allow,deny
        Allow from xxx.xxx.xxx.xxx/25
</Location>
=======================================================


--
-Farr

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux