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 []

SystemStackError: stack level too deep

photo_small I just had some trouble running a intense ruby task. The result was following error: SystemStackError: stack level too deep /home/diaspora/diaspora/app/models/aspect_membership.rb:13:in `block in <class:AspectMembership>' /home/diaspora/diaspora/app/models/user/connecting.rb:46:in `remove_contact' /home/diaspora/diaspora/app/models/user/connecting.rb:62:in `disconnect' /home/diaspora/diaspora/app/models/aspect_membership.rb:14:in `block i []