demine0

Well-Known Member
Mar 25, 2003
57
0
156
How do i get my ulimit -n above 1024 for a useraccount (or all accounts) on my server?
 

demine0

Well-Known Member
Mar 25, 2003
57
0
156
so far i've changed the value in bashrc, profile, limit.csh, limit.sh, and nothing has changed it.
 

demine0

Well-Known Member
Mar 25, 2003
57
0
156
i have logged out and logged in again. Also none of my users have their own .bashrc or .bash_profile files.
 

DigitalN

Well-Known Member
Sep 23, 2004
420
1
168
After updating /etc/profile with the ulimit -n 16384 line - try rebooting your server.
 

demine0

Well-Known Member
Mar 25, 2003
57
0
156
Tryed.. Not working. one of the cpanel techs told me that this has nothing to do with cpanel at all, and that i need to use the ulimit command.

-bash-2.05b$ ulimit -n 10000
-bash: ulimit: open files: cannot modify limit: Operation not permitted
-bash-2.05b$


I ran that under the user i want the ulimit to go up for.