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 General > Postgresql 8.3:...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 15234 of 17602
Post > Topic >>

Postgresql 8.3: stats collector process eat all CPU all time

by mboguk@[EMAIL PROTECTED] (Maxim Boguk) Apr 9, 2008 at 07:14 PM

details:

db version: postgres (PostgreSQL) 8.3.0
OS version: FreeBSD 7.0-RELEASE

stats collector eating whole single CPU last week or so...

TOP lookin like:

   PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
69360 pgsql       1 124    0 22380K  5548K CPU0   1 258.6H 99.02% postgres

where 69360 is:
USER    PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED      TIME COMMAND
pgsql 69360 100,0  0,1 22380  5548  ??  Rs   20мар08 15513:55,99
postgres: stats collector process    (postgres)

Server is dedicated server for DB... under small load so stats collector
eat more CPU then all other db activity by 5-10x.

Stats collector itself doing his work (eg i see all required requests in
pg_stat_activity and  counts work well too).

And stat collector add a lot system load on server.

ktrace/kdump this process show just one sequence:

  69360 postgres CALL  poll(0x7fffffffd4e0,0x1,0x7d0)
  69360 postgres RET   poll -1 errno 4 Interrupted system call
  69360 postgres CALL  poll(0x7fffffffd4e0,0x1,0x7d0)
  69360 postgres RET   poll -1 errno 4 Interrupted system call
  69360 postgres CALL  poll(0x7fffffffd4e0,0x1,0x7d0)
  69360 postgres RET   poll -1 errno 4 Interrupted system call
  69360 postgres CALL  poll(0x7fffffffd4e0,0x1,0x7d0)
  69360 postgres RET   poll -1 errno 4 Interrupted system call
  69360 postgres CALL  poll(0x7fffffffd4e0,0x1,0x7d0)

kdump.out for 1 second size over 10Mbytes.


Look like something wrong going on.

Any idea what happend and how to fix situation (after postgres reboot
situation become bad again in few days).

-- 
Maxim Boguk

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




 2 Posts in Topic:
Postgresql 8.3: stats collector process eat all CPU all time
mboguk@[EMAIL PROTECTED]   2008-04-09 19:14:57 
Re: Postgresql 8.3: stats collector process eat all CPU all time
tgl@[EMAIL PROTECTED] (T  2008-04-09 13:39:29 

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 19:25:09 CST 2008.