• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Error 502/503 php 7.4

Nicola

Basic Pleskian
Hello,
with php 7.3 I do not have any problem, when I upgraded to php 7.4 I get random errors like these:
Code:
php74-error.log
[10-Jan-2020 08:24:38] WARNING: [pool example.com] child 11839 exited on signal 11 (SIGSEGV) after 2.798999 seconds from start
[10-Jan-2020 08:24:38] NOTICE: [pool example.com] child 11860 started

proxy error log
[error] 14182#0: *141670 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xx.xx.xx.xx, server: example.com, request: "GET /index.php?idpag=1719 HTTP/2.0", upstream: "fastcgi://unix:///var/www/vhosts/system/example.com/php-fpm.sock:", host: "example.com", referrer: "https://example.com/index.php?idpag=1"

audit log
type=ANOM_ABEND msg=audit(1578641078.835:1427547): auid=4294967295 uid=10038 gid=1003 ses=4294967295 pid=11839 comm="php-fpm" reason="memory violation" sig=11

messages log
Jan 10 08:24:38 ru000815 kernel: traps: php-fpm[11839] general protection ip:6f5fda sp:7ffd80b0b530 error:0 in php-fpm[400000+3fc000]

php is executed in "Application FPM served by nginx". Someone can tell me if there is a way to investigate further?

Thanks in advance
 
Me too. Same issue.
Nginx returns a 502 (or 503 if using apache also).
I am trying to get a core dump so that I can use gdb to backtrace, but I think the plesk php-fpm is not compiled with --enable-debug.

Next things I am going to try is manually add script logging to that FPM pool to try and see what calls cause it.
Also I will try to exclude imagemagick module as that has caused similar issues in the past.

I will report back if I get anywhere.
 
Are your using PHP 7.4 as delivered by Plesk or are you using your own compiled PHP with APCu? If so, can you try to turn APCu off? Because it is likely that this causes the crash.
 
No APUu here, Imagick had no effect.
I didn't get a core dump either so I'm going to keep trying different settings and disabling modules till I track it down.
 
Back
Top