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 toooften) use too much RAM. Too bad that the first process selected forkilling is the one handling the gluster mount!Is there a way to permanently make it "unkillable"? I already triedaltering oom_adj, but the PID changes at every boot...--Diego ZuccatoDIFA - Dip. di Fisica e AstronomiaServizi InformaticiAlma Mater Studiorum - Università di BolognaV.le Berti-Pichat 6/2 - 40127 Bologna - Italytel.: +39 051 20 95786________Community Meeting Calendar:Schedule -Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTCGluster-users mailing list
________ 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