Are there still plans to support passenger?

Discussion in 'Feedback/Feature Requests' started by Redcavalier, Jun 30, 2016.

  1. Redcavalier

    Redcavalier New Member

    We are currently in a situation where we need to have node.js work in a shared hosting environment. The big issue here is that litespeed can only proxy to node.js. Considering that, when node.js has finished serving a page, it will not know where to serve the page. Incidentally, you can only have one account use node.js on your shared hosting, else it will not work properly.

    Apache can use passenger to run node.js pages, which works well in our shared hosting environment. Is there any plan to have passenger work with litespeed?
     
  2. mistwang

    mistwang LiteSpeed Staff

    Are you talking about CloudLinux Ruby/Python/NodeJS selector? We have that on our to-do list, but lower priority.
    Is NodeJS your main concern? mod_passenger is a big project. It is a majro effort to make LiteSpeed compatible with mod_passenger. we need to evaluate the amount of work involved and prioritize it.
    We will have some thing for that eventually.

    I think LiteSpeed works fine with current cPanel's nodeJS setup, they start nodeJS servers for different account on different port.
     
  3. Redcavalier

    Redcavalier New Member

    Yes, it's for a ruby/python/NodeJS selector, sorry for the confusion. We actually coded our own NodeJS selector and we would need passenger for it to work with litespeed. Of course, if you guys provide your own version selector, we'll use that instead. It's a fairly important feature which will make us decide which webserver we will use for this current infrastructure we are building.
     
  4. Tony

    Tony Well-Known Member

    Do you have any estimate on when we can expect something? Is it something we can expect this year? Or is it really far off? We're having more and more users asking about different versions of Ruby/Python and with that of course mod_passenger support as well.
     
  5. mistwang

    mistwang LiteSpeed Staff

    Definitely within this year. we are building something to match mod_passenger functions.
     
  6. wanah

    wanah Well-Known Member

    Great news, I'm very excited about getting Cloudlinux Ruby/Python selector working :)
    For nodejs they haven't released nodejs selector yet, but when they do release it it will be very important too.
     
  7. Hedloff

    Hedloff Well-Known Member

    We would also be happy to see this supported :)
     
  8. wanah

    wanah Well-Known Member

    How is the developpement going ? Is this still on track to be released this year ?
     
  9. mistwang

    mistwang LiteSpeed Staff

    Ok, guys, mod_passenger based CloudLinux ruby/python selector support has been added to 5.2RC1, please help us test it.

    The steps required, is
    1. make sure ruby/python selector works properly under Apache (follow CloudLinux instruction to install required packages)
    2. install/upgrade to 5.2RC1 with command
    3. run script to install required ruby/python lsapi modules
    4. switch to LiteSpeed and try a ruby/python app.
     
  10. wanah

    wanah Well-Known Member

    Good news ! Thanks :)
     
  11. Tony

    Tony Well-Known Member

    When do you expect a stable version of 5.2? The reason I ask is cPanel as also just added mod_passenger support in cPanel 66 meaning we'll be at a disadvantage when 66 is stable as Apache hosts will be able to offer newer versions of Ruby on Rails.
     
  12. mistwang

    mistwang LiteSpeed Staff

    We have added the feature to work with CL ruby/python selector. there is some stability issue with certain version of Rails + Ruby combination, trigger a ruby internal crash, need to track it after we release the pagespeed support.
     
  13. wanah

    wanah Well-Known Member

    Hello, have you had any luck with tracking the internal rub crash ?

    We're very excited about LS 5.2 but can't use it in production until it's officially stable :)
     
  14. hendranata

    hendranata Member

    does anyone have tried before?
     
  15. wanah

    wanah Well-Known Member

    We updated one of our servers to LiteSpeed 5.2 two days ago and so far it's working well.
     
    NiteWave likes this.
  16. hendranata

    hendranata Member

    did u try to run nodejs + mod_passenger?
     
  17. wanah

    wanah Well-Known Member

    It's support for CloudLinux's Ruby and Python selectors. CloudLinux doesn't have nodejs selector yet.
     
  18. hendranata

    hendranata Member

    So
    so after using 5.2.1 and we just simply run this
    /usr/local/lsws/admin/misc/enable_ruby_python_selector.sh ?

    Also install mod-passenger from EA4?
     
  19. wanah

    wanah Well-Known Member

    No, EA4 mod-passenger is for Apache not LiteSpeed. We just updated LiteSpeed and ran the enable_ruby_python_selector.sh command.
     
  20. hendranata

    hendranata Member

    okay
    which mod_passenger version did litespeed used?
     

Share This Page