graphite-project / carbon

Carbon is one of the components of Graphite, and is responsible for receiving metrics over the network and writing them down to disk using a storage backend.
http://graphite.readthedocs.org/
Apache License 2.0
1.5k stars 490 forks source link

[Q] carbon-cache or carbon-relay log file contains binary data #912

Closed Jason-TJW closed 3 years ago

Jason-TJW commented 3 years ago

I use graphite 1.1.2 and the log file contains binary data which fills up the disk. I am not sure why it contains the binary data, please help. Thanks.

[root@pl-2 carbon-cache-a]# file /var/log/graphite/carbon-cache-a/* /var/log/graphite/carbon-cache-a/console.log: data /var/log/graphite/carbon-cache-a/listener.log: ASCII text /var/log/graphite/carbon-cache-a/query.log: ASCII text /var/log/graphite/carbon-cache-a/tagdb.log: ASCII text, with very long lines

Use vi command to check the file, I can see many special character ^@ in it.

deniszh commented 3 years ago

Hi @Jason-TJW ,

Sorry, I have no idea why could that happen. Looks like nobody else too....

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.