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-04-29, 10:02:46

Author Topic: Disable account and ram using  (Read 1859 times)

0 Members and 1 Guest are viewing this topic.

Offline fantasymc

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Disable account and ram using
« on: 2016-09-23, 09:14:20 »
Dear Kloxo community,
i have VPS, install CentOS release 6.8 (Final) with Kloxo Mr Single server 6.5.0f, i have a question
i'm disabled account but in Admin -> Server -> Processes still have 4 pid for this account and total Memory are: 287.44 x 4 = 1,149.76 Mb
     This ram still reserve for this account? it's normal or not? how can i release this ram (when i disable account in web interface)?

Thank you for your help.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Disable account and ram using
« Reply #1 on: 2016-09-23, 12:18:11 »
1. Disable just make not access normally (because 'redirect' to disable page). So, resource still usage
2. Different type between Kloxo-MR 6.5 and 7.0 for handle php-fpm pool. Kloxo-MR 6.5 using 'dynamic' pm and Kloxo-MR 7.0 using 'ondemand'. With 'dynamic', need 'minimum' php-fpm' threads exist. With 'ondemand', no need 'minimum' threads. It's make 'ondemand' little bit slow but less memory usage.

You can change 'dynamic' to 'ondemand' in Kloxo-MR 6.5. Follow this steps:
1. Copy /home/php-fpm/tpl/php53-fpm-pool.conf.tpl to custom.php53-fpm-pool.conf.tpl
2. Modified custom.php53-fpm-pool.conf.tpl with change 'pm = dynamic' to 'pm = ondemand'
3. Run 'sh /script/fixphp; sh /script/fixweb; sh /script/restart-web'.
« Last Edit: 2016-09-24, 12:16:01 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline fantasymc

  • Junior Member
  • *
  • Posts: 14
  • Karma: +0/-0
    • View Profile
Re: Disable account and ram using
« Reply #2 on: 2016-09-24, 12:07:10 »
Dear Mustafa,

Thank you for your help, it's worked.

 


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

Page created in 0.069 seconds with 19 queries.

web stats analysis