Hi,

I’m using TCPOutput to relay data to another Heka instance and I quite often 
see that a on-disk
buffer grows too much.

Today’s case:

/var/cache/hekad/output_queue/relay_output# ls -l
total 9784788
-rw-r--r-- 1 root root 10019573004 Oct 31 17:37 30.log
-rw-r--r-- 1 root root          14 Oct 31 17:37 checkpoint.txt
root@r-jp-cms:/var/cache/hekad/output_queue/relay_output# cat checkpoint.txt
30 10019808619
(the difference in numbers could have been caused by me running cat command 
after some short delay)

At the same time I see the metrics emitted from this host by this output as I 
actually get alerted on them which helped me to find this.
After I restart Heka the file shrinks and starts to grow from the very low size.


Here is a section from my config file for relay_output:

[relay_output]
type = "TcpOutput"
address = "my.secret.domain:9123"
message_matcher = "TRUE"

I have no section for buffering for this plugin (nor for any other plugin) and 
have no other TcpOutputs.

The docs at http://hekad.readthedocs.org/en/v0.10.0b1/buffering.html say that 
the file should grow
no larger that 128Mb by default but in the above case it is already 10Gb and 
growing.

Is it the default different to that specified in docs or do I miss something 
else in configuration?


I’m running Heka 0.10.0b from GH releases page on Ubuntu 12.04


Thanks,
Timur
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to