Mike Perham
Mike Perham
We're using redis-rack-cache for our store. We found that our Redis install was quickly taking all available memory, even though our pages are `Cache-Control: public, max-age=180`. What I discovered is...
You can't take a mutex from a signal handler in Ruby 2.0+. Here's what Sidekiq does to get around this limitation: https://github.com/mperham/sidekiq/blob/master/lib/sidekiq/cli.rb#L73 ``` log writing failed. can't be called from...
I have master localhost:7777 and slave localhost:8888 I take down 7777 and everything switches over to 8888 without a problem. I bring 7777 back up and Redis properly switches itself...
I'd like to be able to get very simple info out of redis_node_manager without having to do anything. I think the procline would be a great idea here: Current procline:...
It is not uncommon for people to get connection pool timeouts because all connections have been checked out. Connection leakage happens and being able to track down which Thread checked...
Alas, your EPEL instructions don't work for CentOS 7. Any chance we can get a freight el/7 rpm? ``` $ sudo yum repolist repo id repo name status base/7/x86_64 CentOS-7...
We have a shipment where UPS is returning this: ``` 1SuccessLBS0.0003UPS GROUND1ZR08E8203111579131ZR08E820311157913LBS0.00 ``` I suspect this is a brand new shipment where UPS doesn't have any detail in its database...
Since RubyDNS will often bind to privileged port 53, it will be run as root. Ideally it will drop after binding. http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/ ```ruby uid = Etc.getpwnam("nobody").uid Process::Sys.setuid(uid) ``` Pseudocode: ```ruby...
Ruby allows you to use `
This branch holds all pending Sidekiq 7.0 changes. There is no timeline and we are still months away from release. Assume Summer 2022. - [x] #5076 - [x] remove redis-namespace...