Re: Can anyone help setting up pgbouncer?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Nick <nboutelier(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Can anyone help setting up pgbouncer?
Date: 2009-11-18 23:28:33
Message-ID: 4B048321.4070104@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nick wrote:
>
> lsof -i | grep pgbouncer
>
> results in no output.

Then it's either not running or not listening on a port (you did run
that as root, didn't you?). Does "ps aux | grep pgbouncer" show it?

Your pgbouncer logfile should show the "File descriptor limit" line
followed by one or more "listening on ..." lines. These lines should
mention the port you're trying to connect to.

If that all looks fine, but you still can't connect, stop pgbouncer and
start it again but without the "-d" option and with the "-v" option.
This will stop it from running as a daemon but make it more verbose.
Hopefully we can see what it's doing then.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Bailey 2009-11-18 23:45:44 Enum on-disk format
Previous Message Joshua D. Drake 2009-11-18 21:58:07 Re: pg_standby instructions