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-06-04, 09:24:52

Author Topic: eating up memory  (Read 5606 times)

0 Members and 1 Guest are viewing this topic.

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
eating up memory
« on: 2013-07-04, 22:22:32 »
10.49    root     /usr/libexec/courier-authlib/authdaemond

I currently have 16 of these processes taking almost 200 meg of memory - why are there so many running and is this normal?

Kloxo-MR dev 6.5.1 on centos 6.

Please advise.
Thank you
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: eating up memory
« Reply #1 on: 2013-07-04, 22:30:06 »
Yes, because value inside /var/qmail/control/concurrencyincoming is 100. It's default value and only use small memory.

Most big use memory is mysql with innodb as storage-engine. Different with myisam is 100MB or more.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: eating up memory
« Reply #2 on: 2013-07-04, 22:37:25 »
Quote from: "MRatWork"
Yes, because value inside /var/qmail/control/concurrencyincoming is 100. It's default value and only use small memory.

Most big use memory is mysql with innodb as storage-engine. Different with myisam is 100MB or more.

So you are saying that 100 processess at 10.5 MB each will just sit and not drop off?  My server is a test server with minimal use - and hardly no email use - however, on production you are telling me that the processes can grow to 100 at 10.5 MB each???  1 G?

Will these processes end?  or will they have to be killed?

Trying to understand :)  thank you for patience.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: eating up memory
« Reply #3 on: 2013-07-04, 22:57:37 »
also:
34.15 root php-fpm: master process (/etc/php-fpm.conf)
34.12 admin php-fpm: pool admin
34.12 apache php-fpm: pool default

I have 8 sets of the php-fpm pool admin, default running - that is 250 MB for php-fpm without any active websites.

Will these processes end after not being used?  or will I continue to have more and more eat up memory?

I am newbie - please have patience and explain so I undestand.

Thank you
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: eating up memory
« Reply #4 on: 2013-07-04, 23:06:02 »
Inform here your 'sh /script/sysinfo'. I think you have misperception about memory usage.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: eating up memory
« Reply #5 on: 2013-07-04, 23:28:46 »
Quote from: "MRatWork"
Inform here your 'sh /script/sysinfo'. I think you have misperception about memory usage.
A. Kloxo-MR: 6.5.1.a-2013060601

B. OS: CentOS release 6.4 (Final) i686

C. Apps:
1. MySQL: mariadb-5.5.31-1.el6.i686
2. PHP: php54-5.4.16-1.ius.el6.i686
3. Httpd: httpd-2.2.24-1.el6.i686
4. Lighttpd: --uninstalled--
5. Nginx: --uninstalled--
6. Qmail: qmail-toaster-1.03-1.3.26.mr.el6.i686
- with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.i686
7. Dns: bind-9.9.2-3.P2.el6.i686

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

E. Memory:
total used free shared buffers cached
Mem: 3584 991 2592 0 0 0
-/+ buffers/cache: 991 2592
Swap: 0 0 0

So 1G used on a system that has no real sites.  I am setting up a production vps and am learning - worried that in use that server memory will be consumed.

I need about 2G for media server.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: eating up memory
« Reply #6 on: 2013-07-04, 23:50:00 »
Have you run 'sh /script/cleanup' after reboot?.

And try add 1 domain under admin?. Doesn't just 'dummy' domain like 'Ilovekloxomr.com' and then running 'sh /script/fixweb; sh /script/restart-all'?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline chrisf

  • Senior Master
  • **
  • Posts: 883
  • Karma: +11/-1
  • Gender: Male
  • Be the change that you wish to see in the world.
    • View Profile
    • Conviction's Hosting
Re: eating up memory
« Reply #7 on: 2013-07-05, 00:16:42 »
Quote from: "MRatWork"
Have you run 'sh /script/cleanup' after reboot?.

And try add 1 domain under admin?. Doesn't just 'dummy' domain like 'Ilovekloxomr.com' and then running 'sh /script/fixweb; sh /script/restart-all'?.

I have 2 domains and 3 subdomains.  There are no users though, and only test php scripts.

I ran the cleanup and rebooted.  Memory was at 976 MB after fresh reboot.

This seems high??
« Last Edit: 1970-01-01, 01:00:00 by Guest »
Christopher

Knowledge in: PHP, Perl, MySQL, Javascript, Actionscript, FLASH, HTML, CSS
Server Administrator / Developer: https://convictionshosting.com

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: eating up memory
« Reply #8 on: 2013-07-05, 00:27:27 »
This is my latest test for Kloxo-MR.

Code: [Select]
[root@latest tmp]# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2013031826

B. OS: CentOS release 6.4 (Final) x86_64

C. Apps:
   1. MySQL: mariadb-5.5.31-1.el6.x86_64
   2. PHP: php54-5.4.16-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.24-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.1-1.el6.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.26.mr.el5.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: bind-9.9.2-3.P2.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           996        491        505          0         10        154
   -/+ buffers/cache:        326        670
   Swap:            0          0          0

Resume:
- Using nginx-proxy instead apache
- Using Centos 6 64bit instead 32bit
- Memory usage only 326MB
- Test only for 1 domain in admin
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: 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.034 seconds with 18 queries.

web stats analysis