Problem when restarting cluster
Reported by DAddYE | February 12th, 2008 @ 11:53 AM | in 0.7.0
Sometimes when I restarted my cluster I have this error that I can't fix.
>> Writing PID to /var/www/apps/myapp/current/tmp/pids/thin.4360.pid
>> Thin web server (v0.6.3 codename Ninja Cookie)
>> Listening on 127.0.0.1:4360, CTRL+C to stop
>> Exiting!
/usr/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:500:in `start_tcp_server': no acceptor (RuntimeError)
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:500:in `start_server'
from /usr/lib/ruby/gems/1.8/gems/thin-0.6.3/lib/thin/connectors/tcp_server.rb:16:in `connect'
from /usr/lib/ruby/gems/1.8/gems/thin-0.6.3/lib/thin/server.rb:113:in `start'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:1086:in `call'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:1086:in `event_callback'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run_machine'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.10.0/lib/eventmachine.rb:224:in `run'
from /usr/lib/ruby/gems/1.8/gems/thin-0.6.3/lib/thin/server.rb:113:in `start'
from /usr/lib/ruby/gems/1.8/gems/thin-0.6.3/lib/thin/controllers/controller.rb:59:in `start'
from /usr/lib/ruby/gems/1.8/gems/thin-0.6.3/lib/thin/runner.rb:143:in `send'
from /usr/lib/ruby/gems/1.8/gems/thin-0.6.3/lib/thin/runner.rb:143:in `run_command'
from /usr/lib/ruby/gems/1.8/gems/thin-0.6.3/lib/thin/runner.rb:114:in `run!'
from /usr/lib/ruby/gems/1.8/gems/thin-0.6.3/bin/thin:6
from /usr/bin/thin:16:in `load'
from /usr/bin/thin:16
Comments and changes to this ticket
-
macournoyer February 12th, 2008 @ 12:03 PM
- Milestone set to 0.7.0
- State changed from new to open
Can you tell me exactly what commands you ran
-
DAddYE February 12th, 2008 @ 12:05 PM
I run thin through config file:
pid: /var/run/thin_cluster/myapp.pid log: log/thin.log timeout: 60 port: 4660 chdir: /var/www/apps/myapp/current environment: production daemonize: true address: 127.0.0.1
-
macournoyer February 17th, 2008 @ 06:08 PM
- State changed from open to resolved
I was not able to reproduce
Was it fixed w/ http://groups.google.com/group/t... ?
If not, plz reopen the ticket.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป