Sidekiq not deallocating memory after workers have finished

后端 未结 1 701
温柔的废话
温柔的废话 2020-12-14 06:22

I have about six Sidekiq worker which perform JSON crawling. Dependent on the endpoint\'s dataset size they finish between 1min and 4h. Esp

相关标签:
1条回答
  • 2020-12-14 07:08

    Mike Perham who wrote Sidekiq addressed this here: http://www.mikeperham.com/2009/05/25/memory-hungry-ruby-daemons/

    tl;dr version: MRI will not give the memory back, the most you can do is control the heap, and to do that, Ruby Enterprise Edition was suggested.

    Don't know that any of this helps, but that is the situation - straight from the horse's mouth.

    0 讨论(0)
提交回复
热议问题