Projects & Stories

Sidekiq 3 Memory Killer

photo_small My Sidekiq 3 installation seams to be very hungry in respect of memory. If you dig through the Net you'll find a lot of similar reports. For e.g. the unicorn web worker a memory-killer script exists which should prevent running into Madland. So I thought I take an example and do a similar thing for the sidekiq workers. If you give them time and send a graceful kill signal there shouldn't be any data-loss either. #!/bin/bash # check if script i []