Ruby on Rails 3.2 proxy method - multiple instances not spawning #1132

Closed
lbr88 opened this Issue May 13, 2014 · 2 comments

2 participants

@lbr88

When using Ruby on Rails >=3.2 the cherokee webserver fails to spawn multiple instances due to the fact that the rails server checks the default path tmp/pids/server.pid to see if its allready running.

{'type': "warning", 'time': "13/05/2014 07:08:33.828", 'title': "Taking source='127.0.0.1:59313' back on-line", 'code': "balancer_round_robin.c:82", 'error': "62", 'description': "The information source is being re-enabled.", 'version': "1.2.104", 'compilation_date': "May 12 2014 20:00:21", 'configure_args': " '-C' '--with-php=/usr/sbin/php5-fpm' '--with-mysql' '-C' '--with-php=/usr/sbin/php5-fpm' '--with-mysql'", 'backtrace': ""}
A server is already running. Check /home/redmine/redmine-2.5/tmp/pids/server.pid

setting -P tmp/pids/cherokee_(port).pid in the interpreters fixes this.

@skinkie
Cherokee Project member

Thank you very much!

@skinkie skinkie closed this May 16, 2014
@lbr88

Your welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment