Re: Can anyone help setting up pgbouncer? - Mailing list pgsql-general

From Richard Huxton
Subject Re: Can anyone help setting up pgbouncer?
Date
Msg-id 4B048321.4070104@archonet.com
Whole thread Raw
In response to Re: Can anyone help setting up pgbouncer?  (Nick <nboutelier@gmail.com>)
List 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

pgsql-general by date:

Previous
From: Tech 2010
Date:
Subject: Re: vacuumdb: vacuuming of database "xy" failed: PANIC: corrupted item pointer: 19227
Next
From: Scott Bailey
Date:
Subject: Enum on-disk format