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. 2024-05-21, 16:06:31

Author Topic: High Memory usage on Kloxo MR  (Read 7279 times)

0 Members and 1 Guest are viewing this topic.

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
High Memory usage on Kloxo MR
« on: 2014-01-12, 03:45:58 »
Hey

After changing to kloxo MR server memory usage is doubled .

this is top result :
Code: [Select]
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
32192 root      18   0  2432 1016  748 R  2.0  0.1   0:00.01 top
    1 root      18   0  2172  664  572 S  0.0  0.1   0:00.51 init
 1136 root      21  -4  2276  560  348 S  0.0  0.1   0:00.00 udevd
 1521 root      15   0  1828  588  484 S  0.0  0.1   0:00.39 syslogd
 3480 root      15   0  4512 1120  568 S  0.0  0.1   0:00.14 crond
 3539 xfs       18   0  3408 1112  744 S  0.0  0.1   0:00.01 xfs
 3562 root      18   0  5708  716  440 S  0.0  0.1   0:00.00 saslauthd
 3568 root      18   0  5708  444  168 S  0.0  0.0   0:00.00 saslauthd
 7659 root      25   0  3680 1272 1084 S  0.0  0.1   0:00.02 mysqld_safe
 8106 mysql     15   0  428m  79m 6612 S  0.0  7.7   1:50.50 mysqld
 9266 root      15   0  7324 1060  648 S  0.0  0.1   0:00.01 sshd
20459 root      17   0 10016 2744 2192 S  0.0  0.3   0:00.08 sshd
20461 root      24   0  6760 1488 1144 S  0.0  0.1   0:00.00 sftp-server
20462 root      18   0  6764 1500 1144 S  0.0  0.1   0:00.00 sftp-server
26302 root      15   0  3864 1596 1288 S  0.0  0.2   0:00.03 bash
30501 named     21   0 47780  10m 2864 S  0.0  1.0   0:00.02 named
30632 root      15   0  1792  368  308 S  0.0  0.0   0:00.00 svscan
30647 root      18   0  1628  308  264 S  0.0  0.0   0:00.00 supervise



services are apache -bind

server memory is 1GB burst \

centos 5.3

Now websites are down again for memory shortage.

Offline awan

  • Junior Member
  • *
  • Posts: 37
  • Karma: +0/-0
    • View Profile
    • http://www.inforiatif.com
Re: High Memory usage on Kloxo MR
« Reply #1 on: 2014-01-12, 09:00:40 »
if you dont use site for email? please disbale qmail , maybe could decrease the RAM usage

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: High Memory usage on Kloxo MR
« Reply #2 on: 2014-01-12, 16:11:57 »
I disabled qmail and it is still high !  I think something is wrong with my apache config

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: High Memory usage on Kloxo MR
« Reply #3 on: 2014-01-13, 06:27:23 »
Burst memory not always ready for you. Compare your memory usage to guarantee memory rather than burst memory.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: High Memory usage on Kloxo MR
« Reply #4 on: 2014-01-14, 16:34:09 »
Thanks but not a technical answer ! tell me why kloxo offical version uses half this amount of memory usage !

I even disabled httpd. mysql ! and still high !

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: High Memory usage on Kloxo MR
« Reply #5 on: 2014-01-14, 17:40:28 »
What you mean Kloxo-MR using memory usage higher than Kloxo Official.

Do you understand what is 'free -m' meaning?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: High Memory usage on Kloxo MR
« Reply #6 on: 2014-01-14, 17:42:16 »
What you mean Kloxo-MR using memory usage higher than Kloxo Official.

Do you understand what is 'free -m' meaning?.


I know what that means , I don't understand where is this high usage come from !

Offline aneeshtan

  • Junior Member
  • *
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: High Memory usage on Kloxo MR
« Reply #7 on: 2014-01-14, 18:20:42 »
Ok here is another thing I found out :

php-fpm: pool client-name

Like 10 clients each consuming 35 MB RAM , guess how much is added to the overall memory usage !

Tell me about this plz .



Offline evrynet

  • Valuable Member
  • *
  • Posts: 65
  • Karma: +1/-0
    • View Profile
Re: High Memory usage on Kloxo MR
« Reply #8 on: 2014-02-03, 10:41:59 »
and we noticed the same as this user.

Solution?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: High Memory usage on Kloxo MR
« Reply #9 on: 2014-02-03, 10:57:10 »
Php-fpm allocate based-on client. So, higher client amount make higher php-fpm allocate.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline evrynet

  • Valuable Member
  • *
  • Posts: 65
  • Karma: +1/-0
    • View Profile
Re: High Memory usage on Kloxo MR
« Reply #10 on: 2014-02-03, 11:00:48 »
I see. Well I switched to mod_itk also to mod_ruid2 with Apache and also tried apache optimization to optimize but still the memory usage is doubled as it used to.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: High Memory usage on Kloxo MR
« Reply #11 on: 2014-02-03, 11:05:48 »
Optimize make php using is higher compare to default.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline evrynet

  • Valuable Member
  • *
  • Posts: 65
  • Karma: +1/-0
    • View Profile
Re: High Memory usage on Kloxo MR
« Reply #12 on: 2014-02-03, 11:07:58 »
wow

I compiled apache with mod_php_ruid2 and I saw it installed by kloxo via ssh but once its done php-fpm running?!

11723 ?        Ss     0:00 /usr/sbin/httpd
13769 ?        Ss     0:00 php-fpm: master process (/etc/php-fpm.conf)
13770 ?        S      0:00 php-fpm: pool admin
13771 ?        S      0:00 php-fpm: pool admin
13772 ?        S      0:00 php-fpm: pool admin
13773 ?        S      0:00 php-fpm: pool admin
13774 ?        S      0:00 php-fpm: pool default
13776 ?        S      0:00 php-fpm: pool default
13777 ?        S      0:00 php-fpm: pool default
13778 ?        S      0:00 php-fpm: pool default
13783 ?        S      0:01 /usr/sbin/httpd
13784 ?        S      0:01 /usr/sbin/httpd
13785 ?        S      0:01 /usr/sbin/httpd
13786 ?        S      0:00 /usr/sbin/httpd
13789 ?        D      0:00 /usr/sbin/httpd
13790 ?        S      0:00 /usr/sbin/httpd
13805 ?        S      0:00 /usr/sbin/httpd
13815 ?        S      0:00 /usr/sbin/httpd
13817 ?        R      0:00 /usr/sbin/httpd
13818 ?        R      0:00 /usr/sbin/httpd

why?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: High Memory usage on Kloxo MR
« Reply #13 on: 2014-02-03, 11:56:21 »
remove php-fpm with 'yum remove php53u-fpm' OR try 'chkconfig php-fpm off; service php-fpm stop'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.029 seconds with 22 queries.

web stats analysis