Up until recently, I have been seeing on chrome err_empty_response when going to my website homepage. It rarely happens, but lately it has been noticeably happening more frequently.
After refreshing a few times it comes back.
In the error logs I can see a few of the following lines:
child pid 23559 exit signal Segmentation fault (11), possible coredump in /etc/apache2
Using wordpress on apache and ubuntu, with W3 total cache and Autoptimize.
Can anyone recommend any action that might help with this? Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
I could suggest a few things:
If you do not want to spend time investigating this straight away, try to upgrade your Apache, PHP, Wordpress version along with all plugins and see if the problem persists.
If this does not help, then you would need to enable core dumps for your Apache instance and then analyze the core dumps
If you need to do that, here’s what you would have to do:
Edit the following file
/etc/default/apport
And change enabled from “0” to a “1” so it looks like this.
Note, for more information about Apport check out the official documentation here.
apache2.conf and add the following:CoreDumpDirectory /tmp/apache2-core-dump
sudo mkdir /tmp/apache2-core-dump
sudo chmod 777 /tmp/apache2-core-dump
ulimit -c unlimited
Than try to cause the segmentation fault again and you should see a core dump popup in the /tmp/apache2-core-dump directory.
After that to analyze the core dump use the gdb command:
gdb apache2 /tmp/apache2-core-dump/coredump-TIMESTAMP
Right after this, to see stack trace details, in gdb run:
- where
This would give you more information on what’s causing the segmentation fault.
Hope that this helps! Regards, Bobby
This comment has been deleted
Hi Bobby The result of your answer gives the following output
[Thread debugging using libthread_db enabled] Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”. Core was generated by `/usr/sbin/apache2 -k start’. Program terminated with signal SIGILL, Illegal instruction.
38 pthread_rwlock_unlock.c: No such file or directory.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.