From: | "Brendan Hill" <brendanh(at)jims(dot)net> |
---|---|
To: | "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Idle processes chewing up CPU? |
Date: | 2009-07-29 01:17:44 |
Message-ID: | 1abd01ca0fea$61c89660$2559c320$@net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Tom,
Given it's on Windows, any suggestion for how I would get hold of this?
(Process Monitor tool perhaps?)
Regards,
-Brendan
-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Wednesday, 29 July 2009 4:13 AM
To: Brendan Hill
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Idle processes chewing up CPU?
"Brendan Hill" <brendanh(at)jims(dot)net> writes:
> Using the Process Explorer tool, I've noticed that a child postgres.exe is
> chewing up 25% of the CPU usage each (we have two dual-core CPUs,
presumably
> it's chewing up one core). Using SELECT * FROM pg_stat_activity, I located
> the process id (#3884), and it showed:
> <IDLE>
Hmph. When a new command is received, there's some amount of parsing
overhead that happens before it changes the status display to not-IDLE,
but it shouldn't be minutes' worth. Can you get a stack trace next time
that happens?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Uckun | 2009-07-29 01:30:33 | Re: A question about the permissions |
Previous Message | David Fetter | 2009-07-29 00:10:28 | Re: Video available for PGDay SJC '09 |