Jump to content

Recommended Posts

Posted

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.

Posted
Quote

High server load. 101.46 GB memory.

image.png.d1410c9b0dd6ca07d946112ca1e8efb3.png

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.

Posted

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.

Posted

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.

Posted
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.

Posted
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.

Posted
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

image.thumb.png.ffa23429fe279148f6148962595638e9.png

image.thumb.png.ada3ed71d311ee0761f4be6d26cc8afc.png

thanks in advance for your help

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...