You are not logged in.
Because of bug #64689 I downgraded php to version 7.3.12. I first just downgraded the packages which seemed necessary
pacman -U /var/cache/pacman/pkg/{php-7.3.12-1-x86_64.pkg.tar.xz,php-fpm-7.3.12-1-x86_64.pkg.tar.xz,php-gd-7.3.12-1-x86_64.pkg.tar.xz,php-intl-7.3.12-1-x86_64.pkg.tar.xz,php-pgsql-7.3.12-1-x86_64.pkg.tar.xz}
After restarting php-fpm, it used ~70% CPU power and filled my logs with the following messages:
Dec 07 17:32:02 blackbox php-fpm[739039]: [NOTICE] [pool www] child 744837 started
Dec 07 17:32:02 blackbox php-fpm[739039]: [WARNING] [pool www] child 744837 exited with code 70 after 0.001766 seconds from start
Dec 07 17:32:02 blackbox php-fpm[739039]: [NOTICE] [pool www] child 744838 started
Dec 07 17:32:02 blackbox php-fpm[739039]: [WARNING] [pool www] child 744838 exited with code 70 after 0.001770 seconds from start
Dec 07 17:32:02 blackbox php-fpm[739039]: [NOTICE] [pool www] child 744839 started
Dec 07 17:32:02 blackbox php-fpm[739039]: [WARNING] [pool www] child 744839 exited with code 70 after 0.001896 seconds from start
Dec 07 17:32:02 blackbox php-fpm[739039]: [NOTICE] [pool www] child 744840 started
Dec 07 17:32:02 blackbox php-fpm[739039]: [WARNING] [pool www] child 744840 exited with code 70 after 0.001999 seconds from start
Dec 07 17:32:02 blackbox php-fpm[739039]: [NOTICE] [pool www] child 744841 started
Dec 07 17:32:02 blackbox php-fpm[739039]: [WARNING] [pool www] child 744841 exited with code 70 after 0.002081 seconds from start
Dec 07 17:32:02 blackbox php-fpm[739039]: [NOTICE] [pool www] child 744842 started
Dec 07 17:32:02 blackbox php-fpm[739039]: [WARNING] [pool www] child 744842 exited with code 70 after 0.002023 seconds from start
I thought this might be a incompatibility because I didn't downgrade the php modules, so I downgraded them too:
pacaur -U /var/cache/pacman/pkg/{php-apcu-5.1.18-1-x86_64.pkg.tar.xz,php-imagick-3.4.4-4-x86_64.pkg.tar.xz}
After restarting php-fpm I noticed that didn't help.
One of the few articles about this issue talks about memory problems, but I'm pretty sure this isn't my issue as the workers don't even start up.
I'm not sure how to debug this problem further.
Last edited by lv (2019-12-07 18:09:10)
Offline
I just figured it out. Due to a bug php-fpm 7.4 didn't work correctly so I created a systemd override file for the php-fpm unit with the following content:
[Service]
CapabilityBoundingSet=CAP_CHOWN
When I downgraded to 7.3.12, I used systemctl edit and emptied the override file. Maybe I failed to apply the changes or there was some other factor at play, but removing the override with systemctl revert fixed the problem and php-fpm 7.3.12 started to work correctly again.
Offline