Re: Postmaster eating up all my cpu

From: Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postmaster eating up all my cpu
Date: 2015-05-30 20:45:45
Message-ID: 556A2179.3030809@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Peter J. Holzer 2015-05-31 11:00:10 Re: Different plan for very similar queries
Previous Message Tom Lane 2015-05-30 19:04:34 Re: Different plan for very similar queries