Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want to remove "memorylocked" and "maxproc" limits. I am using tcsh shell. I read that if I use "#limit memorylocked unlimited" and "#limit maxproc unlimited" then they will be set to unlimited. I did that as a root user. But after I restarted my computer then again they were all restored to their default values. How can I resolve this and set their values and also "openfiles" value of my Linux to unlimited permanently ? I am using ubuntu 12.04 with a 64 bit system and tcsh shell. I need them to be unlimited to run my simulations. Thanks

share|improve this question
    
Even a temporary way to unlimit them will be good too. I just found out that with temporary unlimited values, my simulation will be ok too. –  Babak H Jan 20 '13 at 7:01
add comment

1 Answer

You should check out the file /etc/security/limits.conf.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.