Set system-wide per-process limits (rlimits)
The file /etc/initscript is used by init to execute the commands in
/etc/inittab. As any process it started from init, it is a convenient
place to adjust per process limits (rlimits).
The script provided here does set limits on the memory usage per
process (amongst setting other limits) and thus prevents that a single
process that leaks memory can cause your system to run out of memory
and provoke the system to crawl (trash on the swap partition) before it
rescues itself by killing processes (but unfortunately does not always
hit the right process with the first try). The script sets the limits
in percent of available memory, thus the defaults may match a large
range of systems.
Configuration is done in file /etc/sysconfig/ulimit.
Per user rlimit settings can be configured by filling in
/etc/security/limits.conf and using the pam_limits.so functionality.
More finegrained resource management (per process group), can be done
via control groups (containers) with SLE11/openSUSE11.1 or newer.
- Sources inherited from project openSUSE:11.4
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Evergreen:11.4/ulimit && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
bug-495258_ulimit_cmo_fix.patch | 0000001449 1.42 KB | |
dont_run_before_boot.diff | 0000000341 341 Bytes | |
ulimit-1.2.tar.gz | 0000003344 3.27 KB | |
ulimit.changes | 0000003452 3.37 KB | |
ulimit.spec | 0000002824 2.76 KB |
Latest Revision
11.4 source split
Comments 0