Problem with 1001 domains

Sebz83

New member
Joined
Apr 27, 2006
Messages
3
Directadmin is limited ?

When i have 1000 domains, DirectAdmin and apache work perfectly but when i add another domain, Apache doesn't Work.
All the sites in the server don't respond and i have to comment the last line of my httpd.conf and restart apache for correcting this problem.
If I had another domains (1002 in total) there is the same problem, i comment it and apache work.

Have you got any suggestion for my problem ?

Sorry for my english :)
 
Which solutions worked for you?

We've recently had problems with a server at 1001 domains even after implementing solution 1 and solution 2.

Jeff
 
It's not realy 1000domains, there is 1004 include of Virtual Host for all (domains and subdomains.)


For resolve my problems, i have using this solution:
Solutions:
1) edit /etc/httpd/conf/httpd.conf and increase the MaxClients setting to something like 200 or 300.
2)

cd /usr/local/directadmin/data/templates
cp virtual_host*.conf custom
cd custom
# remove all the ErrorLog lines (or comment them out) from the 4 virtual_host*.conf files that are in the custom directory.

echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
Apache should be restarted automatically after a few minutes later (rewrite might take a while with over 800 sites).

BUt For the MaxClients, i have 450 and not 300.
I have commented all error logs lines on the virtual_host*.conf
 
Last edited:
sullise said:
1000 domains!!!!? On a single server? Holy gawd. LOL.

Its not a big deal if they are low traffic sites. The concern is resources. Just the number of domains does not make a difference. Many times a single domain can take many servers and its still just one domain.
 
floyd said:
Its not a big deal if they are low traffic sites. The concern is resources. Just the number of domains does not make a difference. Many times a single domain can take many servers and its still just one domain.

I agree in principle, but not in practice.
 
Back
Top