increasing file descriptors

oxy oxy at field.hu
Tue May 6 08:08:21 UTC 2008


hi!

i am using fbsd 7.0-rel and apache 2.2.8..
my problem is that after ~230 vhosts i ran out of file descriptors..
(2x230 files, access and error log for each vhost)
when i use only one error log i don't run out, however
i need to use different error log for each vhost and don't
want to use one and divide it later...

the error in httpd-error.log is:
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: 
REQUIRE(maxfd <= (int)1024U) failed.
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: 
REQUIRE(maxfd <= (int)1024U) failed.
/usr/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2238: 
REQUIRE(maxfd <= (int)1024U) failed.

sysctl settings:
kern.maxfiles: 65536
kern.maxfilesperproc: 65536
kern.maxusers: 1024

thanks for your help!



More information about the freebsd-apache mailing list