httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Meyer <>
Subject [users@httpd] Tons of Segfaults in Apache-Prefork 2.2.4
Date Thu, 17 Apr 2008 10:13:04 GMT
Hi all,

we experience a lot of threads segfaulting with our Apaches. There are 
about 300 dying threads per day. The error in syslog is the following:

Apr 16 23:51:41 foo-bar kernel: httpd[24629]: segfault at 
00007fffae529f98 rip 00002b2ffd6408b7 rsp 00007fffae529ea0 error 6

I wish I could give you some kind of trace or core file. But we don't 
get a core file since only threads die and not the root-process. I also 
tried to strace the Apache but this slowed the server down too much. And 
the error appears only on the live system with a very high load. Any 
ideas welcome here.

At the same time we get broken TCP packets with a wrong window size 
which looks like this:

Apr 17 00:14:17 foo-bar kernel: TCP: Treason uncloaked! Peer shrinks window 1785243455:1785255071. Repaired.

The information I found on the net are very contradictory, so I can't 
estimate the impact on the system.

The box is used for dynamic webpages on PHP. Below are some system 
Sorry, this is not very much information but I'm still at the beginning 
of my Apache leraning curve.

Thx and cheers,

	Markus Meyer

Some system info:
# uname -a
Linux wkw-fra2 2.6.18-4-amd64 #1 SMP Fri May 4 00:37:33 UTC 2007 x86_64 

from httpd.conf
ServerLimit             1800
StartServers            250
MinSpareServers         64
MaxSpareServers         128
MaxClients              1200

Timeout 60

KeepAlive On
KeepAliveTimeout 2
MaxKeepAliveRequests 128
MaxRequestsPerChild 10000

LoadModule authz_owner_module modules/
LoadModule ext_filter_module modules/
LoadModule env_module modules/
LoadModule mime_magic_module modules/
LoadModule expires_module modules/
LoadModule autoindex_module modules/
LoadModule asis_module modules/
LoadModule info_module modules/
LoadModule cgi_module modules/
LoadModule negotiation_module modules/
LoadModule actions_module modules/
LoadModule php5_module        modules/

CoreDumpDirectory /var/log/apache/core
UseCanonicalName On
TypesConfig /etc/apache2/conf-prefork/mime.types
DefaultType text/plain
MIMEMagicFile /etc/apache2/conf-prefork/magic
HostnameLookups Off

PHP version
# ./php --version
PHP 5.2.3 (cli) (built: Jun 17 2007 21:46:02)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
     with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, 
by eAccelerator

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

View raw message