RAM usage of myVesta services
Posted: Sat Jul 25, 2020 8:38 pm
Let's say we have VPS with 2GB RAM.
So, we see here 2GB RAM
First, in order to measure myVesta RAM usage, we turned off system nginx and system php-fpm, so they are not in RAM.
Now let's see myvesta-nginx percent of RAM usages:
Both processes are under 0.1% of RAM, so in worst scenario it uses 4 MB of RAM, and probably less.
Now let's see myvesta-php-fpm percent of RAM usages:
Sum is 1%, which is 20 MB of RAM.
So, there is very little overhead.
Anyway, you can turn-off both myvesta-nginx and myvesta-php-fpm once you setup hosting enviroment, so there will not be overhead at all.
Code: Select all
root@test:~# free -h
total used free shared buff/cache available
Mem: 1.9Gi 329Mi 944Mi 21Mi 673Mi 1.4Gi
First, in order to measure myVesta RAM usage, we turned off system nginx and system php-fpm, so they are not in RAM.
Now let's see myvesta-nginx percent of RAM usages:
Code: Select all
root@test:~# ps aux | awk '{print $2, $4, $11}' | sort -k2rn | grep nginx
693 0.0 nginx:
695 0.0 nginx:
Now let's see myvesta-php-fpm percent of RAM usages:
Code: Select all
root@test:~# ps aux | awk '{print $2, $4, $11}' | sort -k2rn | grep fpm
705 0.4 php-fpm:
706 0.4 php-fpm:
703 0.2 php-fpm:
So, there is very little overhead.
Anyway, you can turn-off both myvesta-nginx and myvesta-php-fpm once you setup hosting enviroment, so there will not be overhead at all.