Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High number of storage chunks slows down pipeline #1975

Closed
edsiper opened this issue Feb 24, 2020 · 3 comments
Closed

High number of storage chunks slows down pipeline #1975

edsiper opened this issue Feb 24, 2020 · 3 comments
Assignees

Comments

@edsiper
Copy link
Member

edsiper commented Feb 24, 2020

Bug Report

When the storage backlog system has thousands of pending chunks, the start of the service is slow and it might slow down the delivery of data.

This issue has been reported by @rmacian. Confirmed through Zoom video session.

@edsiper
Copy link
Member Author

edsiper commented Feb 25, 2020

The root cause of the problem:

when thousands of data chunks exist, the Chunkio file handler needed to count how many chunks were up in memory, this operation was called many times generating high CPU and generating latency to the service.

The new version of Chunk I/O 1.0.1 added native counters as a state instead of count every time, no more performance issues are seeing.

Please test the following Docker image in your test environment and provide us some feedback:

edsiper/fluent-bit-1.3.9-next:1

cc: @rmacian

@rmacian
Copy link

rmacian commented Feb 25, 2020

looks good, my processing queue is being flushed

@edsiper
Copy link
Member Author

edsiper commented Feb 27, 2020

Fixed on v1.3.9 release:

https://fluentbit.io/announcements/v1.3.9/

@edsiper edsiper closed this as completed Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants