Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Suspicious ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 4011 of 4424
Post > Topic >>

Re: Suspicious top output

by gsmith@[EMAIL PROTECTED] (Greg Smith) Apr 23, 2008 at 01:43 AM

On Tue, 22 Apr 2008, Rafael Barrera Oro wrote:

> Hello, i have a postgresql server running and from time to time it gets
> painfully slow.

The usual information you should always include when posting messages here

is PostgreSQL and operating system versions.

> When this happens i usually connect to the server and run a "top" 
> command

The other thing you should fire up in another window is "vmstat 1" to 
figure out just what's going on in general.  The great thing about those 
is you can save them when you're done and easily analyze the results later

easily, which is trickier to do with top.

> 71872 pgsql            1   4    0 48552K 42836K sbwait   1:41  4.79%
> postgres

Some searching found this interesting suggestion from Darcy about things 
stuck in sbwait:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/performance/2004-03/0015.html

--
* Greg Smith gsmith@[EMAIL PROTECTED]
 http://www.gregsmith.com
Baltimore, MD

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 3 Posts in Topic:
Suspicious top output
rafael@[EMAIL PROTECTED]   2008-04-22 15:34:38 
Re: Suspicious top output
ivoras@[EMAIL PROTECTED]   2008-04-23 01:50:33 
Re: Suspicious top output
gsmith@[EMAIL PROTECTED]   2008-04-23 01:43:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 8:03:26 CST 2008.