The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
1answer
5k views

open file descriptor limits.conf setting isn't read by ulimit even when pam_limits.so is required

I am trying to raise the open file descriptor maximum for all users on an ubuntu machine. I've added the following lines to /etc/security/limits.conf: * soft nofile 100000 ...
7
votes
1answer
2k views

limits.conf setting doesn't 'stick'

Trying to get the equivalent of ulimit -n 20000 on a high load web server, however the /etc/security/limits.conf on ubuntu hardy doesn't seem to stick. here is what I set in the config file. root ...
24
votes
5answers
53k views

Practical maximum open file descriptors (ulimit -n) for a high volume system

We recently began load testing our application and noticed that it ran out of file descriptors after about 24 hours. We are running RHEL 5 on a Dell 1955: CPU: 2 x Dual Core 2.66GHz 4MB 5150 / ...
17
votes
7answers
14k views

Where are the default ulimits specified on OS X (10.5)?

The default nofile limit for OS X user accounts seems to be about 256 file descriptors these days. I'm trying to test some software that needs a lot more connections than that open at once. On a ...
10
votes
6answers
10k views

How to set ulimits for a service starting at boot?

I need, for mysql to use large-pages, to set a ulimit - I've done this in limits.conf. However, limits.conf (pam_limits.so), doesn't get read in for init, only for "real" shells. I solved this before ...
6
votes
5answers
55k views

How to set ulimits in Solaris 10

I normally use pam_limits.so and /etc/security/limits.conf to set ulimits on file size, CPU time, etc. for the regular users logging in to my server running Ubuntu. What is the best way of doing ...
3
votes
2answers
2k views

understanding max file descriptors for linux and nginx, and best value for worker_rlimit_nofile

I got the seemingly-common "too many file descriptors" error on nginx. After much searching, the solution is clearly to increase the number of file descriptors available to nginx. But there isn't ...
5
votes
2answers
4k views

“open files” ulimit: controlling via limits.conf

I'm banging my head on this, and I can't understand why it's not working. I'm hoping that someone can shed light on this, or failing that, give me some suggestions for avenues of investigation. I've ...
1
vote
1answer
1k views

How to set systemwide ulimit on ubuntu

I want to set systemwide ulimit on ubuntu (all processes, all users). How can I set it? thanks JP
0
votes
0answers
117 views

ulimit -u could be exceeded by some user

Our server is forced to restart sometimes because some users (not all) could start more zombie suphp defunct processes than allowed through the RLIMIT_NPROC / ulimit -u statement. How is that ...
0
votes
1answer
447 views

Finding the source of a ulimit setting

On my CentOS 6.2 server the value of ulimit -v (virtual memory) is 1048576. However, this is not set in /etc/security/limits.conf (which is empty) or .../limit.d/ (which contains only a max processes ...
-2
votes
1answer
407 views

Why ulimit shows different outputs? [closed]

I am very confused, and I tried a lot but I didn't get any way to overcome from a bug. I am posting the same. I am hoping that someone helps me. My problem is, When I run ulimit -n it shows 12000. ...