'sudo nginx -s reload' and 'nginx -t' started to need a minute to complete

Mark Alan varia at e-healthexpert.org
Tue Dec 14 12:57:31 MSK 2010

On Tue, 14 Dec 2010 01:28:14 +0300, Maxim Dounin <mdounin at mdounin.ru>

> Most likely reason is example.com having problems with DNS 
> servers.

You were right, it was a DNS problem.

> While reading/parsing configuration (which is done by both nginx 
> -t and nginx -s reload) nginx will try to resolve names in listen 
> directive.

I did not know that while testing nginx tries to resolve names (both in
listen and in proxy_pass).
It another a useful feature of nginx.
Knowing that would have made me think a DNS problem.

Thank you very much Maxim.


More information about the nginx mailing list