pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Nicola Contu <nicola.contu@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Pgbouncer and postgres
Date: Mon, 17 Sep 2018 09:12:51 -0700
Message-ID: <0526188d-d6e3-deb2-d049-0314f0441105@aklaver.com> (raw)
In-Reply-To: <CAMTZZh2z1AnAdEdJ74jntOi1T4twXRzjgb580mcC+-YnF97apQ@mail.gmail.com>
References: <CAMTZZh3r06EkwdL6W58i3ODSohZV__Rf3uBktXLfKOhxPuU8oA@mail.gmail.com>
	<7bceb23a-8724-7fd9-bf74-e5dfd557283e@aklaver.com>
	<CAMTZZh1gzKiwDuZg9mmhMsrCZPJjN-fEtDpwcOtWzw09=cys4w@mail.gmail.com>
	<6d2f155c-4bd4-14d8-bbf2-506617c9462a@aklaver.com>
	<CAMTZZh3AxZTJAPN5_7o3+d+wRfS_pC-B5a+AJyopdfObH18-4A@mail.gmail.com>
	<baeeaf48-98b5-c85a-3bc5-4e20c2f3f08b@aklaver.com>
	<CAMTZZh1GmPPCK-QgctYtgUn0xWOtseb8jD-DeiO=mQtDJ9Tbyg@mail.gmail.com>
	<335c53c9-f603-090e-8dbd-8a41cd285e68@aklaver.com>
	<CAMTZZh1tngZdobW0x09AkgEjdBVtq4fGgoRTW852kg4Ja_OFgw@mail.gmail.com>
	<76637bc1-65c0-8a73-743e-e5a2d40265f1@aklaver.com>
	<CAMTZZh05WK-JYwC=cgzH72WODTSuY=ODWQ+eAd9g4-pFjEGBtw@mail.gmail.com>
	<b2a1b0ec-1bc8-83a2-79d7-0775db77410d@aklaver.com>
	<CAMTZZh2z1AnAdEdJ74jntOi1T4twXRzjgb580mcC+-YnF97apQ@mail.gmail.com>

On 9/17/18 9:09 AM, Nicola Contu wrote:
> Yes I can connect to port 5432 without any problem.
> 
> The thing is that I am not seeing anything on the postgres log when 
> connecting to 6543.

Pretty sure you won't as 6543 is controlled by pgbouncer and pgbouncer 
seems to be failing before it gets around to connecting to the actual 
database.

> 
> Sure, thanks for your help.
> I will create an issue there.
> 
> 
> Il giorno lun 17 set 2018 alle ore 18:07 Adrian Klaver 
> <adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>> ha scritto:
> 
>     On 9/17/18 8:59 AM, Nicola Contu wrote:
>      > Yeah, I replaced the IP of the machine with the word IP_ADDR.
>      >
>      > On the pgbouncer log I get this while trying to connect via psql:
>      >
>      > 2018-09-17 15:56:49.452 67611 WARNING tune_socket(16) failed:
>     Operation
>      > not supported
>      > 2018-09-17 15:56:49.452 67611 NOISE safe_close(16) = 0
>      > 2018-09-17 15:56:49.452 67611 NOISE safe_accept(13) = Resource
>      > temporarily unavailable
>      > 2018-09-17 15:56:50.728 67611 NOISE safe_accept(13) = 16 (unix:)
>      > 2018-09-17 15:56:50.729 67611 NOISE new fd from accept=16
>      > 2018-09-17 15:56:50.729 67611 WARNING tune_socket(16) failed:
>     Operation
>      > not supported
>      > 2018-09-17 15:56:50.729 67611 NOISE safe_close(16) = 0
>      > 2018-09-17 15:56:50.729 67611 NOISE safe_accept(13) = Resource
>      > temporarily unavailable
>      > 2018-09-17 15:56:56.418 67611 NOISE safe_accept(11) = 16
>      > (10.151.2.145:58696 <http://10.151.2.145:58696;
>     <http://10.151.2.145:58696;)
>      > 2018-09-17 15:56:56.418 67611 NOISE new fd from accept=16
>      > 2018-09-17 15:56:56.418 67611 NOISE safe_accept(11) = Resource
>      > temporarily unavailable
> 
>     Can you connect to the actual database running on port 5432?
> 
>     Deciphering the above log is beyond my capabilities. I think it is time
>     to file an issue here:
> 
>     https://github.com/pgbouncer/pgbouncer/issues
> 
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (22+ messages)  latest in thread

Message-ID: <0526188d-d6e3-deb2-d049-0314f0441105@aklaver.com>
Permalink:  ../0526188d-d6e3-deb2-d049-0314f0441105@aklaver.com/
Also on:    postgresql.org/message-id/0526188d-d6e3-deb2-d049-0314f0441105@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, nicola.contu@gmail.com
  Subject: Re: Pgbouncer and postgres
  In-Reply-To: <0526188d-d6e3-deb2-d049-0314f0441105@aklaver.com>
  References: <CAMTZZh3r06EkwdL6W58i3ODSohZV__Rf3uBktXLfKOhxPuU8oA@mail.gmail.com> <7bceb23a-8724-7fd9-bf74-e5dfd557283e@aklaver.com> <CAMTZZh1gzKiwDuZg9mmhMsrCZPJjN-fEtDpwcOtWzw09=cys4w@mail.gmail.com> <6d2f155c-4bd4-14d8-bbf2-506617c9462a@aklaver.com> <CAMTZZh3AxZTJAPN5_7o3+d+wRfS_pC-B5a+AJyopdfObH18-4A@mail.gmail.com> <baeeaf48-98b5-c85a-3bc5-4e20c2f3f08b@aklaver.com> <CAMTZZh1GmPPCK-QgctYtgUn0xWOtseb8jD-DeiO=mQtDJ9Tbyg@mail.gmail.com> <335c53c9-f603-090e-8dbd-8a41cd285e68@aklaver.com> <CAMTZZh1tngZdobW0x09AkgEjdBVtq4fGgoRTW852kg4Ja_OFgw@mail.gmail.com> <76637bc1-65c0-8a73-743e-e5a2d40265f1@aklaver.com> <CAMTZZh05WK-JYwC=cgzH72WODTSuY=ODWQ+eAd9g4-pFjEGBtw@mail.gmail.com> <b2a1b0ec-1bc8-83a2-79d7-0775db77410d@aklaver.com> <CAMTZZh2z1AnAdEdJ74jntOi1T4twXRzjgb580mcC+-YnF97apQ@mail.gmail.com> <0526188d-d6e3-deb2-d049-0314f0441105@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox