Re: Postgres 9.01, Amazon EC2/EBS, XFS, JDBC and lost connections

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Postgres 9.01, Amazon EC2/EBS, XFS, JDBC and lost connections
Дата
Msg-id 4E92EE8F.8010701@ringerc.id.au
обсуждение исходный текст
Ответ на Postgres 9.01, Amazon EC2/EBS, XFS, JDBC and lost connections  (Sean Laurent <sean@studyblue.com>)
Ответы Re: Postgres 9.01, Amazon EC2/EBS, XFS, JDBC and lost connections
Список pgsql-general
On 10/07/2011 01:21 AM, Sean Laurent wrote:

> Within a few seconds of the backup, our application servers start
> throwing exceptions that indicate the database connection was closed.
> Meanwhile, Postgres still shows the connections and we start seeing a
> really high number (for us) of locks in the database. The application
> servers refuse to recover and must be killed and restarted. Once they're
> killed off, the connections actually go away and the locks disappear.

Did you have any luck with this?

This sort of thing sounds a lot like "deadlock" ... but I'm not really
sure how Pg's backends/postmaster could get into a deadlock with each
other. It'd be interesting to look at "wchan" in ps to see what the Pg
processes are waiting on.

Also, check to see if you can connect with `psql' on a local unix socket
and on a local tcp/ip socket.

Can you reproduce this on a non-EC2 system?

--
Craig Ringer

В списке pgsql-general по дате отправления:

Предыдущее
От: Adarsh Sharma
Дата:
Сообщение: Select latest Timestamp values with group by
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Select latest Timestamp values with group by