Skip to main content

Passanger keeps restarting Node.js app

Comments

7 comments

  • cPRex Jurassic Moderator

    Hey there!  After you added that configuration option to the passenger.conf file, did you restart the Passenger or Apache service to ensure it's loading the new configuration?  

    0
  • Unnamed User

    Thank you very much for reply.

    Maybe. I did now. I also set PassengerEnabled to on now since no one else but me on the server has node app and I can set this globally. I will test during the weekend.

    <IfModule mod_passenger.c>
       PassengerRoot /opt/cpanel/ea-ruby27/root/usr/share/passenger/phusion_passenger/locations.ini
       PassengerEnabled on
       # NOTE: Disabling this directive will allow users to
       # set Passenger directives in their .htaccess files.
       # This will allow them to bypass the 'MAXPASSENGERAPPS' limits
       # enforced by the "Application Manager" feature.
       PassengerDisableHtaccess on
       PassengerPoolIdleTime 0
       PassengerDefaultRuby /opt/cpanel/ea-ruby27/root/usr/libexec/passenger-ruby27
       PassengerDisableSecurityUpdateCheck on
       PassengerInstanceRegistryDir /opt/cpanel/ea-ruby27/root/var/run/passenger-instreg
    </IfModule>

    0
  • Unnamed User

    It keeps restarting still. I don't get it.

    Maybe I have to do that in htaccess file but i red that is recommended like this in passenger config for better performance? 

    0
  • cPRex Jurassic Moderator

    I'm not sure what could be causing that - it would likely be best to submit a ticket so we could review the situation.

    0
  • Unnamed User

    So that is that then, there is nothing else...

    I would open a ticket, but looks like after years of support access I don't have support rights anymore. It says that the license is with Server4You GmbH and that cPanel provides support only to direct customers and partners but they should be partners since they have your "metal license" as I understood. Then the only option for me is to pay an administrator to fix this up. Thank you very much anyways! Always had the best support, truly. Kind regards

    0
  • cPRex Jurassic Moderator

    That's correct - you would contact wherever you purchased the license for support, and if they can't resolve the issue they can reach out to us directly.

    1
  • Unnamed User

    I understand. Thank you very much.

    0

Please sign in to leave a comment.