Unix Technical Forum

Re: BUG #1806: Postmaster takes uses 99% of CPU

This is a discussion on Re: BUG #1806: Postmaster takes uses 99% of CPU within the pgsql Bugs forums, part of the PostgreSQL category; --> Mike Krüger wrote: > Sorry, I lost the Email Adress of the List. No problem, just remember to hit ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:04 AM
Richard Huxton
 
Posts: n/a
Default Re: BUG #1806: Postmaster takes uses 99% of CPU

Mike Krüger wrote:
> Sorry, I lost the Email Adress of the List.


No problem, just remember to hit "reply all" rather than "reply".

> There are no problems with other Processes.
> The System is only slow, when the postmaster Prozess gets the 100 % CPU time.
> Can I configure it, that this Prozess dont get more than 60 % ?


Not really (on Linux anyway). However, if other processes have useful
work to do and need CPU time, they will get their fair share. So - if PG
is running at 99% CPU (for long periods) that implies all other
processes are either waiting for PG to respond anyway, or are waiting
for disk/network etc.

The system shouldn't feel "slow" or "unresponsive" just because one
process is busy. If it does, that might imply swap is being used, or
network or disk activity is at a maximum.

General system admin is too large a subject to deal with here, but the
tools to check documentation for are: top/free/vmstat/iostat/netstat

Oh - and make sure your configuration settings are reasonable. Read
these two performance-tuning guides:
http://www.varlena.com/varlena/Gener...bits/index.php
http://www.powerpostgresql.com/PerfList

HTH
--
Richard Huxton
Archonet Ltd


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:58 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com