welcome: please sign in

Diff for "ResourceLimits"

Differences between revisions 1 and 25 (spanning 24 versions)
Revision 1 as of 2005-08-15 03:16:08
Size: 965
Editor: AdamChlipala
Comment:
Revision 25 as of 2008-12-14 18:24:26
Size: 231
Editor: server88-208-239-103
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
We take advantage of Linux's `ulimit` facility to limit user process' use of particular system resources. See DaemonFileSecurity for information on disk usage limits.

= Login and cron jobs =

Login shells and cron jobs inherit the limits from `/etc/security/limits.conf`, via PAM. We currently impose these limits, where "n/m" means "soft limit n and hard limit m":

 * `as 100000/500000`. This limits how much virtual memory processes can allocate. Without this, run-away processes can use up all of the memory in the system and cause daemons to start crashing due to out-of-memory errors.
 * `nproc 10/20`. Creating an unbounded number of processes is bad, so here we limit the maximum number of processes you may own concurrently.

These settings are mostly designed assuming friendly users who sometimes make mistakes and create run-away processes. We may need to make the limits more stringent in the future.
<a href='http://kamada.strefa.pl/page1306.html'>jil sander sport</a> <a href="http://kamada.strefa.pl/page1306.html">jil sander sport</a> [link=http://kamada.strefa.pl/page1306.html]jil sander sport[/link]
Line 12: Line 3:
CategorySystemAdministration CategoryCategory

ResourceLimits (last edited 2012-09-06 07:07:04 by ClintonEbadi)