[collectd] collectd versus rrdcollect-remote rrdtool [network] IO

Greg greg at easyflirt.com
Tue Jan 20 14:03:13 CET 2009


Florian,
> You restared collectd, right? You can check the current queue length
>   

Sure:
epoc-02:/usr/src# ps auxw | grep collectd
root     12366  0.0  0.0   2632   296 ?        Ss   11:10   0:00 
/usr/sbin/collectdmon -P /var/run/collectdmon.pid -- -C 
/etc/collectd/collectd.conf
root     12367  6.6  1.0 187680 42228 ?        Sl   11:10   0:39 
collectd -C /etc/collectd/collectd.conf -f
root     12751  0.0  0.0   4404   732 pts/1    S+   11:20   0:00 grep 
collectd
epoc-02:/usr/src# /etc/init.d/collectd restart
Restarting statistics collection and monitoring daemon: collectd ..
epoc-02:/usr/src# ps auxw | grep collectd
root     12808  0.0  0.0   2636   300 ?        Ss   11:21   0:00 
/usr/sbin/collectdmon -P /var/run/collectdmon.pid -- -C 
/etc/collectd/collectd.conf
root     12809  9.0  0.7 175048 29440 ?        Sl   11:21   0:00 
collectd -C /etc/collectd/collectd.conf -f
root     12831  0.0  0.0   4400   728 pts/1    S+   11:21   0:00 grep 
collectd

> using something like that:
>   netstat -ln | grep Recv-Q; while sleep 1; do netstat -ln | grep 25826; done
>   

I have increased again to:
net.core.rmem_default = 1048576
net.core.rmem_max = 16777216

It helps, but I still have missing values.


udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp   133280      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp   146608      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp    62832      0 10.0.0.11:25826         0.0.0.0:*
udp   175168      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*
udp        0      0 10.0.0.11:25826         0.0.0.0:*

> If the queue is always empty, the problem is somewhere else.
>
> Can you tell me a bit more about the machine you're using and how many
> RRD files you're updating? How much memory do you have? How many CPUs
> are installed? And so on ;)
>   

5938 RRD files
4GB RAM
8 cores @2.4GHz
2x 146GB SAS 10K 2.5" RAID1
ext3 with default mount options, no tuning

-- 
Greg




More information about the collectd mailing list