Re: Server stops responding randomly for 5 minutes

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Server stops responding randomly for 5 minutes
Дата
Msg-id CAEYLb_XRVK4tSmcGm_h7iGBzvFHHV76qO94-KWWqUgvMOCcRiw@mail.gmail.com
обсуждение исходный текст
Ответ на Server stops responding randomly for 5 minutes  ("Andrus" <kobruleht2@hot.ee>)
Ответы Re: Server stops responding randomly for 5 minutes  ("Andrus" <kobruleht2@hot.ee>)
Список pgsql-general
2011/7/13 Andrus <kobruleht2@hot.ee>:
> Sometimes per week server stops randomly responding for approx 5 minutes.
> User  should wait for 5 minutes before server responds.
> Other users can work normally at same time.

Sounds very much like a locking issue. Are you doing something like
storing a frequently updated system-wide setting in a table with a
single row?

http://wiki.postgresql.org/wiki/Lock_Monitoring

When the problem happens again, report back what the top query you see
on that wiki page shows.

--
Peter Geoghegan       http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services

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

Предыдущее
От: "Tomáš Vondra"
Дата:
Сообщение: Re: Server stops responding randomly for 5 minutes
Следующее
От: "Andrus"
Дата:
Сообщение: Re: Server stops responding randomly for 5 minutes