cpanel php error child x exited on signal 11 (SIGSEGV) after x seconds

Long time since i last wrote here, anyway

Users on a shared cPanel server reported today series of  problems with roundcube and phpmyadmin. The error messages showed connection timeout and internal error 500. Upon investigation of /usr/local/cpanel/logs/php-fpm/error.log the following segmentation fault errors appeared:

[22-Nov-2016 13:46:27] NOTICE: [pool user_xxx] child 16234 started
[22-Nov-2016 13:46:28] WARNING: [pool user_xxx] child 16098 exited on signal 11 (SIGSEGV) after 16.017062 seconds from start
[22-Nov-2016 13:46:28] NOTICE: [pool user_xxx] child 16243 started
[22-Nov-2016 13:46:30] WARNING: [pool cpanelroundcube] child 16118 exited on si

It seems that this is related with the /tmp directory which cPanel uses to store php sessions for its services.

Cleaning the /tmp directory solved the problem. What i did was find ./ -not -name “mysql.sock” -not -name “*.lock” -exec rm -f {} \; as i didnt want to touch any lock files or the mysql socket.

You may need to adjust this to preserve any files that are important to you.

Perhaps this is a due a quota problem in the openvz container but auglimit and other parameters appear to be in order. Let me know if you know better.

 

 

Print Friendly, PDF & Email

You may also like...