![]() |
|
Nginx + PHP-FPM + MySQL on CentOS/Scientific Linux 6 - Printable Version +- Free VPS Directory & Discussion (http://freevps.us) +-- Forum: Free VPS Discussion (/forum-1.html) +--- Forum: Tutorials (/forum-7.html) +--- Thread: Nginx + PHP-FPM + MySQL on CentOS/Scientific Linux 6 (/thread-1434.html) |
Nginx + PHP-FPM + MySQL on CentOS/Scientific Linux 6 - dmmcintyre3 - 07-20-2011 12:34 AM Code: yum -y install wget --nopluginsRE: Nginx + PHP-FPM + MySQL on CentOS 6 - iCarrot - 07-20-2011 12:55 AM When php-fpm and mysqld work, it will consume more RAM, especially php-fpm. Mine's currently around 80MB. You can lookup using google for more RAM optimization tutorial. RE: Nginx + PHP-FPM + MySQL on CentOS 6 - dmmcintyre3 - 07-20-2011 02:51 AM it's likely spawning more processes to handle the amount of requests you are getting or you installed a opcode cache which will increase RAM use. RE: Nginx + PHP-FPM + MySQL on CentOS 6 - dmmcintyre3 - 08-02-2011 01:42 PM total used free shared buffers cached 12mb used on a OpenVZ VPS with the node running CentOS 6. RE: Nginx + PHP-FPM + MySQL on CentOS 6 - ShEkhAr - 08-02-2011 08:25 PM when nginx installed then how to use it please explain me sir. RE: Nginx + PHP-FPM + MySQL on CentOS 6 - DeathProxy - 08-03-2011 04:11 AM (08-02-2011 01:42 PM)dmmcintyre3 Wrote: 12mb used on a OpenVZ VPS with the node running CentOS 6. How do we know if the node is running Centos 6? and why will it use less ram? (08-02-2011 08:25 PM)ShEkhAr Wrote: when nginx installed then how to use it please explain me sir. nginx is a webserver. use it like you would apache/httpd or lighttpd. RE: Nginx + PHP-FPM + MySQL on CentOS 6 - dmmcintyre3 - 08-03-2011 04:24 AM (08-03-2011 04:11 AM)DeathProxy Wrote:It will use less ram because the version of OpenVZ included with CentOS 6 changes the memory management to be more like a real servers. To tell if it is on a CentOS 6 node, just check if the buffers/cache are not 0 in free -m.(08-02-2011 01:42 PM)dmmcintyre3 Wrote: 12mb used on a OpenVZ VPS with the node running CentOS 6. RE: Nginx + PHP-FPM + MySQL on CentOS 6 - DeathProxy - 08-03-2011 04:46 AM (08-03-2011 04:24 AM)dmmcintyre3 Wrote: To tell if it is on a CentOS 6 node, just check if the buffers/cache are not 0 in free -m. free -m:
total used free shared buffers cached
does this mean that it is a centos 6 node? RE: Nginx + PHP-FPM + MySQL on CentOS 6 - dmmcintyre3 - 08-03-2011 04:58 AM No. If the buffers/cached on the top is non zero it's using the newer openvz. RE: Nginx + PHP-FPM + MySQL on CentOS 6 - DeathProxy - 08-03-2011 09:46 AM (08-03-2011 04:58 AM)dmmcintyre3 Wrote: No. If the buffers/cached on the top is non zero it's using the newer openvz. So 0 = Centos 6 Not 0 = newer openvz. EDIT: Oh! I thought that you meant -/+ buffers/cache: 983 40 |