[rrd-users] rrdcached CMD_MAX 4096
James Bouressa
jbouressa at homeaway.com
Thu Oct 27 15:41:07 CEST 2011
I recently started using rrdcached on rrdtool 1.4.4, and have been getting
this error:
"Failed sending the values to rrdcached: No buffer space available"
When inserting really large updates for some of my bigger RRDs. Really large
being "more than 4K".
Is my reading of src/rrd_daemon.c correct (I am not a C programmer) in that
this snippet:
--------[snip]--------------------
/* max length of socket command or response */
#define CMD_MAX 4096
#define RBUF_SIZE (CMD_MAX*2)
--------[snip]--------------------
Seems to indicated that the socket will not accept a command longer than 4k
bytes?
Can this be changed safely? Should I just not use rrdcached for large
updates?
Thanks,
James.
More information about the rrd-users
mailing list