Welcome to my site... Have a nice day...

Saturday, 7 September 2013

Kloxo Memory Optimization

If you using kloxo panel and it's use so much ram...

i install kloxo and my kloxo use 300-350 mb ram it's to much i find a memory optimization it's lik that:

The optimizations are:

1) The my.cnf.lowmem file tweak the mysql config.

This will disable the storage system InnoDB engine(skip-innodb) in MySQL (which will in turn break the included webmail apps Roundcube and Horde - you will have to install something like squirrelmail - and some CMS and eCommerce apps like Magento). This change alone should save about 100 MB.
 mv /etc/my.cnf /etc/my.cnf.backup
 cp /usr/local/lxlabs/kloxo/file/lowmem/my.cnf.lowmem /etc/my.cnf
 service mysqld restart


2) Stop the ClamAV (anti-virus) auto update process (useless if you did not enable it for e-mail scanning).
service freshclam stop


3) Change QPanel internals to be more resource conscious.
touch /usr/local/lxlabs/kloxo/etc/flag/lowmem.flag


Finally restart KLOXO for the changes take:
service kloxo restart


Now my memory:
[root@vps23-kacak41 ~]# free -m
             total       used       free     shared    buffers     cached
Mem:           512        108        403          0          0         43
-/+ buffers/cache:         64        447
Swap:            0          0          0
 

0 comments: