Обсуждение: Postmaster eating up all my cpu

Поиск
Список
Период
Сортировка

Postmaster eating up all my cpu

От
birimblongas
Дата:
Hi,

My app was working just fine. A month ago postmaster started to eat all my
cpu sometimes (not all day, but a lot of times and everyday) and then my app
gets really slow and sometimes don't even complete the requests.

What could it be?



--
View this message in context: http://postgresql.nabble.com/Postmaster-eating-up-all-my-cpu-tp5851428.html
Sent from the PostgreSQL - performance mailing list archive at Nabble.com.


Re: Postmaster eating up all my cpu

От
Tomas Vondra
Дата:
Hi,

On 05/28/15 13:25, birimblongas wrote:
> Hi,
>
> My app was working just fine. A month ago postmaster started to eat all my
> cpu sometimes (not all day, but a lot of times and everyday) and then my app
> gets really slow and sometimes don't even complete the requests.
>
> What could it be?

A lot of things. The first step should be looking at pg_stat_activity,
what is the process eating the CPU doing.

We also need much more information about your system - what PostgreSQL
version are you using, what kind of OS, configuration etc.

regards

--
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services