[K12OSN] Setting memory limits in lts.conf

John Baillie jbaillie at stmarys-school.org
Sat Jul 23 16:31:40 UTC 2005

Has anyone heard of, or tried the following?

" I strongly suggest you set suitable memory limits
in /etc/security/limits.conf. I use:

@users soft rss 512000
@users soft memlock 256000
@users soft as 768000
# Set to 7168 by RH defaults
#@users soft nproc 5000

Just to stop users from forkbombing the system accidentally, or a
runaway process from eating all the physical RAM and forcing the system
into heavy swapping. It works extremely well. Adapt the above, of
course, to your memory allocations etc. "

More information about the K12OSN mailing list