php-fpm-legacy crashes with coredump occasionally

Description:

Mar 16 11:17:19 host php-fpm[481]: [NOTICE] [pool nextcloud] child 2220 started
Mar 16 11:17:20 host systemd-coredump[2147]: [🡕] Process 572 (php-fpm-legacy) of user XXX dumped core.
                                              
                                              Stack trace of thread 572:
                                              #0  0x000073ee8d1b5edb kill (libc.so.6 + 0x3dedb)
                                              #1  0x00005936c158a980 n/a (/usr/bin/php-fpm-legacy + 0x58a980)
                                              #2  0x00005936c158aa5e n/a (/usr/bin/php-fpm-legacy + 0x58aa5e)
                                              #3  0x000073ee8d1b5cd0 n/a (libc.so.6 + 0x3dcd0)
                                              #4  0x000073ee8d209e56 n/a (libc.so.6 + 0x91e56)
                                              #5  0x000073ee8d209e74 n/a (libc.so.6 + 0x91e74)
                                              #6  0x000073ee8d29333e accept (libc.so.6 + 0x11b33e)
                                              #7  0x00005936c15f06a5 n/a (/usr/bin/php-fpm-legacy + 0x5f06a5)
                                              #8  0x00005936c124b57d n/a (/usr/bin/php-fpm-legacy + 0x24b57d)
                                              #9  0x000073ee8d19f488 n/a (libc.so.6 + 0x27488)
                                              #10 0x000073ee8d19f54c __libc_start_main (libc.so.6 + 0x2754c)
                                              #11 0x00005936c124dd55 _start (/usr/bin/php-fpm-legacy + 0x24dd55)
                                              ELF object binary architecture: AMD x86-64
Mar 16 11:17:20 host systemd[1]: systemd-coredump@0-2143-0.service: Deactivated successfully.

Additional info:

  • package version(s): php-legacy 8.2.28-1 (also happened with previous version 8.2.27-2)

Steps to reproduce:

Cannot really reproduce it. Happened last night after a week of uptime: Mar 15 22:40:00 host php-fpm[494]: [WARNING] [pool nextcloud] child 1488914 exited on signal 9 (SIGKILL) after 124227.389760 seconds from start and now after upgrades and reboot: Mar 16 11:17:19 host php-fpm[481]: [WARNING] [pool nextcloud] child 572 exited on signal 9 (SIGKILL) after 45.061345 seconds from start