Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Problem when restarting cluster

#39

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

Reported by DAddYE · February 12th, 2008 @ 11:53 AM

State: resolved
Milestone: 0.7.0
Assigned to: macournoyer macournoyer

Activity

  1. macournoyer
    macournoyer
    • Milestone set to 0.7.0
    • State changed from new to open

    Can you tell me exactly what commands you ran

    February 12th, 2008 @ 12:03 PM

  2. DAddYE
    DAddYE

    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
    

    February 12th, 2008 @ 12:05 PM

  3. macournoyer
    macournoyer
    • 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.

    February 17th, 2008 @ 06:08 PM

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.