Comments (9)
The proposed fix is now merged into the
master
branch. Please confirm if this resolves the memory leak for you.
Yes, It is effective
from vector.
Hi @biuboombiuboom ,
There's not a lot of detail here. What leads you to believe there is a memory leak? If you are feeling motivated you could try running Vector under valgrind
and providing the profile here.
from vector.
We're actually seeing a similar issue running the latest version. With a kafka source and a clickhouse sink. A sustained flow of messages seems to inevitably result in OOM. You can see the behaviour in these charts. We have very bursty workloads. Each workload burst results in sustained CPU use (makes sense) as well as continued memory growth. If the work stops - the memory goes back down. But if the work continues... it will OOM.
from vector.
ack_stream
has too many FinalizerEntry
not consumed.
Try sync store offsets,and disable BatchNotifier.
Or move ack_stream.next()
before messages.next()
& with biased
.
from vector.
I'm not clear what you mean by the following:
Try sync store offsets,and disable BatchNotifier.
The second suggestion is spot on and definitely worth a try. The ack_stream
should always be checked before consuming new events, because eventually it will run dry to allow progress for new data.
from vector.
I'm not clear what you mean by the following:
Try sync store offsets,and disable BatchNotifier.
The second suggestion is spot on and definitely worth a try. The
ack_stream
should always be checked before consuming new events, because eventually it will run dry to allow progress for new data.
Sorry ,I didn't express it clearly, please disregard the first suggestion
from vector.
I have pushed up a possible fix for this issue. If you are able to build Vector from source, check out PR #20467 and try the resulting binary.
from vector.
The proposed fix is now merged into the master
branch. Please confirm if this resolves the memory leak for you.
from vector.
Thanks for confirming! And for suggesting the original fix. I'll close this issue out.
from vector.
Related Issues (20)
- Unifi syslogs to Loki using Vector gives a no details 400 error HOT 2
- parse_grok not work? HOT 1
- An error occurred that Vector couldn't handle: failed to encode record: BufferTooSmal HOT 1
- secret type aws_secrets_manager not working with a sequence of numbers as string value HOT 3
- kubernetes_logs source metrics not available HOT 2
- Add rotate options for file sink HOT 2
- Does chproxy of clickhouse support vector data ingestion? HOT 3
- log_to_metric does not support aggregated_histogram metrics output by vector itself
- Unavailable Splunk endpoint that returns 504, breaks all other sinks and whole Vector deployment HOT 1
- Vector - Prometheus flattening the field.
- Vector fails to connect to elasticsearch sink with a SSL error when using fully qualified DNS HOT 4
- Memory usage exceeds expectations!
- vector-agent sources kubernetes_logs timezone invalid HOT 1
- SSL handshake failed on sinks.kafka HOT 2
- Loss of logs in some cases when reading cyclic log files
- Component errors metric gone HOT 3
- inotify support for kubernetes_logs HOT 1
- --watch-config hot reloading is not working with config namespacing HOT 3
- Vector fails to start with opentelemetry source configured HOT 2
- vector oom HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vector.