Bug 157294
Summary: | Setting nproc variable in /etc/security/limits.conf has no effect | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Matteo Vescovi <matteo.vescovi> |
Component: | pam | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED DUPLICATE | QA Contact: | Jay Turner <jturner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-05-11 12:29:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Matteo Vescovi
2005-05-10 10:11:35 UTC
This is confusing - you're mixing number of processes setting (nproc limit) and maximum open files limit (nofile limit). I've set the limits as you wrote and cannot reproduce the problem. My apologies. Yes, the command should be `ulimit -u', not `ulimit -n'. Step 2 should read: Issue the command `ulimit -u 32000' as a normal user Again, please pardon my oversight. The problem still persists. What 'ulimit -H -u' gives you in this situation? `ulimit -H -u' gives me 7168. Same goes for `ulimit -S -u' No surprise that it doesn't allow you ulimit -u 32000. How are you actually accessing the machine? If by ssh then the reason is that the limits from limits.conf aren't applied correctly by sshd if privilege separation is enabled. This should be resolved by the next update release. You can try to disable privilege separation in sshd meanwhile. The problem lies in the sshd privilege separation mechanism. When logging in directly at the console (instead of logging in remotely with ssh), the limits are correctly applied. |