So no one else has had a crack at answering this :(

Is this what I should do then? Upgrade, and hope?

Do other people who run the daemons see this exorbitant resource usage?


Paul Willard
-------------------------------------------------
Web Site:              www.mcrides.co.nz
Where New Zealand motorcyclists go
-------------------------------------------------

> -----Original Message-----
> From: [email protected] [mailto:laconica-dev-
> [email protected]] On Behalf Of Paul Willard
> Sent: Tuesday, 28 July 2009 9:15 a.m.
> To: [email protected]
> Subject: Re: [Laconica-dev] CPU usage for queue daemons
> 
> Hi Craig ... good point .. I forgot to mention that :)
> 
> I'm running 0.8.0
> 
> I could have a play with 0.8.x I guess .. is it likely to have benefit?
> 
> Paul Willard
> -------------------------------------------------
> Web Site:              www.mcrides.co.nz
> Where New Zealand motorcyclists go
> 
> for the latest internet IM experience
> check out Squeak.IM
> -------------------------------------------------
> 
> -----Original Message-----
> From: Craig Andrews [mailto:[email protected]]
> Sent: Tuesday, 28 July 2009 8:56 a.m.
> To: Paul Willard
> Cc: [email protected]
> Subject: Re: [Laconica-dev] CPU usage for queue daemons
> 
> > I'm running some daemons:
> > root     17130  0.0  0.5  36576  7984 pts/0    S    08:31   0:00 php
> > ./xmppdaemon.php
> > root     17133 24.8  0.7  39296 12004 pts/0    R    08:31   2:38 php
> > ./jabberqueuehandler.php
> > root     17136 24.8  0.6  37632  9672 pts/0    R    08:31   2:38 php
> > ./publicqueuehandler.php
> > root     17139  0.0  0.6  37632  9700 pts/0    S    08:31   0:00 php
> > ./xmppconfirmhandler.php
> > root     17142 24.8  0.5  38400  9332 pts/0    R    08:31   2:37 php
> > ./ombqueuehandler.php
> >
> > And they seem to chew up an unusual amount of resources:
> >
> > PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> > 17133 root      20   0 39296  11m 3684 R 25.2  0.8   3:08.61 php
> > 17136 root      20   0 37632 9672 3132 R 25.2  0.6   3:08.49 php
> > 17142 root      20   0 38400 9332 2124 R 25.2  0.6   3:08.15 php
> >  1947 mysql     20   0  143m  66m 5860 S 21.2  4.4   1527:18 mysqld
> >
> > Is this expected?
> >
> > My system is sitting on:
> > Cpu(s):  1.9%us, 98.1%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,
> 0.0%si,
> > 0.0%st
> >
> > Quite consistently.
> >
> > The daemons get restarted every 2 hours (after reading some stuff
> about
> > memory leaks etc)
> >
> > When I stop the daemons, usage drops to almost zero.
> >
> > What's going on?
> >
> > Paul Willard
> 
> Probably not precisely the answer you're looking for, but are you
> running
> 0.8.0, or 0.8.x from git? I know Evan et al have done some work to
> improve
> utilization lately, so if you're not running 0.8.x, you may want to try
> it
> and see if it helps.
> 
> ~Craig
> 
> 
> _______________________________________________
> Laconica-dev mailing list
> [email protected]
> http://mail.laconi.ca/mailman/listinfo/laconica-dev

_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to