You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OOM killer killed my php8.2-fpm service on our production servers. I assume this is a bug in PHP.
However, I'm not happy that the php8.2-fpm service did not restart automatically. I checked the unit file, and looks like there's no Restart clause.
If I want php-fpm to restart automatically on OOM kill, am I expected to edit the systemd unit file directly and add a Restart=always line under [Service], or is there a better place I can define that I would like the process restarted automatically?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The OOM killer killed my php8.2-fpm service on our production servers. I assume this is a bug in PHP.
However, I'm not happy that the php8.2-fpm service did not restart automatically. I checked the unit file, and looks like there's no Restart clause.
If I want php-fpm to restart automatically on OOM kill, am I expected to edit the systemd unit file directly and add a
Restart=always
line under[Service]
, or is there a better place I can define that I would like the process restarted automatically?Beta Was this translation helpful? Give feedback.
All reactions