Ruby - No Pid Found in Tmp/Pids/Thin.Pid (Thin::Pidfilenotfound)

Can't stop process, no PID found in tmp/pids/thin.8080.pid (Thin::PidFileNotFound)

There is no thin process running on your server, that's why you're getting the Can't stop process, no PID found error. I suggest starting thin manually so your deploy script can then successfully restart it.

Rails Thin Servers no PID found

I had exactly the same annoying problem

I've found that if the server crashes on startup, the pid file gets created but there is no pid in the file. Try cat'ing the log file for the server ./logs/thin.3001.log and look for errors. You could also try starting the server manually via

rails s -p 3000

and see if there are any errors thrown.

Good luck

Chris

Rails thin stop using pid

Just look for the current Thin pid:

cat tmp/pids/server.pid

It will give you the current pid like for instance 6458.
Then just issue a:

kill -9 6458


Related Topics



Leave a reply



Submit