#104 ✓invalid
icewalker

Thin PID file is deleting but port is listening

Reported by icewalker | July 23rd, 2009 @ 07:12 AM | 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 August 22nd, 2009 @ 04:09 AM

    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 January 6th, 2010 @ 03:36 AM

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

    • 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