deleting restart.txt causes passenger to restart

53 views
Skip to first unread message

Chris

unread,
May 2, 2012, 7:59:03 PM5/2/12
to phusion-...@googlegroups.com
Hi,

I noticed after we upgraded to Ruby 1.9.3p125, passenger restarts when the restart.txt file gets deleted or disappears (e.g. when capistrano symlinks in the newest release).  This is on passenger 3.0.11 running lucid.

Thanks,
Chris

Marlin Pierce

unread,
May 30, 2012, 8:27:45 AM5/30/12
to phusion-...@googlegroups.com
Are you saying the problem is that it restarts before Capistrano re-creates the sym link?  Because you want passenger to restart when you do a Capistrano deployment.

Nate Mueller

unread,
May 30, 2012, 10:10:25 AM5/30/12
to phusion-...@googlegroups.com
I've seen this before also.  If it checks while the file is missing it will restart and the restart again once the file is recreated.  We keep restart files outside of our deploy directory to avoid the problem.

    --Nate

--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To view this discussion on the web visit https://groups.google.com/d/msg/phusion-passenger/-/l3WdtzrFFAMJ.

To post to this group, send email to phusion-...@googlegroups.com.
To unsubscribe from this group, send email to phusion-passen...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/phusion-passenger?hl=en.

Hongli Lai

unread,
Jun 1, 2012, 2:01:55 AM6/1/12
to phusion-...@googlegroups.com
I've filed an issue for this:
http://code.google.com/p/phusion-passenger/issues/detail?id=767

On Wed, May 30, 2012 at 4:10 PM, Nate Mueller <na...@nearbuysystems.com> wrote:
> I've seen this before also.  If it checks while the file is missing it will
> restart and the restart again once the file is recreated.  We keep restart
> files outside of our deploy directory to avoid the problem.

--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Reply all
Reply to author
Forward
0 new messages