1753930 Members
9936 Online
108810 Solutions
New Discussion юеВ

Increasing ulimit size.

 
Ronit_1
Occasional Advisor

Increasing ulimit size.

I want to increase ulimit size of particular user for open file permanently. How can i do in LINUX
2 REPLIES 2
Stuart Browne
Honored Contributor

Re: Increasing ulimit size.

Well, here's how a redhat system would do it:

Modify '/etc/security/limits.conf', and add a line similar to:

cyrus - nofile 10240

The user ('cyrus') goes in the first column. There is no 'hard' or 'soft' value for this limit, so the '-'. The 'nofile' is the number of open files the user can have. The number is the count.

For more details on this, read '/usr/share/doc/pam-*/txts/README.pam_limits'.
One long-haired git at your service...
Shahul
Esteemed Contributor

Re: Increasing ulimit size.

Another option is adding "ulimit -l
Best of luck
Shahul