When uploads to Clickhouse are failing for any reason (e.g. we're restarting it) then carbon-clickhouse goes into CPU-eating loop consuming more and more resources when more files are accumulated in buffer. It goes up to 200-400% CPU in less then a minute.
Let's add a 1-second delay after the uploading error to avoid this.
When uploads to Clickhouse are failing for any reason (e.g. we're restarting it) then
carbon-clickhouse
goes into CPU-eating loop consuming more and more resources when more files are accumulated in buffer. It goes up to 200-400% CPU in less then a minute.Let's add a 1-second delay after the uploading error to avoid this.