Nginx + PHP-FPM + MySQL on CentOS/Scientific Linux 6
#1

Code:
yum -y install wget --noplugins
wget freevps.us/downloads/nginx-centos-6.sh -O - |bash

#2
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.
Thân,

iCarrot.
#3
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.
#4

Terminal

total used free shared buffers cached
Mem: 128 113 14 0 0 101
-/+ buffers/cache: 12 115
Swap: 512 0 512


12mb used on a OpenVZ VPS with the node running CentOS 6.
#5
when nginx installed then how to use it please explain me sir.
Thanks URPad And Freevps.Us.
#6
(2011-08-02, 1:42:45 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?

(2011-08-02, 8:25:03 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.
#7
(2011-08-03, 4:11:09 am)DeathProxy Wrote:
(2011-08-02, 1:42:45 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?
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.
#8
(2011-08-03, 4:24: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:

Terminal

total used free shared buffers cached
Mem: 1024 983 40 0 0 0
-/+ buffers/cache: 983 40
Swap: 0 0 0


does this mean that it is a centos 6 node?
#9
No. If the buffers/cached on the top is non zero it's using the newer openvz.
#10
(2011-08-03, 4:58:43 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




Users browsing this thread: 1 Guest(s)

Switch to mobile version

Sponsors: Ftpit - ZXPlay - GalaxyHostPlus - Verelox- HostUS - HostMada - Host4Fun - Evolution-Host - NodeBlade - HostDare - VPSMost


BitCoin donations: 1DQxbstaTb5SWk6QC2gFeQUTFR64JX4cEo