Auto Scaling

Auto Scaling

Auto Scaling

Category: Cloud ServersGetting Started &nbsp

In order to gain better results when using Auto Scaling you should have a brief understanding of memory (RAM) usage in Linux-based environments.

Linux does not immediately release RAM and at this point the monitoring system may trigger an action that isn’t necessarily a must. The data is cached in RAM to be ready for a much faster access every next time it is needed. So right after the VPS is started RAM usage will be growing gradually and not freeing up as you might have expected.

What you really need to monitor is swap memory. When all available RAM is filled up and there’s still some data to cache for fast access the system will start using swap.

So in general you need to enable Auto Scaling when swap, not RAM is exhausted because it’s swap indicating the ‘real’ lack of memory.

We recommend not to enable ‘if RAM usage…’ option, but e.g. ‘if Swap usage is above 90% for 10 minutes, add 2 permanent nodes’ instead.

    • Related Articles

    • Configuring SMTP Relay Server

      If you have been affected by the recent block of outgoing mail on port 25 for our SoftLayer locations (Singapore, San Jose, Dallas, Washington DC and Seattle), you will be able to use the following to configure another server in Salt Lake City, New ...
    • How to enable Backups for a Linux server

      How to enable Backups for a Linux server Category: Getting Started &nbsp Give your server a new lease of life with a quick and easy update… There comes a time in every server’s life when it needs a slightly newer version of its software. Thankfully, ...