PHP Segmentation fault when started from crond
Posted
by Jeroen Moors
on Stack Overflow
See other posts from Stack Overflow
or by Jeroen Moors
Published on 2010-05-14T17:05:33Z
Indexed on
2010/05/14
21:14 UTC
Read the original article
Hit count: 324
Hello,
I've a php script that's started each minute from cron.
It almost always runs without any problem, except for about 10 times within 24h.
The times it fails I get a segmentation fault like: bin/sh: line 1: 21815 Segmentation fault /usr/bin/myscript
The number after "line 1:" is always different.
I'm running: PHP 5.2.6-1+lenny8 with Suhosin-Patch 0.9.6.2 (cli) (built: Mar 14 2010 08:14:04)
Is this a problem with my version of PHP? Is there a way to debug this?
I have the feeling it crashes when the server load is high, but there's absolutely no prove for this.
Any feedback is welcome!
© Stack Overflow or respective owner