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-27, 16:28:19

Author Topic: memory usage  (Read 4879 times)

0 Members and 1 Guest are viewing this topic.

Offline aliyousefian

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
memory usage
« on: 2014-02-08, 14:58:13 »
hi , im install kloxo mr , after install without change setting memory usage is 800 mb !!!
kloxo official used 260 mb after install ,
and now with change setting ,  950mb usage , i havent client ...
sysinfo :
Code: [Select]
A. Kloxo-MR: 6.5.0.f-2014020301

B. OS: CentOS release 5.10 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.35-1.ius.el5
   2. PHP: php53u-5.3.28-1.ius.el5
   3. Httpd: httpd-2.2.26-1.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.10-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.35.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
   7. Dns: bind-9.9.5-1.el5

D. Php-type (for Httpd/proxy): suphp_worker

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        843        180          0          0          0
   -/+ buffers/cache:        843        180
   Swap:            0          0          0
....
Processes :
Code: [Select]
Pid
State
Memory (MB)
User
Command
13987 415.76 mysql /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --use
415 mb mysql memory used !!!!!!!!!!!!!!!!!!!!!!
Code: [Select]


Pid
State
Memory (MB)
User
Command
13987 415.76 mysql /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --use
12220 121.65 named /usr/sbin/named -u named
14251 107.64 lxlabs /opt/php52s/bin/kloxo-phpcgi
14227 100.11 lxlabs /opt/php52s/bin/kloxo-phpcgi
17928 45.53 root /opt/php52s/bin/php -c /opt/php52s/etc/php.ini /usr/local/lxlabs/kloxo/sbin/kloxo.php master
14223 45.26 root /opt/php52s/bin/php -c /opt/php52s/etc/php.ini /usr/local/lxlabs/kloxo/sbin/kloxo.php master
14322 42.34 nginx nginx: worker process
14319 42.34 nginx nginx: worker process
14320 42.34 nginx nginx: worker process
14321 42.34 nginx nginx: worker process
14318 41.91 root nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
14323 41.91 nginx nginx: cache manager process
14252 30.3 lxlabs /usr/sbin/kloxo-hiawatha -c /usr/local/lxlabs/kloxo/init
14040 30.16 root php-fpm: master process (/etc/php-fpm.conf)

////////////////////////////////////////
I also have another problem : i switched apache to nginxproxy and phptype is suphp_worker but not worked and i looked at the logfile and saw this line :
Code: [Select]
[Sat Feb 08 16:47:55 2014] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat Feb 08 16:47:55 2014] [alert] (11)Resource temporarily unavailable: apr_thread_create: unable to create worker thread
[Sat Feb 08 16:47:57 2014] [alert] A resource shortage or other unrecoverable failure was encountered before any child process initialized successfully... httpd is exiting!
httpd service is stop with start failed ! but nginx started .
////////////////////////////////////////
sorry , my English is weak

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: memory usage
« Reply #1 on: 2014-02-08, 15:24:00 »
Better using php-fpm instead ruid2/suphp.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aliyousefian

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: memory usage
« Reply #2 on: 2014-02-08, 15:31:27 »
thanks problem was solved ;)
for memory usage not have a solution?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: memory usage
« Reply #3 on: 2014-02-08, 15:38:03 »
Try reboot and inform here sysinfo again.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aliyousefian

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: memory usage
« Reply #4 on: 2014-02-08, 15:46:21 »
Code: [Select]
A. Kloxo-MR: 6.5.0.f-2014020301

B. OS: CentOS release 5.10 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.35-1.ius.el5
   2. PHP: php53u-5.3.28-1.ius.el5
   3. Httpd: httpd-2.2.26-1.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.10-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.35.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
   7. Dns: bind-9.9.5-1.el5

D. Php-type (for Httpd/proxy): php-fpm_worker

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        837        186          0          0          0
   -/+ buffers/cache:        837        186
   Swap:            0          0          0



Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: memory usage
« Reply #5 on: 2014-02-08, 15:51:37 »
Run:
Code: [Select]
sh /script/mysql-convert --engine=myisam

and then reboot.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: memory usage
« Reply #6 on: 2014-02-08, 15:53:01 »
BTW, how much client (reseller and customer) you created?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline aliyousefian

  • Junior Member
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: memory usage
« Reply #7 on: 2014-02-08, 16:01:41 »
after "sh /script/mysql-convert --engine=myisam" and reboot ,  sysinfo :
Code: [Select]
A. Kloxo-MR: 6.5.0.f-2014020301

B. OS: CentOS release 5.10 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.35-1.ius.el5
   2. PHP: php53u-5.3.28-1.ius.el5
   3. Httpd: httpd-2.2.26-1.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.10-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.35.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
   7. Dns: bind-9.9.5-1.el5

D. Php-type (for Httpd/proxy): php-fpm_worker

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        831        192          0          0          0
   -/+ buffers/cache:        831        192
   Swap:            0          0          0


i havent customer and reseller or domain ...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: memory usage
« Reply #8 on: 2014-02-08, 16:10:34 »
Maybe other services (didn't carry by Kloxo-MR) eat your memory.

Check with running 'top' from ssh.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.081 seconds with 18 queries.

web stats analysis