pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carlos H. Reimer <carlos.reimer@opendb.com.br>
To: carlos.reimer@opendb.com.br
To: pgsql-performance@postgresql.org
Subject: RES: Context switching
Date: Mon, 6 Nov 2006 16:29:13 -0200
Message-ID: <PEEPKDFEHHEMKBBFPOOKIEMLDGAA.carlos.reimer@opendb.com.br> (raw)
In-Reply-To: <PEEPKDFEHHEMKBBFPOOKKEDCDGAA.carlos.reimer@opendb.com.br>

Hi,

Sorry, but this message was already post some days before!

Thank you!

Carlos

-----Mensagem original-----
De: pgsql-performance-owner@postgresql.org
[mailto:pgsql-performance-owner@postgresql.org]Em nome de Carlos H. Reimer
Enviada em: quarta-feira, 1 de novembro de 2006 03:23
Para: pgsql-performance@postgresql.org
Assunto: [PERFORM] Context switching


  Hi,

  We've migrated one of our servers from pg 7.4 to 8.1 and from times to
times (4 hours) the server start doing a lot of context switching and all
transactions become very slow.

  The average context switching for this server as vmstat shows is 1 but
when the problem occurs it goes to 250000.

  CPU and memory usage are ok.

  What can produce this context switching storms?

  It is a box with 12GB RAM and 4 processors running RedHat Enterprise Linux
AS.

  Thank you in advance!
  Reimer
  carlos.reimer@opendb.com.br
  OpenDB Serviços e Treinamentos PostgreSQL e DB2
  Fone: 47 3327-0878 Cel: 47 9602-0151
  www.opendb.com.br

view thread (2+ messages)  latest in thread

Message-ID: <PEEPKDFEHHEMKBBFPOOKIEMLDGAA.carlos.reimer@opendb.com.br>
Permalink:  ../PEEPKDFEHHEMKBBFPOOKIEMLDGAA.carlos.reimer@opendb.com.br/
Also on:    postgresql.org/message-id/PEEPKDFEHHEMKBBFPOOKIEMLDGAA.carlos.reimer@opendb.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: carlos.reimer@opendb.com.br
  Subject: Re: Context switching
  In-Reply-To: <PEEPKDFEHHEMKBBFPOOKIEMLDGAA.carlos.reimer@opendb.com.br>
  References: <PEEPKDFEHHEMKBBFPOOKKEDCDGAA.carlos.reimer@opendb.com.br> <PEEPKDFEHHEMKBBFPOOKIEMLDGAA.carlos.reimer@opendb.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox