Welcome! Log In Create A New Profile

Advanced

Re: upstream module question

Avleen Vig
June 03, 2009 04:55AM
On Jun 3, 2009, at 9:42, Jérôme Loyet <jerome@loyet.net> wrote:

> 2009/6/3 Igor Sysoev <is@rambler-co.ru>:
>> On Wed, Jun 03, 2009 at 10:05:21AM +0200, J?r?me Loyet wrote:
>>
>>> Hi all,
>>>
>>> with the upstream module, in default mode (WRR), what is the best
>>> way
>>> to disable a server from the pool ?
>>>
>>> 1- simply remove the line
>>
>> This is.
>
> So the others just don't work ?

I expect they do, but nginx still has to parse the line, maintain the
entry in memory, etc.

I just comment out the line when I take a server out, and put a
comment in the file as to why I did it :)

>>> 2- add the "down" keyword to the server
>>> 3- set server weight to 0 to disable it
>>>
>>> Thx for the answers.
>>>
>>> ++ jerome
>>
>>
>> --
>> Igor Sysoev
>> http://sysoev.ru/en/
>>
>>
>
Subject Author Posted

upstream module question

Jérôme Loyet June 03, 2009 04:05AM

Re: upstream module question

Igor Sysoev June 03, 2009 04:34AM

Re: upstream module question

Jérôme Loyet June 03, 2009 04:42AM

Re: upstream module question

Avleen Vig June 03, 2009 04:55AM

Re: upstream module question

Igor Sysoev June 03, 2009 04:53AM

Re: upstream module question

Jérôme Loyet June 03, 2009 05:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 253
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