(notice) child pid XXXX exit signal Segmentation fault (11), possible coredump in /etc/apache2

后端 未结 11 2693
情歌与酒
情歌与酒 2021-02-13 22:23

I keep getting the follow error in my Apache log:

[Wed Sep 18 17:59:20 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.8 with Suhosin-Patch configured          


        
相关标签:
11条回答
  • 2021-02-13 22:51

    I tried to upgrade my system from ubuntu 14.04 to 18.04, and got this issue, I downgrade to 16.04 to solve it.

    I also upgrade my php to 7.0

    0 讨论(0)
  • 2021-02-13 22:51

    I got this error when there was an infinite loop in my PHP (specifically a function recursively calling itself)

    0 讨论(0)
  • 2021-02-13 22:53

    Try to set

    max_input_time = -1

    in your php.ini file.

    from php.ini...

    ; Maximum amount of time each script may spend parsing request data. It's a good; idea to limit this time on productions servers in order to eliminate unexpectedly ; long running scripts. ; Note: This directive is hardcoded to -1 for the CLI SAPI ; Default Value: -1 (Unlimited) ; Development Value: 60 (60 seconds) ; Production Value: 60 (60 seconds) ; http://php.net/max-input-time;

    0 讨论(0)
  • 2021-02-13 22:54

    I had this issue and changed LogLevel warn to LogLevel debug in the apache config. On restart it seemed to be segfaulting just after mod_deflate.

    Turning off mod_deflate in debian/ubuntu should just be sudo a2dismod deflate

    0 讨论(0)
  • 2021-02-13 22:59

    In my case the error appeared, whenever I accessed my site from iOS / MacOS Safari. After the first access from one of those devices, apache kept craching with segmentation faults on any request from any device, until the next restart.

    The problem disappeared after disabling Google`s mod_spdy module.

    0 讨论(0)
  • 2021-02-13 23:03

    I was having the same issue with Varnish>Apache>PHP-FPM on Centos 6.

    I solved it by disabling KeepAlive in Apache.

    0 讨论(0)
提交回复
热议问题