OOM killer - No Restart clause on php-fpm systemd unit
Asked by
Attila Szeremi
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, or is there a better place I can define that I would like the process restarted automatically?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Attila Szeremi for more information if necessary.
To post a message you must log in.