Please help me, I just don't know what else to do. We have tried literally everything but we still get:
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
and so on...
I have done this:
changed maxclients to 300
edited all virtual_host2.conf files and changed:
to
I have done this:
I have done this:
I have done this:
The server is a centos quadcore server with 2gb ram, with 785 domains and 263 subdomains, is it really that difficult to run this amount of domains/subdomains on a server without getting all those errors?
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
host: isc_socket_create: not enough free resources
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
socket.c:2184: REQUIRE(maxfd <= (int)1024) failed.
and so on...
I have done this:
changed maxclients to 300
edited all virtual_host2.conf files and changed:
CustomLog /var/log/httpd/domains/|DOMAIN|.bytes bytes
CustomLog /var/log/httpd/domains/|DOMAIN|.log combined
ErrorLog /var/log/httpd/domains/|DOMAIN|.error.log
to
CustomLog /var/log/httpd/domains/|DOMAIN|.bytes bytes
#CustomLog /var/log/httpd/domains/|DOMAIN|.log combined
#ErrorLog /var/log/httpd/domains/|DOMAIN|.error.log
I have done this:
Edit /usr/include/bits/typesizes.h and set
#define __FD_SETSIZE 32768
then recompile apache/php
I have done this:
ile-max = 32768
and run:
/sbin/sysctl -w fs.file-max=32768
/sbin/sysctl -w kern.maxfiles=32768
/sbin/sysctl -w kern.maxfilesperproc=32768
then recompile apache/php
I have done this:
perl -pi -e 's/ssl=ON/ssl=OFF/' /usr/local/directadmin/data/users/*/domains/*.conf
The server is a centos quadcore server with 2gb ram, with 785 domains and 263 subdomains, is it really that difficult to run this amount of domains/subdomains on a server without getting all those errors?