2 messages in ru.sysoev.nginxRe: could not build the server_names_...
FromSent OnAttachments
Matt LyonMar 23, 2007 11:50 pm 
Igor SysoevMar 24, 2007 12:46 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:Re: could not build the server_names_hashActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Mar 24, 2007 12:46:59 am
List:ru.sysoev.nginx

On Fri, Mar 23, 2007 at 11:50:49PM -0700, Matt Lyon wrote:

hello, long-time listener, first-time caller

anyway, my vps went down for a bit today, and when it came up, nginx refused to come up with it.

Running with -t on the config file gets me this:

2007/03/23 23:46:15 [emerg] 4532#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32

I don't see anything in the wiki about this. Does anyone know what's up?

My config hadn't changed since the last time it was started before.

http { server_names_hash_bucket_size 64;

Probably, you have no server_name in some virtual host and nginx uses hostname. It seems that hostname had increased since the last reconfiguration.