[collectd] 5.3.0 format_graphite: target buffer too small

Tom Lanyon tom at oneshoeco.com
Wed May 29 16:05:48 CEST 2013


Hi octo,

On 29/05/2013, at 10:19 PM, Florian Forster <octo at collectd.org> wrote:
> that buffer is 1428 bytes. With the types that are defined by default,
> you should be able to fit at least 2-3 values in that buffer.
> 
> Did you define any custom types? How many "data sources" do they have?
> A type with an excessive amount of data sources would be the most
> straight forward explanation for this behavior.

We have a "rabbitmq" type for one of our custom plugins:

	rabbitmq messages:GAUGE:0:U, messages_rate:GAUGE:0:U, messages_unacknolwedged:GAUGE:0:U, messages_unacknowledged_rate:GAUGE:0:U, messages_ready:GAUGE:0:U, message_ready_rate:GAUGE:0:U, memory:GAUGE:0:U, consumers:GAUGE:0:U, publish:GAUGE:0:U, publish_rate:GAUGE:0:U, deliver_no_ack:GAUGE:0:U, deliver_no_ack_rate:GAUGE:0:U, deliver_get:GAUGE:0:U, deliver_get_rate:GAUGE:0:U 

...which seems to have 14 data sources.  I'm not sure whether that's excessive or not and I didn't write the plugin so I'm not entirely sure what it does. :)

Is there a way to raise that buffer, or do I need to re-compile to do so?  Otherwise do we need to split these types into smaller ones with less data sources (if possible)?

Regards,
Tom




More information about the collectd mailing list