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.

Thin PID file is deleting but port is listening

#104

Hi,

I am using thin for my rails application. Thin pid file is deleting but not port. I am using Thin version 1.2.2 and OS : RH 4.0 EL.

Any idea why Thin pid file is deleting and how to resolve the issue.

--Sai

Reported by icewalker · July 23rd, 2009 @ 07:12 AM

State: invalid
Milestone: Future
Assigned to: James Golick James Golick

Activity

  1. OmniBus
    OmniBus

    Mine have the same problem.

    When stopping, it shows a message "Can't stop process, no PID found in tmp/pids/thin.3303.pid"

    Thin 1.2.2
    Debian 5
    Linux 2.6.26 amd64
    ruby 1.9.1p129

    It happened in older versions, in both cluster and non-cluster.

    August 22nd, 2009 @ 04:09 AM

  2. OmniBus
    OmniBus
    • Tag set to pid file fork

    This bug might be associated with fork

    For example

    class DummiesController < ActionController::Base
    
      ...
    
      def index
    
        ...
    
        pid = fork do
    
                do_something_here
    
              end
    
        Process.detach pid
    
        ...
    
      end
    
      ...
    
    end
    

    It will remove the pid file once the index method is called.

    January 6th, 2010 @ 03:36 AM

  3. macournoyer
    macournoyer
    • State changed from new to invalid

    See previous message

    February 25th, 2010 @ 04:47 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.