FD_SETSIZE in apache
Hello,This appears in my log files:
[warn] send body: filedescriptor (1250) larger than FD_SETSIZE (1024) found, you probably need to rebuild Apache with a larger FD_SETSIZE
I did this!
Apache still goes down when files hit 1024. Here is a recap of what has been done so far:
pico /etc.rc.d/init.d/httpd
added:
ulimit -S -n 64000
Then I install the new apache rpm with the higher fd_setsize
Then I: echo 64000 > /proc/files-max
Then run service httpd restart
Apache works fine for about 5 hours!
I did a: ulimit -aH
Here are the results:
core file size (blocks) unlimited
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) unlimited
cpu time (seconds) unlimited
max user processes 2048
virtual memory (kbytes) unlimited
For some reason the open files STILL says 1024, why is this?
Any immediate help would be fantastic!
Also, a little backround on the box never hurt anyone!
1.3Ghz
512 MB ram
60GB HD
7.1 red hat
apache 1.3.27
php 4.3.1
kernel-2.4.9-21
About 500 domains
Loads usually .01 - .15
Thanks,
Brian