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:
Revision history for this message
Attila Szeremi (amcsi) said :
#1

Sorry, I forgot to clarify: this is about php-fpm from Ondrej Sury's PPA.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Software in a PPA (Personal Package Archive) is outside the influence of Ubuntu.
If you have questions to software from a PPA, then you have to ask the person or team responsible for the PPA.
In your case please please look at https://launchpad.net/~ondrej
There is a "contact this user" button in the top right corner of that page.
If you are using the PPA https://launchpad.net/~ondrej/+archive/ubuntu/php then you probably should use https://github.com/oerdnj/deb.sury.org/issues

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.