Skip to content

Random crash of FPM master process in fpm_stdio_child_said #8517

Closed
@triplesixman

Description

@triplesixman

Description

Hello,

Since the switch to php8.0-fpm, I have random php crashes which force me to restart it manually and cause a 502 bad gateaway error on my site.

The crashes are random and sometimes occur after several days.

The logs indicate this:

May 8 16:21:14 server kernel: [817145.478932] php-fpm8.0[3482145]: segfault at 105 ip 000055c8afc40309 sp 00007ffd430d3860 error 4 in php-fpm8.0[55c8af9c1000+285000]
May 8 16:21:14 server kernel: [817145.550172] Code: ac 4c 8b a0 f0 00 00 00 41 0f 94 c5 89 4d a8 0f 84 e6 02 00 00 48 8b 45 a0 48 83 c0 70 48 89 45 88 4d 85 e4 0f 84 2d 03 00 00 <41> f6 44 24 05 04 75 11 48 8b 45 a0 8b 80 e4 00 00 00 41 39 44 24
May 8 16:21:14 server systemd[1]: php8.0-fpm.service: Main process exited, code=killed, status=11/SEGV
May 8 16:21:14 server systemd[1]: php8.0-fpm.service: Failed with result 'signal'.
May 8 16:21:14 server systemd[1]: php8.0-fpm.service: Consumed 3d 57min 21.700s CPU time.

Unfortunately I don't have more information and it is impossible to identify the problem. Do you know how I can get more details?

I have thousands of active users on my site and it will not be possible for me to reproduce the crash by myself.

Thank you

PHP Version

PHP 8.0.18

Operating System

Debian 11

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions