Graceful restarting specific Rails app

Discussion in 'Feedback/Feature Requests' started by subBlue, Oct 23, 2006.

  1. subBlue

    subBlue New Member

    We are running over 20 Rails powered websites on our server. Currently when we update one of the sites we need to do a graceful restart to reload the updated app with the changes. I was wondering if it would be possible in a future version of LS to selectively restart specific apps rather than the whole server?
  2. xing

    xing LiteSpeed Staff

    It is a possible future but will be very low on our developement roadmap priority.

    Our graceful restart feature has zero down-time so the benefit of a per app restart is currently low.
  3. mabonyi

    mabonyi New Member

    Seconded

    I would like to second that request for selective restarting. With a number of persistent external applications like Rails in a shared hosting environment, it's an unnecessary burst of CPU to reload all of the applications each time one of them needs to be uploaded. This is particularly annoying with a capistrano deployment for Rails. It's the primary reason I suggest to customers the use of Mongrel instead of LSAPI.

    For the Ruby LSAPI, couldn't you just make a lswsctrl sighup <extapp_name>? That would be very useful. And just being able to do it through the web admin interface would be a great start.


    By the way, LSWS + LSAPI is pretty amazing irrespective of this fault. Please keep up the good work.
  4. xing

    xing LiteSpeed Staff

    LiteSpeed is usually very pro-active when it comes to user requests. The more users request something, the higher it climbs on the priority list.

    mabonyi, we here at litespeed are looking for someone to contribute a capistrano on litespeed how-to/wiki. We would really appreciate it as it would help our growing Ruby user base quite a bit. If you are willing, let me know at xing@litespeedtech.com. We'll also throw a free enterprise license into the pot. This goes to anyone willing to contribute a Capistrano/LiteSpeed wiki.
  5. mistwang

    mistwang LiteSpeed Staff

    I put it on our to-do list. :)

Share This Page