rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / code / Atom feed
* Bug PID file dissapears if rackup is runned twice
@ 2009-08-28  9:53 Iñaki Baz Castillo
  0 siblings, 0 replies; only message in thread
From: Iñaki Baz Castillo @ 2009-08-28  9:53 UTC (permalink / raw)
  To: rack-devel

Hi, I understand the following is not an expected behavior and seems a bug:

I run "rackup" in daemon mode with a simple app (it doesn't matter
which server I use):

  ~# rackup -D -P /tmp/rack.pid example_01_rackup.ru

I check /tmp/rack.pid and it exists (ok) with value 10000.

I run again the command (without killing the previous one):

  ~# rackup -D -P /tmp/rack.pid example_01_rackup.ru

The command returns 0, the server is still running (with same PID
10000) but PID file (/tmp/rack.ipd) has dissapeared.

So I see two issues:

- 1) PID file shouldn't be deleted (obvious IMHO).
- 2) Second rackup command should return an error code.


Iñaki Baz Castillo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-28 10:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-28  9:53 Bug PID file dissapears if rackup is runned twice Iñaki Baz Castillo

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).