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 > Re: statistics ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 8 Topic 15488 of 16953
Post > Topic >>

Re: statistics collector process is thra****ng my cpu

by magnus@[EMAIL PROTECTED] (Magnus Hagander) May 9, 2008 at 03:55 PM

William Temperley wrote:
> On Thu, May 8, 2008 at 6:14 PM, Magnus Hagander <magnus@[EMAIL PROTECTED]
>
> wrote:
> > William Temperley wrote:
> >> >  >
> >> >  > Any ideas why this might be happening, and how I can stop it?
> >> >
> >> >  It'd be interesting to know what the stats collector is actually
> >> > doing. Could you, using Process Explorer or a debugger, get a
> >> > stack trace from that process while it's in the tra****ng state?
> >> >
> >> >  //Magnus
> >> >
> >>
> >> Certainly, but I'll have to wait 'til it does it again, it doesn't
> >> happen all the time.
> >> What would you like to know from Process Explorer?
> >
> > Get the backtrace from hung process. Find the process in the list,
> > open it. Go to the tab "Threads", find the thread that's using a
> > lot of CPU (or at least has a lot of ocntext switchs), and click
> > the Stack button. That should give you a window with a backtrace.
> >
> > //Magnus
> >
> 
> Ok, got the little blighter. Below are 4 stack traces taken at random
> times. Doesn't seem to be doing much I/O (16 reads and 167 other in 3
> hours). The memory usage seems to be static (3.7MB) even with high
> database usage (vacuum, read, update).

Hmm. They all show the same function, but it's not a function being
used in the stats collector. I think I missed a step in the
instructions - you need to download the symbols for the server (make
sure you get the same version!) and configure process explorer to use
those (IIRC, it can use detached symbols), then do the same things
again. Sorry for missing that in the first instructions!

//Magus

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




 8 Posts in Topic:
statistics collector process is thrashing my cpu
willtemperley@[EMAIL PROT  2008-05-08 10:29:05 
Re: statistics collector process is thrashing my cpu
magnus@[EMAIL PROTECTED]   2008-05-08 11:37:01 
Re: statistics collector process is thrashing my cpu
willtemperley@[EMAIL PROT  2008-05-08 11:20:14 
Re: statistics collector process is thrashing my cpu
magnus@[EMAIL PROTECTED]   2008-05-08 19:14:34 
Re: statistics collector process is thrashing my cpu
willtemperley@[EMAIL PROT  2008-05-08 23:55:56 
Re: statistics collector process is thrashing my cpu
magnus@[EMAIL PROTECTED]   2008-05-09 15:55:16 
Re: statistics collector process is thrashing my cpu
magnus@[EMAIL PROTECTED]   2008-05-23 15:33:38 
Re: statistics collector process is thrashing my cpu
willtemperley@[EMAIL PROT  2008-05-26 21:36:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sun Oct 12 9:55:25 CDT 2008.