There is a ruby process that always sits at 50% of RAM usage, regardless of how much RAM is allocated by the instance. I am running Node in a flexible environment using a simple express application that connects to a Cloud SQL instance using sequelize. I tried to increase the amount of RAM up to 4 GB, and it continues to work at 50% use.
It seems like a process
/opt/google-fluentd/embedded/bin/ruby -Eascii-8bit:ascii-8bit /usr/sbin/google-fluentd --log /var/log/google-fluentd/google-fluentd.log --under-supervisor
I often run out of RAM, and when I do this, the instance automatically reboots and issues 502 until it returns online. I just can’t understand why the ruby process burns so much RAM on my copy of Node.
The service will behave as you expect, a large process of using RAM containing memory; that is, when RAM is required, it cleans the process and allows you to allocate RAM. The problem is that theres such a small margin that when my Node server needs more RAM and takes up 50 MB, it shuts down the server and crashes before RAM is allocated.
source
share