Re: [GENERAL] Why are IDLE connections using cpu according to TOP.

2011-06-04 Thread Tom Lane
Scott Marlowe writes: > On Fri, Jun 3, 2011 at 3:15 PM, bubba postgres > wrote: >> I have an overloaded DB and I see several IDLE connections that are using >> significant CPU.. (Not Idle in transaction) >> Why would an idle process be eating so much cpu? Or is it not actually idle? > Because t

Re: [GENERAL] Why are IDLE connections using cpu according to TOP.

2011-06-03 Thread Scott Marlowe
On Fri, Jun 3, 2011 at 3:15 PM, bubba postgres wrote: > > I have an overloaded DB and I see several IDLE connections that are using > significant CPU.. (Not Idle in transaction) > Why would an idle process be eating so much cpu? Or is it not actually idle? Because there's often a difference in ti

[GENERAL] Why are IDLE connections using cpu according to TOP.

2011-06-03 Thread bubba postgres
I have an overloaded DB and I see several IDLE connections that are using significant CPU.. (Not Idle in transaction) Why would an idle process be eating so much cpu? Or is it not actually idle? Here is an example from pg_top: last pid: 11821; load avg: 6.11, 6.32, 7.64; up 1+21:05:31