Re: OOM kills gluster process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You will need ro create a script to identify the pids and then protect them.
Then , you can add that script in the gluster's service file as ExecStartPost=myscript

Another approach is to use cgroups and limit everything in the userspace.

Best Regards,
Strahil Nikolov

On Wed, Apr 21, 2021 at 11:52, Diego Zuccato
<diego.zuccato@xxxxxxxx> wrote:
Hello all.

I have a somewhat undersized cluster frontend node where users (way too
often) use too much RAM. Too bad that the first process selected for
killing is the one handling the gluster mount!

Is there a way to permanently make it "unkillable"? I already tried
altering oom_adj, but the PID changes at every boot...

--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux