PHP-FPM Segfaults

Linode Staff

Hi,

My server is running CentOS 7 and Nginx. All my sites are down and I'm seeing the following error in my Lish console and logs:

php-fpm[7481]: segfault at 1000721 ip 000055e06b693a27 sp 00007ffe89fa6d70 error 4 in php-fpm[55e06b41f000+3d0000]
php-fpm[18551]: segfault at 7f0000000020 ip 000055e06b693a27 sp 00007ffe89fa6d70 error 4 in php-fpm[55e06b41f000+3d0000]
php-fpm[7578]: segfault at 1000721 ip 00005646ea4f4a27 sp 00007ffff87177c0 error 4 in php-fpm[5646ea280000+3d0000]

Help!

1 Reply

Hi,

You can try restarting php-fpm and nginx to bring your sites backup, however, this may only be a temporary solution:

sudo systemctl restart php*-fpm
sudo systemctl restart nginx

You'll want to further investigate these messages to resolve the issue permanently. Your /var/log/kern.log, /var/log/nginx/error_log, and /var/log/php* logs should contain more information. There is a great walkthrough here from someone who saw similar segfaults:

https://joshtronic.com/2013/12/24/php-segmentation-faulting-from-logging-too-much/

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