etiennekretz Posted September 11 Posted September 11 Hello, I did nothing wrong or not corresponding to the privacy policy. Since a few hours my account is suspended and i don't understand why. This is my heliohost username: etiennekretz and host domain: https://grocerylist.helioho.st Thanks in advance for your help.
wolstech Posted September 11 Posted September 11 Quote High server load. 101.46 GB memory. Node is infamous for this...it gets users suspended all the time because of its rather heavy design. Please fix the issue quickly. You can monitor your load here: https://heliohost.org/dashboard/load/ If you get suspended a second time, you'll need to provide a detailed plan for correcting it before you get unsuspended again. Unsuspended. It may take a few minutes to work again.
etiennekretz Posted September 11 Author Posted September 11 thanks a lot ! i'm new with node and all this stuff, have you example of what could cause this load ?
wolstech Posted September 11 Posted September 11 Node uses memory to literally sit there and do nothing because it runs continuously waiting for requests to come in. Also, the more modules you load into your app, the heavier it gets. This is in contrast to things like PHP which only run when called...they use 0 CPU or RAM to sit there when they aren't being used.
Ookma-Kyi Posted September 11 Posted September 11 To add to what Wolstech said I asked the exact reason why Node.js uses so much memory: Quote I know of another hosting provider that is mainly Node.js and they provide 512MB of RAM on shared servers with no issues. TLDR: The shared servers only have 64 GB of RAM to share between over 10k users. You get an average of 70 MB of RAM per hour to prevent the server from running out of memory. Heliohost can't add more RAM because it's a non-profit that offers free hosting and relies on donations.
wolstech Posted September 11 Posted September 11 27 minutes ago, Ookma-Kyi said: TLDR: The shared servers only have 64 GB of RAM to share between over 10k users. Not quite. Its the load limits we impose that effectively limit it to 70MB continuous. The amount of memory total on the servers varies by server, the load limit does not. Also, if users would use tools like Passenger (a tool that starts apps such as node when requests come in, then stops when idle), they can go a lot further with that memory limit.
Ookma-Kyi Posted September 11 Posted September 11 1 hour ago, wolstech said: Not quite. Its the load limits we impose that effectively limit it to 70MB continuous. The amount of memory total on the servers varies by server, the load limit does not. Also, if users would use tools like Passenger (a tool that starts apps such as node when requests come in, then stops when idle), they can go a lot further with that memory limit. @etiennekretz Are you able to use Passenger to run your Node.js app? This might help with the issue of your app using too much memory.
etiennekretz Posted September 11 Author Posted September 11 3 hours ago, Ookma-Kyi said: @etiennekretz Are you able to use Passenger to run your Node.js app? This might help with the issue of your app using too much memory. hello, thanks for the advice ! I tried to use Passenger but i guess there is restriction when using a .htaccess file on the server, or i did something wrong thanks in advance for your help
Ookma-Kyi Posted September 12 Posted September 12 I’m not familiar with Passenger since I am a Laravel developer. However here is the troubleshooting instructions on the passenger docs: https://www.phusionpassenger.com/docs/advanced_guides/troubleshooting/apache/troubleshooting/node/
Krydos Posted September 13 Posted September 13 Here is an example of how to set up a simple Node.js website using Passenger on HelioHost. https://wiki.helionet.org/tutorials/node.js There is no mention of .htaccess anywhere.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now