Applicable to:
- Plesk for Linux
Symptoms
- The following error can be found in
/var/www/vhosts/example.com/logs/error_log
file:
CONFIG_TEXT: [proxy_fcgi:error] [pid 350:tid 139649016084224] (104)Connection reset by peer: [client 203.0.113.2:58642] AH01075: Error dispatching request to :, referer: http://example.com/wordpress/wp-admin/upload.php
-
`dmesg`
command output shows the following:
CONFIG_TEXT: [4289853.349670] php-cgi[49424]: segfault at 30 ip 00007fc662113088 sp 00007fc630ad3d10 error 4
[4289853.349672] in libMagickCore.so.5.0.0[7fc661f8e000+237000]
- Errors in
/var/log/audit/audit.log
:
CONFIG_TEXT: type=ANOM_ABEND msg=audit(1484625171.339:4365269): auid=4294967295 uid=10006 gid=1003 ses=4294967295 subj=system_u:system_r:unconfined_service_t:s0 pid=22074 comm="php-fpm" reason="memory violation" sig=11
- PHP FPM handler errors in
/var/log/messages
:
CONFIG_TEXT: server kernel: php-fpm[22064]: segfault at a636 ip 000000000000a636 sp 00007ffcc57f8948 error 14 in php-fpm[400000+3a8000]
Cause
ImageMagick library bug.
Resolution
As a workaround, disable imagick PHP module for PHP handler that is enabled for the website:
- Log into Plesk
- Browse to Tools & Settings > PHP Settings
- Click on the PHP handler that is set for the domain, e.g. PHP 5.6:
- Uncheck imagick checkbox to disable the extension
Make sure that no sites are using this module.
Note: These settings are common to the following PHP handlers: 5.6.36 CGI application, 5.6.36 FastCGI application. The settings apply to all websites that use these handlers.
Comments
0 comments
Please sign in to leave a comment.