Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 22:22:37

Author Topic: RAM usage too high - help please  (Read 1788 times)

0 Members and 1 Guest are viewing this topic.

Offline befree22

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-1
    • View Profile
RAM usage too high - help please
« on: 2013-08-08, 05:06:24 »
Hi,

Nginx and Kloxo-MR are installed on my Centos 6 (64bit) vps with 512mb RAM dedicated. MySql and other processes are using a lot of RAM. I will have to upgrade to the 1024mb RAM plan. Still, could someone help me "kill, terminate" unnecessary processes that's taking up too much RAM?

I have 2 websites on the vps and there's no traffic to either site, according to the stats.

I've attached screenshots of the RAM usage and the processes.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: RAM usage too high - help please
« Reply #1 on: 2013-08-08, 07:00:23 »
if you at Mysql 55, try downgrade to 50 or 51 series
and cofigure to small my.cnf
........

just review about small memory
Centos 6 64 bit compare with 32 bit difference of about 40 mb memory
centos 5 about 40 mb

and if choose centos 5 = when installing Kloxo-mr then automatically installed mysql51
it is suitable for small memory, enough for 256 mb
« Last Edit: 1970-01-01, 01:00:00 by Guest »
easy, secure and speed up web panel ===> Kloxo-MR

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: RAM usage too high - help please
« Reply #2 on: 2013-08-08, 07:56:41 »
Change mysql storage-engine to myisam with running 'sh /script/mysqlconvert --engine=myisam'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline befree22

  • Valuable Member
  • *
  • Posts: 95
  • Karma: +0/-1
    • View Profile
Re: RAM usage too high - help please
« Reply #3 on: 2013-08-16, 02:37:43 »
You helped me fix some problems my RAM usage is still too high. I upgraded my RAM from 512 to 1024mb but total memory used is too high.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: RAM usage too high - help please
« Reply #4 on: 2013-08-16, 02:49:42 »
You ram usage only 503MB. Look like higher (952MB) because including buffers and cached.

If your vps not OpenVZ, you can clear buffers and cached with running 'sh /script/clearcache1'.

Try running:
Code: [Select]
free -m
sh /script/clearcache1
free -m
for before and after running clearcache.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rizwan65

  • Junior Member
  • *
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: RAM usage too high - help please
« Reply #5 on: 2013-08-17, 09:50:31 »
I am also facing high mem usage problem
I have tried both suggestions but errors

[root@lin /]# sh /script/mysqlconvert --engine=myisam
sh: /script/mysqlconvert: No such file or directory
[root@lin /]# sh /script/clearcache1
Execute...
/script/clearcache1: line 7: /proc/sys/vm/drop_caches: Permission denied
[root@lin /]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: RAM usage too high - help please
« Reply #6 on: 2013-08-17, 14:23:50 »
Like I said before, clearcache not work on OpenVZ and will appear '/script/clearcache1: line 7: /proc/sys/vm/drop_caches: Permission denied' if tried on OpenVZ.

For mysql, use ' sh /script/mysql-convert --engine=myisam'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.041 seconds with 16 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM