#104 ✓invalid
icewalker

Thin PID file is deleting but port is listening

Reported by icewalker | 2009-07-23 07:12:09 UTC | in Future

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

Comments and changes to this ticket

  • OmniBus

    OmniBus 2009-08-22 04:09:03 UTC

    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.

  • OmniBus

    OmniBus 2010-01-06 03:36:21 UTC

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

  • macournoyer

    macournoyer 2010-02-25 16:47:54 UTC

    • State changed from “new” to “invalid”

    See previous message

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.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages