Re: PostgreSQL: CPU utilization creeping to 100%

From: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
To: David(dot)I(dot)Noel(at)gmail(dot)com
Cc: PGSQL Mailing List <pgsql-general(at)postgresql(dot)org>, freebsd-database(at)freebsd(dot)org
Subject: Re: PostgreSQL: CPU utilization creeping to 100%
Date: 2013-04-02 22:44:56
Message-ID: CAB8KJ=h6MJV2ndETgD1zYwPxWj1rtzUbyPf3swRyQ8vBc=z92g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2013/4/3 David Noel <david(dot)i(dot)noel(at)gmail(dot)com>:
> I'm running into a strange issue whereby my postgres processes are
> slowly creeping to 100% CPU utilization. I'm running
> postgresql-server-9.2.3, FreeBSD 8.3-RELEASE-p6, and using the
> postgresql-9.2-1002.jdbc4 driver.

(...)
> postgresql.conf, all standard/default except for:
> max_connections = 256

It's very likely the default settings are woefully inadequate for your
server; some basic
tuning (especially the value of shared_buffers and other
memory-related parameters)
should help.

> Any thoughts? What other information can I provide?

Sample EXPLAIN/EXPLAIN ANALYZE output from the query in question, and
if possible relevant table definitions etc. would certainly be useful.

Regards

Ian Barwick

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Noel 2013-04-02 22:46:48 Re: PostgreSQL: CPU utilization creeping to 100%
Previous Message David Noel 2013-04-02 22:35:35 PostgreSQL: CPU utilization creeping to 100%