• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue PHP-FPM segfaults

Franco

Regular Pleskian
Hello,
after upgrading to the latest Centos 7 release I am seeing a few segfaults of the kind:

Dec 14 17:01:22 vps kernel: php-fpm[57843]: segfault at a636 ip 000000000000a636 sp 00007ffe97962208 error 14 in php-fpm[400000+385000]
Dec 14 17:02:02 vps kernel: php-fpm[57853]: segfault at a636 ip 000000000000a636 sp 00007ffe97962208 error 14 in php-fpm[400000+385000]
Dec 14 17:02:11 vps kernel: php-fpm[57855]: segfault at a636 ip 000000000000a636 sp 00007ffe97962208 error 14 in php-fpm[400000+385000]
Dec 14 17:04:21 vps kernel: php-fpm[57877]: segfault at a636 ip 000000000000a636 sp 00007ffe97962208 error 14 in php-fpm[400000+385000]

and they are in conjunction with a the following error in a wordpress website:
2016/12/14 17:04:21 [error] 45740#0: *136609 readv() failed (104: Connection reset by peer) while reading upstream, client: 83.240.179.102, server: vinoptimo.com, request: "GET /grands-crus/vous-etes-chef/ HTTP/1.1", upstream: "fastcgi://unix:///var/www/vhosts/system/vinoptimo.com/php-fpm.sock:"

I am running the latest CentOs7, Plesk 17 update 11, nginx + php-fpm with php 7.0.14. In a nutshell, all is at the latest release. Also the wordpress theme and plugins are at their latest release. Going to php7.1 is not helpful as some plugins are not compatible with (yet).

A few days ago, before the centos upgrade, I had to remove the curl timeout in the subscrption php settings otherwise most wp updates would timeout after 10s:

curl_setopt($ch, CURLOPT_TIMEOUT, 0);

It almost certainly isn't plesk related, but in case you have a suggestion I'd like to hear, please.

Regards
Franco
 
I see that it is Plesk installed on VPS. Most probably that these segfaults may be caused by lack of VPS resources. Have you checked this?
 
Hi Igor,
thanks, I think I have enough RAM and processing power, but maybe you mean file handlers and similar stuff. Is there a document which lists that kind of resources and how can I check if they are adequately sized, please?
Regards
 
I think it should be documentation about resources allocation for VPS of your virtualization solution. Do you have Virtuozzo VPS or something else?
 
Back
Top