Re: sorry, too many standbys already vs. MaxWalSenders vs. max_wal_senders

From: Thom Brown <thombrown(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: sorry, too many standbys already vs. MaxWalSenders vs. max_wal_senders
Date: 2010-03-31 15:24:38
Message-ID: x2xbddc86151003310824o936a468fnce9825c10a48a3b0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 31 March 2010 15:45, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Wed, Mar 31, 2010 at 10:44 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> >> On Wed, Mar 31, 2010 at 12:54 AM, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
> wrote:
> >>> could not accept connection from the standby because max_wal_senders
> is 0
> >
> >> Well, that might still leave someone confused if they had one standby
> >> and were trying to bring up a second one.
> >
> > I'd suggest something like "number of requested standby connections
> > exceeds max_wal_senders (currently %d)"
>
> Oh, that's much better than anything I thought of. +1.
>
> ...Robert
>
>
That provides more explicit information. :)

Attachment Content-Type Size
sr_error_message_v2.patch application/octet-stream 648 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-03-31 15:28:16 Re: Performance Enhancement/Fix for Array Utility Functions
Previous Message Robert Haas 2010-03-31 15:16:21 Re: pending patch: Re: HS/SR and smart shutdown