Welcome! Log In Create A New Profile

Advanced

Re: nginx.conf File too Large

July 07, 2011 09:46AM
Alexandr,

As of right now we are only using the configuration for one of our customers
in beta and nginx is not giving any errors. Before we migrate more
customers onto the platform we wanted to get a better idea of the
hypothetical ramifications of having such a large config file. What are the
best practices for config files and what could go wrong if we have a large
number of hosts configured onto one nginx server each with a lot of
conditions?

Thanks,
Rami


Date: Wed, 6 Jul 2011 22:41:49 +0300
From: Alexandr Gomoliako <zzz@zzz.org.ua>
To: nginx@nginx.org
Subject: Re: nginx.conf File too Large
Message-ID:
<CAKb9G9g8vk-SK-i328mWmzrTEmybVNTNH4uLe5ONOf73thqELA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On 7/6/11, Rami Essaid <rami.essaid@gmail.com> wrote:
> We are trying to use nginx as a reverse proxy for a large number of sites
> and putting up a lot of rules to direct and traffic for each host. Is
there
> a number of hosts ({server}) that would be too many for a single nginx
> instance to support? At what point does the configuration file get too
large
> and start bogging down the nginx server? Currently each host takes up
about
> 150 lines, and we are looking to put in 25+ hosts onto each server. I
wanted
> to know if this realistic?

It doesn't sound like an nginx problem. Nginx usually suggests what to
change if it hits the limit. Can you show us the exact error message?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx.conf File too Large

ressaid July 06, 2011 03:24PM

Re: nginx.conf File too Large

Alexandr Gomoliako July 06, 2011 03:42PM

Re: nginx.conf File too Large

ressaid July 07, 2011 09:46AM

Re: nginx.conf File too Large

csg July 08, 2011 09:31AM

Re: nginx.conf File too Large

ressaid July 08, 2011 10:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready