Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 12:32:09 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        Matt King <matt.king@magnetinternet.com>, freebsd-stable@freebsd.org
Subject:   Re: httpd exiting on signal 11
Message-ID:  <6.0.1.1.0.20040129115657.05aa05c0@209.112.4.2>
In-Reply-To: <40193A92.8030301@magnetinternet.com>
References:  <40193A92.8030301@magnetinternet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 11:53 AM 29/01/2004, Matt King wrote:
>I built Apache from source (not from ports) and it runs great, except 
>every once in a while in the dmesg output I get:
>
>pid 98142 (httpd), uid 65534: exited on signal 11
>
>I don't know if it affects performance at all, and I haven't heard anyone 
>complain, so I've just ignored it.  I'm wondering if anyone else has had 
>this quirk and if they know why it's causing it.
>
>I know signal 11 is usually a sign of bad memory or buggy hardware,

Or buggy software.  eg. a cgi script like

#include <stdio.h>

int main(void) {

         char *t2;
         char t;
         t2=  (char *) malloc(10);

         t = t2[40000];



         return 0;
}

will cause the apache process running the script to die with a sig 11.

Where you need to be careful of about hardware is in situations where known 
good programs are aborting randomly with sig 11s.  eg. if you are getting 
random sig 11s when doing a buildworld.  That is usually indicative of bad 
hardware.

Take a look through your apache logs to see what is causing the sig 11.  It 
might just be some buggy cgi script.


         ---Mike 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.1.1.0.20040129115657.05aa05c0>