postgresql.conf question... CPU spikes

From: Bala Venkat <akpgeek(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: postgresql.conf question... CPU spikes
Date: 2014-04-09 14:43:23
Message-ID: CACnhOfJqRNcQ7GKc6j6a6Z856Esafg1FrEGOot8uPNeSdu++Hw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all -

We are running postgres 9.0 ( 32 bit ) + postgis 1.5.2 on Solaris
Sparc M5000 with 64GB . Recently we are getting CPU utilitzation to 99% .

In the config file

shared_buffers=2GB.
work_mem = 128MB
effective_cache_size=48GB
maintaince_work_mem= 500MB
max_connections = 300

When the CPU spikes happens, when I look at the pg_stat_activity log, the
queries where current_query not like '%<IDLE>%' are between 100-110.

Do you think , I have to reduce the effective_cache and work_mem for this?

Thanks for your help.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christofer C. Bell 2014-04-09 15:02:07 Re: Linux vs FreeBSD
Previous Message MOHAMMED-BOUZIANE Ilyes 2014-04-09 13:41:46 Help