Problem with Apache22

Ivan Voras ivoras at freebsd.org
Thu Nov 1 18:58:14 PDT 2007


Peter Uthoff wrote:
> Hello,
> 
> I have a problem where my Apache procs are dying almost exactly every
> ten
> minutes as you can from the messages and web logs below:
> 
> Oct 25 10:34:44  kernel: pid 66337 (httpd), uid 80: exited on signal 4

Signal 4 is "illegal instruction", it might be caused by:

- corrupted executables
- executables built for processor architectures different than the one
used in the machine (e.g. built on one machine with CPU optimizations
turned on, then run on another)

> The
> sad part is that these all show no errors in their logs even with them
> turned up to debug level. I've been looking at this off and on trying to
> solve it as time allowed since mid-September. I'm completely stumped and
> would appreciate any helpful suggestions where else I can look.

Do you have any processor-specific instructions in your make.conf? How
did you install apache and other applications? Have you tried
recompiling apache and php without any optimizations?

Are you using PHP as mod_php? If so, you might want to try to switch to
fastcgi to isolate if the problem is in apache or php.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071102/154bddd9/signature.pgp


More information about the freebsd-questions mailing list