#27 ✓resolved
macournoyer

pids gone missing after the second 'thin start'

Reported by macournoyer | January 30th, 2008 @ 10:26 AM | in 0.6.3

Starting thin twice w/ the same pid file and without stopping erases the pid file.

[root@localhost railstest]# thin start -s 2 
Starting server on 0.0.0.0:3000 ... 
Starting server on 0.0.0.0:3001 ... 
[root@localhost railstest]# ls -al tmp/pids/ 
total 32 
drwxr-xr-x 2 root root 4096 Jan 29 17:50 . 
drwxr-xr-x 6 root root 4096 Jan 28 21:02 .. 
-rw-r--r-- 1 root root    5 Jan 29 17:50 thin.3000.pid 
-rw-r--r-- 1 root root    5 Jan 29 17:50 thin.3001.pid 
[root@localhost railstest]# thin start -s 2 
Starting server on 0.0.0.0:3000 ... 
Starting server on 0.0.0.0:3001 ... 
[root@localhost railstest]# ls -al tmp/pids/ 
total 16 
drwxr-xr-x 2 root root 4096 Jan 29 17:50 . 
drwxr-xr-x 6 root root 4096 Jan 28 21:02 .. 

http://groups.google.com/group/t...

Comments and changes to this ticket

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

Tags

Pages