Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 48624 invoked from network); 17 Apr 2008 15:26:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 15:26:03 -0000 Received: (qmail 39366 invoked by uid 500); 17 Apr 2008 15:25:53 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 39339 invoked by uid 500); 17 Apr 2008 15:25:53 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 39328 invoked by uid 99); 17 Apr 2008 15:25:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 08:25:53 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.229.52.226] (HELO grimnir.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 15:25:09 +0000 Received: from grimnir.webthing.com (localhost [127.0.0.1]) by grimnir.webthing.com (Postfix) with ESMTP id CCF692138 for ; Thu, 17 Apr 2008 16:25:21 +0100 (BST) Date: Thu, 17 Apr 2008 16:25:21 +0100 From: Nick Kew To: users@httpd.apache.org Message-ID: <20080417162521.26a9349d@grimnir> In-Reply-To: <480722B0.3000505@koeln.de> References: <480722B0.3000505@koeln.de> Organization: WebThing X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.10.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Tons of Segfaults in Apache-Prefork 2.2.4 On Thu, 17 Apr 2008 12:13:04 +0200 Markus Meyer wrote: > 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 Hmmm? Your subject line says prefork. With prefork, there are no threads. Anyway, no matter. You should get cores from a segfault. Have you enabled them? (See Coredumpdirectory, and check limitations imposed by your operating system and shell). > 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. We recently (for 2.2.9) fixed a bug that fits that description: http://issues.apache.org/bugzilla/show_bug.cgi?id=44402 But that's not relevant to prefork. > At the same time we get broken TCP packets with a wrong window size > which looks like this: Um, sounds like a problem in the network, below the level of apache. > The box is used for dynamic webpages on PHP. Below are some system > information. PHP is always a prime suspect for this kind of problem. If you're using mod_php, make sure you really are running prefork, as PHP+threads is a classic recipe for random segfaults. > Sorry, this is not very much information but I'm still at the > beginning of my Apache leraning curve. Contradictory information is more of a problem. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/ --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See 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