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, 12:31:14

Author Topic: Akses Web Lambat Kloxo-MR di Dedicate  (Read 4576 times)

0 Members and 1 Guest are viewing this topic.

Offline Hajie

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • WarTekno.com
Akses Web Lambat Kloxo-MR di Dedicate
« on: 2015-03-27, 19:35:10 »
Mohon bantuan... web sangat lambat diases padahal server dalam keadaan normal, kira2 cara mndeteksi masalahnya gmn, apa ada salah atau kurang pas setingan atau servernya yang bermasalah.
Terimakasih sebelumnya

A. Kloxo-MR: 6.5.0.f-2015010801

B. OS: CentOS release 6.6 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.42-1.ius.el6.x86_64
   2. PHP: php54-5.4.38-1.ius.el6.x86_64
   3. Httpd: httpd-2.2.29-1.mr.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.7.10-1.el6.ngx.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.47.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
   7. Dns: bind-9.9.5-1.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:        129013      80727      48285         64       3141      30053
   -/+ buffers/cache:      47532      81480
   Swap:         4095          0       4095

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Akses Web Lambat Kloxo-MR di Dedicate
« Reply #1 on: 2015-03-27, 19:39:24 »
Sebaiknya pindah ke Kloxo-MR 7.0 karena pengaturan php-fpm dan httpd lebih lengkap.

Terasa lambat bisa jadi karena php-fpm dan apache thread/instance tidak cukup, mysql perlu dioptimasi dan atau perlu 'pertolongan' cache manager (di sisi php, httpd dan aplikasi) karena proses cukup berat.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hajie

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • WarTekno.com
Re: Akses Web Lambat Kloxo-MR di Dedicate
« Reply #2 on: 2015-03-27, 19:50:39 »
klu ga salah sekarang kloxo-mr 7 sdh pakai mariaDB, sedangkan saya sdh terlanjur menggunakan mysql, klu update bearti ngikut mariaDB pa ya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Akses Web Lambat Kloxo-MR di Dedicate
« Reply #3 on: 2015-03-27, 20:10:49 »
klu ga salah sekarang kloxo-mr 7 sdh pakai mariaDB, sedangkan saya sdh terlanjur menggunakan mysql, klu update bearti ngikut mariaDB pa ya
Akan otomatis mysql diganti ke mariadb. Data tetap kompatibel.

Hanya saja perlu pengaturan kembali php pada tingkat server dan client, switch application dan php-type.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Hajie

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • WarTekno.com
Re: Akses Web Lambat Kloxo-MR di Dedicate
« Reply #4 on: 2015-03-27, 20:14:32 »
makasih banyak pa Mustafa bantuannya, saya coba upgrade dlu kloxonya

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline agssbuzz

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Akses Web Lambat Kloxo-MR di Dedicate
« Reply #6 on: 2015-03-28, 12:31:24 »
Sebaiknya pindah ke Kloxo-MR 7.0 karena pengaturan php-fpm dan httpd lebih lengkap.

Terasa lambat bisa jadi karena php-fpm dan apache thread/instance tidak cukup, mysql perlu dioptimasi dan atau perlu 'pertolongan' cache manager (di sisi php, httpd dan aplikasi) karena proses cukup berat.

pak yang saya rasakan di kloxo-mr 7 caching nya lumayan lama.. ketika saya update tampilan css perubahan tersebut akan berubah setelah beberapa menit kemudian, tidak langsung berubah. apakah ada pengaturan waktu cache nya pak ? saya pake nginx proxy + php-fpm

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Akses Web Lambat Kloxo-MR di Dedicate
« Reply #7 on: 2015-03-28, 12:45:59 »
Jangan pakai/pilih webcache (seperti varnish). Semestinya nginx-proxy pakai microcache dengan nilai 10 detik dan berurusan dengan file php.

Kalau soal css/js itu diluar pengaturan.

Biasanya website ada pengaturan yang diletakkan di .htaccess, misalnya:
Code: [Select]
<IfModule mod_expires.c>
ExpiresActive On

ExpiresByType image/x-icon "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"

ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 1 week"
</IfModule>

Anda harus ubah nilai ini. Secara umum ini adalah yang direkomendasikan.
..:: 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.038 seconds with 20 queries.

web stats analysis