So, our download counts are off. There's something wrong with the cron job and it won't log *any* output as to why it's failing. Currently we have:
[rubycentral@255155-db1 ~]$ crontab -l# Gemcutter cron jobs
# Daily download rotation
# Weekly legacy index rotation - running it at 7 AM in case something goes wrong
And neither spit out anything in the log.
Right now the error I'm getting is:
[rubycentral@255155-db1 ~]$ cd /var/www/rubycentral/
gemcutter.org/current && /usr/bin/env RAILS_ENV=production HOME=/home/rubycentral RAILS_ENV=production bundle exec rake daily_cron --trace
Using /usr/local/rvm/gems/ruby-1.9.3-p0
** Invoke daily_cron (first_time)
** Invoke gemcutter:downloads:rollover (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute gemcutter:downloads:rollover
rake aborted!
stack level too deep
I vote we do a few things:
1) I have no idea why this is happening yet. If you have some time, a recent Redis dump is here:
Basically, just try to set up the app and run the rake task, see why this is happening:
3) Finally, move the Redis keys to something more robust so this doesn't happen anymore. Right now there's only 2 keys: "yesterday" and "today". We should just do daily keys, or maybe look into a different system of processing that won't fail terribly like this.
Basically these are going to take several hours, and I'm wiped out right now. I can probably tackle it tomorrow but no guarantees (and there's support issues that need urgent attention too).
-Nick