MRatWork Forum by Mustafa Ramadhan - [ASK] Web Tiba2 Menjadi Lemot

Sponsor:
Server and Web Integrator
Link:
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:

MRatWork Forum | Please login or register. | 2017-11-07, 20:26:33

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK] Web Tiba2 Menjadi Lemot

« previous next »

- Print

Pages: [1] 2 3 Go Down

### Author Topic: [ASK] Web Tiba2 Menjadi Lemot (Read 7022 times)

0 Members and 1 Guest are viewing this topic.

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### [ASK] Web Tiba2 Menjadi Lemot

« on: 2014-01-06, 21:51:08 »
setelah saya upgrade ke kloxo versi paling akhir belum saya cek performa web saya, tapi setelah saya cek tiba2 kok lemot, loadingnya lama, padahal menurut saya membuka halaman yang sangat ringan.... sudah saya switch php type dll tetap sama... saya cek speedtest server masih kenceng, saya tanya ke CS katanya gk ada masalah... kira2 masalahnya apa ya?
ngeload html static aja lama hXXp://mp3days.com/coba.html
*) pakek openvz ramnode, selama ini tidak pernah mengalami masalah gangguan serve...
Code: [Select]

    A. Kloxo-MR: 6.5.0.f-2014010301

    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.8-1.el5
       6. Qmail: qmail-toaster-1.03-1.3.29.mr.el5
          - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
       7. Dns: bind-9.9.4-1.P1.el5

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

    E. Memory:
                    total       used       free     shared    buffers     cached
       Mem:          1024        597        426          0          0        195
       -/+ buffers/cache:        402        621

« Last Edit: 2014-01-06, 21:57:30 by GentZu »
Logged

#### ebokalsel

- Junior Member
- Posts: 41
- Karma: +1/-0

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #1 on: 2014-01-07, 01:19:52 »
Iya lemot
Code: [Select]

    Server Hostname:        mp3days.com
    Server Port:            80

    Document Path:          /coba.html
    Document Length:        26357 bytes

    Concurrency Level:      1
    Time taken for tests:   2.980 seconds
    Complete requests:      1
    Failed requests:        0
    Write errors:           0
    Total transferred:      26732 bytes
    HTML transferred:       26357 bytes
    Requests per second:    0.34 [#/sec] (mean)
    Time per request:       2979.689 [ms] (mean)
    Time per request:       2979.689 [ms] (mean, across all concurrent requests)
    Transfer rate:          8.76 [Kbytes/sec] received

    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:       50   50   0.0     50      50
    Processing:  2930 2930   0.0   2930    2930
    Waiting:     2879 2879   0.0   2879    2879
    Total:       2980 2980   0.0   2980    2980

Kalau misal gak puas dengan performa update terbaru bisa di downgrade dulu ke versi sebelumnya
Quote

> yum downgrade kloxomr -y
> /script/cleanup

« Last Edit: 2014-01-07, 01:23:54 by ebokalsel »
Logged

#### Miki

- Senior Member
- Posts: 167
- Karma: +0/-0

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #2 on: 2014-01-07, 04:25:56 »
Quote from: GentZu on 2014-01-06, 21:51:08

> setelah saya upgrade ke kloxo versi paling akhir belum saya cek performa web saya, tapi setelah saya cek tiba2 kok lemot, loadingnya lama, padahal menurut saya membuka halaman yang sangat ringan.... sudah saya switch php type dll tetap sama... saya cek speedtest server masih kenceng, saya tanya ke CS katanya gk ada masalah... kira2 masalahnya apa ya?
> ngeload html static aja lama hXXp://mp3days.com/coba.html
> *) pakek openvz ramnode, selama ini tidak pernah mengalami masalah gangguan serve...
> Code: [Select]

>     A. Kloxo-MR: 6.5.0.f-2014010301

>     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.8-1.el5
>        6. Qmail: qmail-toaster-1.03-1.3.29.mr.el5
>           - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
>        7. Dns: bind-9.9.4-1.P1.el5

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

>     E. Memory:
>                     total       used       free     shared    buffers     cached
>        Mem:          1024        597        426          0          0        195
>        -/+ buffers/cache:        402        621

Script Webnya pake apa?
coba widged share this nya di non aktifkan dulu..
Logged
"the freedom speak is expression to exchange knowledge"

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #3 on: 2014-01-07, 16:50:31 »
scriptnya php curl, file get content, html dom...
tapi biasanya cepet kok... apalagi yg ane kaih contoh di atas cuman file html static alias sangat ringan...
tadu udah nyoba downgrade sama saja, sekarang upgrade lagi versi terkahir masih sama saja...
Logged

#### Miki

- Senior Member
- Posts: 167
- Karma: +0/-0

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #4 on: 2014-01-11, 04:58:12 »
coba lihat pada swith program pastikan sudah pilih nginxproxy kemudian webserver config phptype rubah php-fpm_event menjadi mod_php_ruid2 kemudian jalankan 'sh /script/restart-all' untuk lihat hasilnya jika oke semua coba test webnya di anjurkan test di crome biar cepat keliatan hasilnya dan jika masih lambat lankukan conver inoDB ke myISAM kemudian lanjutkan dengan 'sh /script/mysql-optimize --select=optimize'
jika masih kurang puas juga lakukan tweak di my.cnf untuk tweaknya recomennya sih sesuaikan dengan ram.. tapi kurang tau juga klo dimanipulasi bisa atau egk nya kita tanyak lebih lanjut pada master-master disini aja mungkin para master bersedia memberikan contoh tweak pada mycnf untuk contoh ram 4GB misalnya.
« Last Edit: 2014-01-11, 05:22:51 by Miki »
Logged
"the freedom speak is expression to exchange knowledge"

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #5 on: 2014-01-11, 09:29:24 »
COpy saja /usr/share/mysql/my-huge.cnf ke /etc/my.cnf. Kemudian restart mysql.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #6 on: 2014-01-15, 11:05:08 »
hmm ternyata sekarang malah sering internal server error...
pas error gitu ane liat ram masih banyak, cpu loadnya juga dikit banget...
kira2 apa ya...
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #7 on: 2014-01-15, 11:49:14 »
Coba informasikan 'cat /etc/sysinfo.conf; sh /script/sysinfo'.
Banyak hal yang berubah pada Centos sendiri.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #8 on: 2014-01-18, 10:32:06 »
Quote from: MRatWork on 2014-01-15, 11:49:14

> Coba informasikan 'cat /etc/sysinfo.conf; sh /script/sysinfo'.
> Banyak hal yang berubah pada Centos sendiri.

Code: [Select]

    [root@mp3days ~]# cat /etc/sysinfo.conf; sh /script/sysinfo
    cat: /etc/sysinfo.conf: No such file or directory

    A. Kloxo-MR: 6.5.0.f-2014011001

    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.8-1.el5
       6. Qmail: qmail-toaster-1.03-1.3.31.mr.el5
          - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
       7. Dns: bind-9.9.4-1.P2.el5

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

    E. Memory:
                    total       used       free     shared    buffers     cached
       Mem:          1024        374        649          0          0        155
       -/+ buffers/cache:        219        804
       Swap:         1024          1       1022

    [root@mp3days ~]#

kok gk ada ya /etc/sysinfo.conf
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #9 on: 2014-01-18, 11:23:43 »
Sorry, maksudnya 'cat /etc/sysctl.conf'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #10 on: 2014-01-18, 13:45:00 »
Quote from: MRatWork on 2014-01-18, 11:23:43

> Sorry, maksudnya 'cat /etc/sysctl.conf'.

Code: [Select]

    # Kernel sysctl configuration file for Red Hat Linux
    #
    # For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
    # sysctl.conf(5) for more details.

    # Controls IP packet forwarding
    net.ipv4.ip_forward = 0

    # Controls source route verification
    # net.ipv4.conf.default.rp_filter = 1

    # Do not accept source routing
    # net.ipv4.conf.default.accept_source_route = 0

    # Controls the System Request debugging functionality of the kernel
    # kernel.sysrq = 0

    # Controls whether core dumps will append the PID to the core filename
    # Useful for debugging multi-threaded applications
    # kernel.core_uses_pid = 1

    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1

    # Controls the maximum size of a message, in bytes
    # kernel.msgmnb = 65536

    # Controls the default maxmimum size of a mesage queue
    # kernel.msgmax = 65536

    # Controls the maximum shared segment size, in bytes
    # kernel.shmmax = 4294967295

    # Controls the maximum number of shared memory segments, in pages
    # kernel.shmall = 268435456

    fs.file-max = 209708

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #11 on: 2014-01-18, 14:13:14 »
Coba ganti:
Code: [Select]

    fs.file-max = 209708

menjadi:
Code: [Select]

    ### begin -- add by Kloxo-MR
    fs.aio-max-nr = 1048576
    fs.file-max = 1048576
    vm.swappiness = 10
    vm.vfs_cache_pressure = 50
    vm.dirty_background_ratio = 15
    vm.dirty_ratio = 5
    ### end -- add by Kloxo-MR

apabila server BUKAN OpenVZ.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #12 on: 2014-01-18, 14:45:01 »
Quote from: MRatWork on 2014-01-18, 14:13:14

> Coba ganti:
> Code: [Select]

>     fs.file-max = 209708

> menjadi:
> Code: [Select]

>     ### begin -- add by Kloxo-MR
>     fs.aio-max-nr = 1048576
>     fs.file-max = 1048576
>     vm.swappiness = 10
>     vm.vfs_cache_pressure = 50
>     vm.dirty_background_ratio = 15
>     vm.dirty_ratio = 5
>     ### end -- add by Kloxo-MR

> apabila server BUKAN OpenVZ.

hmmm tp saya pakek openvz pak... yg saya heran kadang normal kadang lemot banget...
kalau liat ram sama cpu usage masih banyak yang free menurut saya...
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #13 on: 2014-01-18, 15:37:52 »
Saya curiga masalahnya ada di host dari server. Ada VPS di host anda yang makan resource I/O dan VPS anda (juga VPS dari client lain) yang ikut 'kena getah'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### GentZu

- Senior Member
- Posts: 323
- Karma: +0/-0
- Gender:
- yare yare...

##### Re: [ASK] Web Tiba2 Menjadi Lemot

« Reply #14 on: 2014-01-19, 07:23:51 »
Quote from: MRatWork on 2014-01-18, 15:37:52

> Saya curiga masalahnya ada di host dari server. Ada VPS di host anda yang makan resource I/O dan VPS anda (juga VPS dari client lain) yang ikut 'kena getah'.

sudah pindah node tapi tetep lemot pak...
Logged

- Print

Pages: [1] 2 3 Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- [ASK] Web Tiba2 Menjadi Lemot

Top 10 Social Networking: Facebook Twitter LinkedIn Pinterest Google Plus Tumblr Instagram VK Flickr Vine

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.041 seconds with 17 queries.

Mirror created by MasterkinG32.CoM