[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Anohter ulimit problem
- From: "David S Edwards" <David california net>
- To: redhat-list redhat com
- Subject: Re: Anohter ulimit problem
- Date: Fri, 30 Apr 1999 22:16:33 -0700
At 09:01 AM 4/30/99 -0400, you wrote:
[snip]
>Now I've got another problem (directly related.) My server absolutely will
>NOT allow me to increase the maximum number of file descriptors. I can
>decrease it just fine. But once it's decreased, I can't even set it back up
>to its original value.
File descriptors limits are set by the kernel. In the 2.0 kernels it is
256, in the 2.2 kernels it is 1024. The kernels I run are patched to allow
3000 file descriptors for some heavy duty web servers, but in retrospect,
the 1024 found in 2.2 should handle most situations.
[gecker ns6 gecker]$ ulimit -a
core file size (blocks) 1000000
data seg size (kbytes) unlimited
file size (blocks) unlimited
max memory size (kbytes) unlimited
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 256
pipe size (512 bytes) 8
open files 3000
virtual memory (kbytes) 2105343
The way I found out I needed a higher limit on file descriptors was this.
When one of my web servers started getting a lot of traffic, you couldn't
log in, even though there was low cpu utilization and plenty of free
memory. After increasing the number of file descriptors, that problem went
away and the servers could handle twice as much web traffic.
Now if I could only figure out how to raise the max user processes to
something like 1024.
David
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]