Memory consumption on a per user basis

Memory consumption on a per user basis

Josh Roden joshroden at gmail.com
Sun Nov 11 16:36:58 IST 2018


Hi everyone
I have a CentOS 6 machine used by around 20 to 30 students
at a time and I need to do one of two things:
1. find and kill top memory user with script
2. limit memory usage

Using cgroups, I have successfully limited memory usage to about 1.5 cpu's
max (per user) out of 16 but evidently I have had less success with memory
hogs.
I understand that memory is a bit complicated to compute because of shared
memory etc. but I need to make the 32G of physical memory go around more
evenly.
Would appreciate any ideas.
Thanks,
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20181111/5fdd7b08/attachment.html>


More information about the Linux-il mailing list