httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Meyer <markus.me...@koeln.de>
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 
84.175.98.78:2637/80 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 
information.
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 
GNU/Linux

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/mod_authz_owner.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule actions_module modules/mod_actions.so
LoadModule php5_module        modules/libphp5.so

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: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


Mime
View raw message