Linear Increase in Memory Utilization
Opened this issue · 2 comments
After installing this gem our memory utilization started increasing linearly instead of leveling off after startup of the application as it had previously. Removing the gem resolved this.
Our configuration was pretty simple:
config.server_middleware do |chain|
chain.add(
Sidekiq::Middleware::Server::Datadog,
metric_name: "ihub.sidekiq.job",
tags: job_tags
)
end
The gem did not collect the metrics we were looking for because of how we are running Sidekiq jobs, but I thought it would be useful to capture this potential issue in case other people are see it. Happy to provide any other information if it would be useful.
@dmagliola is that something you could possibly investigate? Sounds like something is not being properly flushed in Datadog::Statsd
. I don't us accumulating anything so the leak must be there somewhere.
@mxmCherry if you have a spare moment, would you be able to take a look?