Re: cannot accept socket

2003-03-07 Thread Carl
See the proc.txt file in the Documentation dir that comes with the kernel source. It says per process limits are set at compile time and are in include/linux/limits.h Here's the relevant bit in my kernel source: However, there is still a per process limit of open files, which unfortunat

Re: cannot accept socket

2003-03-06 Thread Ray Olszewski
I assume you meant to send this to the list, not just to me personally, so I've added it back in. /proc/sys/fs/file-max contains, according to the man page for "proc", the *total* number of files the kernel will open at one time. I quickly checked a half-dozen Linux systems I have access to, an

Re: cannot accept socket

2003-03-06 Thread Ray Olszewski
At 01:13 PM 3/6/2003 -0500, Lee Chin wrote: Hi, In my web server, when I run a stress test with many clients, after a long time I suddenly get an error on the accept system call and the error is "Too many open files". When I do a socklist (or netstat), I see that there are only 400 sockets open

cannot accept socket

2003-03-06 Thread Lee Chin
Hi, In my web server, when I run a stress test with many clients, after a long time I suddenly get an error on the accept system call and the error is "Too many open files". When I do a socklist (or netstat), I see that there are only 400 sockets open (and I have 400 clients, so that is correct)