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-26, 01:02:04

Author Topic: [HELP] Process Apache yang tinggi  (Read 3613 times)

0 Members and 1 Guest are viewing this topic.

Offline laziale

  • Valuable Member
  • *
  • Posts: 51
  • Karma: +0/-0
    • View Profile
[HELP] Process Apache yang tinggi
« on: 2015-08-07, 10:37:38 »
hallo semua,

minta solusi nya donk soal process apache yang tinggi..web2 ane jd ga bisa diakses.
berikut penampakan nya http://prntscr.com/81tzhk
klo di scroll kebawah process apache terus..padahal traffic website biasa aja.

Quote
[root@ns501019 ~]# sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015062301
   - Web: hiawatha-9.13.0-f.6.mr.el6.x86_64
   - PHP: php54s-5.4.40-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) x86_64
   - Hostname: ns501019.ip-192-99-2.net
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.x86_64
   2. PHP:
      - Branch: php53u-5.3.29-1.ius.el6.x86_64
      - Multiple:
        * php52m-5.2.17-102.mr.el6
        * php53m-5.3.29-1.ius.el6
        * php54m-5.4.40-1.ius.el6
        * php55m-5.5.24-1.ius.el6
        * php56m-5.6.8-1.ius.el6
      - Used: php54m
   3. Httpd: httpd-2.2.31-1.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: nginx-1.9.2-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: nsd-4.1.2-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         15939       3362      12576         52        227        675
   -/+ buffers/cache:       2459      13479
   Swap:          510          0        510
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/root        20G   12G  7.0G  63% /

minta solusi donk.. thanks

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] Process Apache yang tinggi
« Reply #1 on: 2015-08-07, 18:06:57 »
Coba update.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline laziale

  • Valuable Member
  • *
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: [HELP] Process Apache yang tinggi
« Reply #2 on: 2015-08-08, 07:50:18 »
update apanya pak? apache nya? caranya pak?
« Last Edit: 2015-08-08, 08:08:59 by laziale »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] Process Apache yang tinggi
« Reply #3 on: 2015-08-08, 08:07:34 »
Kloxo-MR dan lainnya dengan 'yum clean all; yum update -y; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline laziale

  • Valuable Member
  • *
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: [HELP] Process Apache yang tinggi
« Reply #4 on: 2015-08-10, 10:56:59 »
awal nya sih works tp lama2 jadi banyak lagi process apache nya,
jika traffic nya tinggi langusung seperti itu.. ini penyebabnya apa yah pak?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] Process Apache yang tinggi
« Reply #5 on: 2015-08-10, 11:03:04 »
Ya jelas kalau traffic tinggi maka 'pemakaian' php dan tentunya juga web server akan tinggi.

Jangan pusing jika pemakaian tinggi sepanjang tidak kehabisan memory. Jika kehabisan memory berarti belum di-optimasi atau optimasi sendiri tidak pas.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline laziale

  • Valuable Member
  • *
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Re: [HELP] Process Apache yang tinggi
« Reply #6 on: 2015-08-10, 11:08:51 »
optimasi yg pas untuk traffic tinggi seperti apa yah pak?
soal nya sy sudah lakukan seperti yg bapak sarankan:

Quote
1. Pindahkan database dan website dari admin ke client lain
2. Dari client baru ini setting fastcgi children dengan nilai 30-60 pada 'limit'
3. install apc/xcache pada php (jika pakai php54 pada php-branch maka jalankan 'yum install php54-pecl-apc -y'
4. install pagespeed pada apache dengan 'yum install mod-pagespeed-stable -enablerepo=*pagespeed* -y'
5. pilih 'low' pada 'apache optimize' di 'webserver configure'
6. install cache manager pada aplikasi (misalnya hypercache di wordpress)
7. terakhir, restart service dengan 'sh /script/restart-all -y'

apa masih ada cara optimasi lain nya pak?

thanks

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [HELP] Process Apache yang tinggi
« Reply #7 on: 2015-08-10, 11:59:08 »
Optimasi mysql (bisa pakai mysqltuner sebagai 'penuntun').
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.08 seconds with 19 queries.

web stats analysis