How to fix Apache Server child pid 637 exit signal Segmentation fault (11), possible coredump in /etc/apache2 Issue

I am facing apache server issue. I have check apache server logs and seems likes its go in infinate loop. error log continuously display below errors.

Environement
Ubantu : 18.10
Apache:Apache/2.4.34
PHP 7.2.1

[Fri Mar 15 04:39:52.384115 2019] [core:notice] [pid 30896] AH00051: child pid 1413 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Mar 15 04:39:52.384174 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1413
[Fri Mar 15 04:39:53.385026 2019] [core:notice] [pid 30896] AH00051: child pid 1416 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Mar 15 04:39:53.385106 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1416
[Fri Mar 15 04:39:53.385122 2019] [core:notice] [pid 30896] AH00051: child pid 1417 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Mar 15 04:39:53.385126 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1417
[Fri Mar 15 04:39:53.385137 2019] [core:notice] [pid 30896] AH00051: child pid 1418 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Mar 15 04:39:53.385141 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1418
[Fri Mar 15 04:39:53.385152 2019] [core:notice] [pid 30896] AH00051: child pid 1419 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Mar 15 04:39:53.385156 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1419
[Fri Mar 15 04:39:55.390520 2019] [core:notice] [pid 30896] AH00051: child pid 1426 exit signal Segmentation fault (11), possible coredump in /etc/apache2
[Fri Mar 15 04:39:55.390821 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1426

When I restart apache server Site is working.

Anyone please suggest solution to fix this issue?

Thanks

2 Replies

Hey there,

From looking at the data you provided, it appears that you are seeing Segmentation Fault errors. Since this is related to Apache, it could indicate a possible memory issue with your web server.

To tune your Apache's configuration settings, you can use a tool called Apachebuddy - I have a link to it for you here:

Apachebuddy

Also, I found a Stack Overflow article that addresses directly the errors that you're seeing, which might be able to help you out:

child pid XXXX exit signal Segmentation fault (11)” in apache error.log

I also want to include one of our own docs that may be useful in this situation when it comes to tuning Apache:

Tuning Your Apache Server

Did you look at the core dump and find out what caused it? See:

https://stackoverflow.com/questions/8305866/how-do-i-analyze-a-programs-core-dump-file-with-gdb-when-it-has-command-line-pa

Intuition tells me that PHP is at fault but that's just a guess on my part. The latest version of PHP 7.2 is 7.2.9? You might try upgrading to that.

FWIW, these errors

[Fri Mar 15 04:39:53.385141 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1418
[Fri Mar 15 04:39:53.385156 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1419
[Fri Mar 15 04:39:55.390821 2019] [core:error] [pid 30896] AH00546: no record of generation 0 of exiting child 1426

are generated because child processes 1418, 1419 and 1426 are now missing and no one told the process that keeps track of children about it.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct