I wonder if anyone could help me with why this RAM is being used. I run a low end box, 512mb RAM with Centos 6.3, Nginx, PHP and MySQL but Apache is showing up when I run a ps aux and it is using a lot of RAM.
apache 1166 0.0 3.7 78620 19500 ? S Apr19 0:01 php-fpm: pool w apache 1167 0.0 3.7 79076 19844 ? S Apr19 0:01 php-fpm: pool w apache 1168 0.0 3.5 78312 18732 ? S Apr19 0:01 php-fpm: pool w apache 1169 0.0 2.6 61744 13656 ? S Apr19 0:01 php-fpm: pool w apache 1170 0.0 4.8 84744 25440 ? S Apr19 0:01 php-fpm: pool w apache 1383 0.0 3.3 77112 17660 ? S Apr19 0:01 php-fpm: pool w
The 4th column is the percentage RAM column, which means Apache is using 21.6% of my server's RAM. Why is Apache using all this when I am running Nginx?
I have checked if Appache is running with this:
/etc/init.d/httpd status httpd is stopped
So Apache isn't running but it is? I'm confused.
I am new to Linux and have managed to set up this VPS to host websites from scratch and without a control panel, but I can't figure out why this RAM is being used. Shouldn't php-fpm be running though Nginx?
If anyone could help that would be great. Google hasn't thrown up much.