PDA

View Full Version : Apache stop works with 451vhosts



klaus
08-31-2005, 12:01 AM
Hello,

I am having a strange problem, Apache works fine
with 450vhosts and when i am trying to add the 451vhost apache stop working!

I read that apache probably needs more file descriptors, and i add the following in
/etc/security/limits.conf


* soft nproc 8192
* hard nproc 32768
* soft nofile 8192
* hard nofile 32768


Then where i run ulimit -a i get the following


core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) 4
max memory size (kbytes, -m) unlimited
open files (-n) 8192
pipe size (512 bytes, -p) 8
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) unlimited
virtual memory (kbytes, -v) unlimited


Also when i am runing sysctl -a | grep file i get the following


fs.file-max = 209708
fs.file-nr = 4405 2334 209708


Is there any way to add more vhosts?

I am have Centos 3.5 with 2 G Ram Pentium4 3GHz and my kernel is 2.4.21-20.EL.c0smp.

Is there anything i can do to increase the vhost?

Thanks!

smtalk
10-29-2007, 02:30 PM
"This is an OpenSSL bug, fixed in 0.9.8c and later (it uses select() rather than poll() and doesn't check for the FD_SETSIZE overflow)."