V
V
Vayladion Gognazdiak2021-08-19 12:12:56
Ruby on Rails
Vayladion Gognazdiak, 2021-08-19 12:12:56

Where is rails + sidekiq memory leaking?

Available:
bare application rails new side_test on rails 6.1.4, ruby ​​2.7.4
sidekiq 6.2.1

Runs one queue.

2021-08-19T08:29:44.670Z pid=40631 tid=ryn INFO: Booted Rails 6.1.4 application in development environment
2021-08-19T08:29:44.670Z pid=40631 tid=ryn INFO: Running in ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [x86_64-linux]
2021-08-19T08:29:44.670Z pid=40631 tid=ryn INFO: See LICENSE and the LGPL-3.0 for licensing details.
2021-08-19T08:29:44.671Z pid=40631 tid=ryn INFO: Upgrade to Sidekiq Pro for more features and support: https://sidekiq.org
2021-08-19T08:29:44.671Z pid=40631 tid=ryn INFO: Booting Sidekiq 6.2.1 with redis options {:url=>"redis://localhost:6379/0"}
linux]

At startup it eats 91964Kb
After almost 40 minutes it's already 110 MB
At the same time there were no jobs Where is the
611e205e8150e543712872.png
611e20693396b873267869.png

memory leaking and what is the reason?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Visioner, 2021-08-19
@Visioner

How about in a day or two? well, besides, you don’t need to check it in the dev environment, test it in production, you can already judge whether the memory is leaking or not.

R
Roman Mirilaczvili, 2021-08-22
@2ord

I'd install an APM gem like New Relic / Scout - anyone that can monitor Sidekiq.
https://buildingvts.com/monitor-and-debug-bottlene...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question