Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an issue with ulimits on ubuntu server 12.04 .

I've set a custom ulimit for open files .

root soft nofile 20000

root hard nofile 60000

This setting doesn't work , i've tried setting >pam_limits.so in /etc/pam.d/common-session

But still , nothing .

I want to mention that setting a limit for an user , on root it has the same value .

If you set all (*) the root limits works .

I want to set the limits only for the root account .

Anyone had this issue ? Does pam.d have any effect on this ?

Thanks , Alin

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.