MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: zmatrix on 2014-03-24, 19:28:01
-
before I change to centos 6 64x I was using centos 5 86X
before changing the memory usage was about 200-250 mb
now It's 650mb !!
the same settings for kloxomr and the same websites !!
I am using apache with ngnixproxy , php53u , ruid2
-
Any trouble with Centos 6 64bit related to memory.
I found an issue if try ulimit and softlimit limiting memory usage for certain applications. It's not related to Kloxo-MR itself but Centos.
Try 'sh /script/mysql-convert --engine=myisam' for minimize memory usage for mysql.
-
It's 950mb of ram now and the sites are very slow !!
-
If I reinstalled it again on centos 6 86X will face this high load or what ?
or return to centos 5?
-
Kloxo-MR 6.5.1.b better handle memory especially if using php-fpm.
64bit tend to use more memory compare to 32bit.
If using Xen/KVM, you can memory cached/buffer every certain times (let say every day).
-
I use (OpenVZ) and I disabled php-fpm
now the memory used is 1.22 GB and I don't use any thing and the websites have no visitors :(
and I want to know what is php-fpm and when I use it
is there any solution for this problem ?
and when you will releas the update 6.5.1 ? so I can see If I have to re-install or I can wait
-
Nginx/lighttpd/hiawatha standalone using php-fpm to communicato to php. Apache need choose 'php-fpm_worker/php-fpm_event' in 'php-type'.
-
Kloxo-MR 6.5.1 still in beta step (so I call as '6.5.1.b'). You can update to 6.5.1 with 'yum update kloxomr --enablerepo=mratwork-testing*'.
-
Hi,
I use (OpenVZ) and I disabled php-fpm
now the memory used is 1.22 GB and I don't use any thing and the websites have no visitors :(
and I want to know what is php-fpm and when I use it
is there any solution for this problem ?
and when you will releas the update 6.5.1 ? so I can see If I have to re-install or I can wait
Yes, there is a solution as follows:
1)
Create a file /home/php-fpm/tpl/custom.php53-fpm-pool.conf.tpl as a copy of php53-fpm-pool.conf.tpl from the same directory.
2)
Change in this newly created custom***.tpl the following:
$startservers = '1';
$minspareservers = '1';
$maxspareservers = '4';
$maxchildren = '6';
3)
Go to Kloxo-MR admin and find Webserver config. Change from php-fpm to comething else and back to php-fpm.
By doing this, you will generate php-fpm configuration file to load startservers and minspareservers equal to one in /etc/php-fpm.d/*conf. These files shall have above custom configuration.
With this, php-fpm will consume less process and memory.
I have so far not found any other technique.
-
before I change to centos 6 64x I was using centos 5 86X
before changing the memory usage was about 200-250 mb
now It's 650mb !!
the same settings for kloxomr and the same websites !!
I am using apache with ngnixproxy , php53u , ruid2
I use Centos 6 x32 bits and VPS spend 200-300MB Ram only.