Thank you for taking the time to report this issue and help to improve
Ubuntu.

After careful examination, I don't find any bug here.  Setting limits
via limits.conf works fine for me - and in fact, researching this shows
that patch 027 was broken and was having no effect at all.

I think one of two things is happening here:

- you're setting a hard limit in limits.conf (ulimit -H -n) but are checking 
the soft limit (ulimit -n)
- you're trying to set a soft limit in limits.conf (user soft nofile...) 
without first raising the hard limit (user hard nofile...), so your soft limit 
change has no effect.

Lowering a hard limit will automatically lower the soft limit, but
raising either limit will not automatically raise the other.  I have no
idea why any limit handling would work on other distros that doesn't
work on Ubuntu unless there are differences in the in-kernel defaults.

** Changed in: pam (Ubuntu)
       Status: Confirmed => Invalid

-- 
nofile limit cannot be increased, only decreased
https://bugs.launchpad.net/bugs/327597
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to