Google Groups Home
Help | Sign in
thin hangs when you restart when there is no PID
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
dereky  
View profile
 More options May 14, 4:20 pm
From: dereky <derek...@gmail.com>
Date: Wed, 14 May 2008 13:20:54 -0700 (PDT)
Local: Wed, May 14 2008 4:20 pm
Subject: thin hangs when you restart when there is no PID
This may be a bit of a strange case, but i'm using version 0.82 and if
i don't have a running thin process and try to do a restart, the
process currently hangs.

If I execute these commands, the terminal output 'Can't stop
process...' is the last thing I see, ie I never get the cursor back.

[dereky@thin]$ sudo thin stop -d -C /etc/thin/back_end.conf
Sending QUIT signal to process 2046 ...
[dereky@thin]$ sudo thin restart -d -C /etc/thin/back_end.conf
Can't stop process, no PID found in tmp/pids/thin.pid

I can see that this still running by in another window on the same
box..
ps -ef | grep thin
root      2060  1971 99 16:05 pts/0    00:02:43 ruby /usr/bin/thin
restart -d -C /etc/thin/back_end.conf

Has anyone else seen this?  My fear is that if someone issues a
capistrano stop then a restart, or we do a restart on an idle server,
it won't start up cleanly which is what I really want.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dereky  
View profile
 More options May 14, 4:43 pm
From: dereky <derek...@gmail.com>
Date: Wed, 14 May 2008 13:43:29 -0700 (PDT)
Local: Wed, May 14 2008 4:43 pm
Subject: Re: thin hangs when you restart when there is no PID
sorry meant version 0.80..

On May 14, 4:20 pm, dereky <derek...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
macournoyer  
View profile
 More options May 14, 7:42 pm
From: macournoyer <macourno...@gmail.com>
Date: Wed, 14 May 2008 16:42:44 -0700 (PDT)
Local: Wed, May 14 2008 7:42 pm
Subject: Re: thin hangs when you restart when there is no PID
Seems to be a bug w/ restart for a single server, can you create a
ticket @ http://thin.lighthouseapp.com/projects/7212-thin/overview

As a workaround you can force thin to cluster mode by specify -s1
option or "servers: 1" in your config file.

On May 14, 4:43 pm, dereky <derek...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dereky  
View profile
 More options May 15, 5:55 pm
From: dereky <derek...@gmail.com>
Date: Thu, 15 May 2008 14:55:00 -0700 (PDT)
Subject: Re: thin hangs when you restart when there is no PID
Thanks for the workaround, ticket #67 created in the meanwhile.

http://thin.lighthouseapp.com/projects/7212-thin/tickets/67-thin-hang...

Thanks,
D

On May 14, 7:42 pm, macournoyer <macourno...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google