I recently got vps with 512MB ram. I install nginx 1.2.4 with ph5-fpm and a simple wordpress installation . I currently have no traffic as its in development mode.But still It shows 495MB used and 80% of 495 is used by php5-fpm.
What could be the issue to cure this,As in apache i didn't have any problem like this.
From the first website loading php5-fpm memory usage started to increase.
I tried memory showing using python script by http://www.pixelbeat.org/scripts/ps_mem.py
It shows that max ram is used by php5-fpm.
Suggest me a way so that, my site can handle traffic as wordpress use too much resources but not this much.
/etc/php5/fpm/pool.d/*.confand that's not top. Typetopin shell and paste ALL of it.