[collectd] Collectd and load average
Florian Forster
octo at verplant.org
Thu Apr 23 09:10:15 CEST 2009
Hi Valentino,
On Wed, Apr 22, 2009 at 04:16:13PM -0700, Valentino Volonghi wrote:
>
> On Apr 22, 2009, at 2:24 PM, Florian Forster wrote:
> > hm, sounds nasty.. What state is the process in when this condition
> > occurs? Running (`R' in `top')? Waiting for IO (`D' in `top')? And
> > which process is using the other 10% of CPU? Is that a multi
> > processor machine?
>
> From what I can see it's always in S.
`S' is sleeping. The process shouldn't use any CPU time in that state..?
That's weird..
> In the meantime I changed the value of CacheTimeout and CacheFlush to
> be closed to each other like this:
>
> <Plugin rrdtool>
> DataDir "/opt/collectd/var/lib/collectd/rrd"
> CacheTimeout 450
> CacheFlush 900
> </Plugin>
I don't think `CacheFlush' is involved in this. Setting it to 900
seconds is very likely a unnecessarily low value.
If your load is related to writing RRD files (how many do you have of
those?), you should try setting the `WritesPerSecond' option. Setting it
to `10' will mean that writing 300 RRD files will take 30 seconds, but
you shouldn't be able to see *any* problem in the load then ;)
Regards,
-octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090423/066b9acc/attachment.pgp
More information about the collectd
mailing list