Improving update performance of munin with rrdcached: munin 1.4

  • apt-get install rrdcched
  • modify /etc/default/rrdcached
    #OPTS=""
    OPTS="-s munin -l unix:/var/run/rrdcached.sock -j /var/lib/rrdcached/journal/ -F -b /var/lib/munin/ -B"
    
  • chown -R munin.munin /var/lib/rrdcached
  • add
    export RRDCACHED_ADDRESS=/var/run/rrdcached.sock
    
    to /usr/bin/munin-cron

| Improving update performance of munin with rrdcached: munin 1.4 | | 2011.09.16-12:56.00

Errors compiling redhat6 kernel with openvz (circa 2011-09):

fs/buffer.c: In function '__set_page_dirty':
fs/buffer.c:685: error: implicit declaration of function 'ub_io_account_dirty'
make[2]: *** [fs/buffer.o] Error 1
make[2]: *** Waiting for unfinished jobs....
fs/direct-io.c: In function 'submit_page_section':
fs/direct-io.c:701: error: implicit declaration of function 'virtinfo_notifier_call'
fs/direct-io.c:701: error: 'VITYPE_IO' undeclared (first use in this function)
fs/direct-io.c:701: error: (Each undeclared identifier is reported only once
fs/direct-io.c:701: error: for each function it appears in.)
fs/direct-io.c:701: error: 'VIRTINFO_IO_PREPARE' undeclared (first use in this function)
make[2]: *** [fs/direct-io.o] Error 1
make[1]: *** [fs] Error 2




In file included from arch/x86/mm/fault.c:14:
include/linux/hugetlb.h: In function 'hstate_inode':
include/linux/hugetlb.h:255: error: implicit declaration of function 'HUGETLBFS_SB'
include/linux/hugetlb.h:255: warning: assignment makes pointer from integer without a cast
include/linux/hugetlb.h:256: error: dereferencing pointer to incomplete type
make[3]: *** [arch/x86/mm/fault.o] Error 1
make[2]: *** [arch/x86/mm] Error 2
make[1]: *** [arch/x86] Error 2




In file included from kernel/sched.c:2394:
kernel/sched_autogroup.c: In function 'autogroup_move_group':
kernel/sched_autogroup.c:145: error: expected 'while' before 'while_each_thread'
In file included from kernel/sched.c:2396:
kernel/sched_debug.c: In function 'print_cfs_rq':
kernel/sched_debug.c:180: error: implicit declaration of function 'task_group_path'
kernel/sched_debug.c:180: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
kernel/sched_debug.c:180: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
kernel/sched_debug.c: In function 'print_rt_rq':
kernel/sched_debug.c:227: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
kernel/sched_debug.c:227: warning: format '%s' expects type 'char *', but argument 3 has type 'int'
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2



In file included from kernel/sched.c:2394:
kernel/sched_autogroup.c: In function 'autogroup_move_group':
kernel/sched_autogroup.c:145: error: expected 'while' before 'while_each_thread'
make[2]: *** [kernel/sched.o] Error 1
make[1]: *** [kernel] Error 2
make[1]: Leaving directory `/home/eyck/l/vz/linux-2.6.32'



mm/page-writeback.c: In function 'balance_dirty_pages':
mm/page-writeback.c:495: error: implicit declaration of function 'get_io_ub'
mm/page-writeback.c:495: warning: initialization makes pointer from integer without a cast
mm/page-writeback.c:507: error: implicit declaration of function 'ub_dirty_limits'
mm/page-writeback.c:510: error: implicit declaration of function 'ub_dirty_pages'
mm/page-writeback.c: In function 'balance_dirty_pages_ratelimited_nr':
mm/page-writeback.c:669: error: invalid type argument of '->' (have 'int')
mm/page-writeback.c: In function 'write_cache_pages':
mm/page-writeback.c:966: error: implicit declaration of function 'virtinfo_notifier_call'
mm/page-writeback.c:966: error: 'VITYPE_IO' undeclared (first use in this function)
mm/page-writeback.c:966: error: (Each undeclared identifier is reported only once
mm/page-writeback.c:966: error: for each function it appears in.)
mm/page-writeback.c:966: error: 'VIRTINFO_IO_PREPARE' undeclared (first use in this function)
mm/page-writeback.c: In function '__set_page_dirty_nobuffers':
mm/page-writeback.c:1199: error: implicit declaration of function 'ub_io_account_dirty'
mm/page-writeback.c: In function 'test_set_page_writeback':
mm/page-writeback.c:1414: error: implicit declaration of function 'ub_io_account_clean'
make[2]: *** [mm/page-writeback.o] Error 1
make[1]: *** [mm] Error 2

| Errors compiling redhat6 kernel with openvz (circa 2011-09): | | 2011.09.06-11:45.00

 Q: Where's the Lone Ranger take his garbage? A: To the dump, to the dump, to the dump dump dump! Q: What's the Pink Panther say when he steps on an ant hill? A: Dead ant, dead ant, dead ant dead ant dead ant...