4 messages in ru.sysoev.nginxtoo many sites, change server_names_h...
FromSent OnAttachments
MaxMar 5, 2009 9:20 pm 
Igor SysoevMar 5, 2009 10:55 pm 
Payam ChychiMar 5, 2009 11:58 pm 
MaxMar 6, 2009 12:51 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:too many sites, change server_names_hash_max_size?Actions...
From:Max (maxb@gmail.com)
Date:Mar 5, 2009 9:20:10 pm
List:ru.sysoev.nginx

Hello,

My nginx is hosting more than 200 sites. But when I reload it, it said I need to increase the following size:

server_names_hash_max_size server_names_hash_bucket_size

So I just increased it to:

server_names_hash_max_size 1024; server_names_hash_bucket_size 128;

After that, nginx can reload, but my server is always out of memory(4gb in my server). So any body know if I change the above variables, will it affect the performance of the server?

Thanks.