|
Bugzilla – Full Text Bug Listing |
| Summary: | Release Nots: Suggested ulimit text | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Kurt Garloff <garloff> |
| Component: | Release Notes | Assignee: | Karl Eichwalder <ke> |
| Status: | RESOLVED FIXED | QA Contact: | Andreas Jaeger <aj> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aj, dmueller, sndirsch, suse-beta |
| Version: | Beta 3 | ||
| Target Milestone: | Beta 4 | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Kurt Garloff
2006-02-03 13:42:58 UTC
This is too long. Karl, can you summarize somehow? Otherwise ok for me. Thanks! I'll try to shorten it (and re-using text for the SLES Admin Manual). Please check whether it is short enough and still accurate:
Technical
ulimit Settings
The ulimit settings can be configured in /etc/sysconfig/ulimit.
By default, only two limits are changed from the kernel defaults:
* SOFTVIRTUALLIMIT=80 limits a single process that it does
not allocate more than 80% of the available virtual memory (RAM
and swap).
* SOFTRESIDENTLIMIT=85 limits a single process that it does not occupy
more than 85% of the physical memory (RAM).
These soft limits can be overridden with the ulimit command by the user.
Hard limits could only be overridden by root.
The values have been chosen conservatively to avoid breaking large
processes that have worked before. If there are no legitimate processes
with huge memory consumption, set the limits lower to provide more
effective protection against run-away processes. The limits are per
process and thus not an effective protection against malicious users.
The limits are meant to protect against accidental excessive memory usage.
To configure different limits depending on the user, use the pam_limits
functionality and configure /etc/security/limits.conf. The ulimit package
is not required for that, but both mechanisms can be used in parallel;
the limits configured in limits.conf override the global defaults from
the ulimit package.
Fine with me. thanks, submitted to /work, probably for beta4 |