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-05-31, 04:38:55

Author Topic: User Terkena Limit  (Read 9489 times)

0 Members and 1 Guest are viewing this topic.

Offline petruk-host

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
    • http://petrukhost.com
User Terkena Limit
« on: 2014-06-16, 01:40:08 »
halo om tolong bantuin saya nih
saya punya dedi dengan kunjungan perhari besar sekali
server udah menggunakan E3 ram 8 gb, sebelumnya pake dedi yang beda spesifikasi dan lokasi user bisa mencapai 2 ribuan , sekarang hanya 400an dan itu mentok, udah coba saya ubah settingan PHP Type nya saya ubah dan pakai php_mod_ruid2 berhasil naik seribuan, tapi tiba2 drop sampai 400, dan ketika saya buka web , webnya seolah ngak ngerespon, jadi hanya 400 user itu aja yang bisa masuk ke web, sisanya di tolak,

mohon bantuannya om

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: User Terkena Limit
« Reply #1 on: 2014-06-16, 02:42:34 »
Infokan 'sh /script/sysinfo'.

Kemungkinan ini masalah php-fpm yang belum dioptimasi.
« Last Edit: 2014-06-16, 03:33:40 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline petruk-host

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
    • http://petrukhost.com
Re: User Terkena Limit
« Reply #2 on: 2014-06-16, 02:45:41 »
A. Kloxo-MR: 6.5.1.b-2014061502

B. OS: CentOS release 6.5 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.37-1.ius.el6.x86_64
   2. PHP: php53u-5.3.28-4.ius.el6.x86_64
   3. Httpd: httpd-2.2.27-1.mr.e6.x86_64
   4. Lighttpd: --uninstalled--
   5. Hiawatha: hiawatha-9.6-1.mr.el6.x86_64
   6. Nginx: nginx-1.7.1-1.el6.ngx.x86_64
   7. Cache: --uninstalled--
   8. Dns: djbdns-1.05-17.3.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.38.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.16.mr.el6.x86_64

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          7842       2258       5584          0        164       1488
   -/+ buffers/cache:        605       7236
   Swap:         5695          0       5695

ini om informasinya sekarang saya pakai itu
« Last Edit: 2014-06-16, 02:48:52 by petruk-host »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: User Terkena Limit
« Reply #3 on: 2014-06-16, 02:52:43 »
Pindahkan domain terkait ke lain (selain admin) dan kemudian pada 'limit' naikkan nilai 'Number Of FastCGI Children' ke '30' sampai '50'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline petruk-host

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
    • http://petrukhost.com
Re: User Terkena Limit
« Reply #4 on: 2014-06-16, 02:59:28 »
sudah om, lalu step selanjutnya hal apa saja yang perlu di optimalkan ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: User Terkena Limit
« Reply #5 on: 2014-06-16, 03:14:19 »
Semestinya juga install xcache/apc untuk php dan enable cache di aplikasi. Juga tentunya optimasi mysql.

Setting/keadaan default tidak mencukupi.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline petruk-host

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
    • http://petrukhost.com
Re: User Terkena Limit
« Reply #6 on: 2014-06-16, 03:20:36 »
Semestinya juga install xcache/apc untuk php dan enable cache di aplikasi. Juga tentunya optimasi mysql.

Setting/keadaan default tidak mencukupi.

udah saya set cache juga om, minta petunjuk untuk set php-fpm dan lain lainnya om untuk settingan maksimal

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: User Terkena Limit
« Reply #7 on: 2014-06-16, 03:30:43 »
1. Install mysqltuner dengan 'yum install mysqltuner' dan kemudian jalankan dengan eksekusi 'mysqltuner' utk tahu parameter apa saja yang perlu dinaikkan pada /etc/my.cnf
2. Setelah install cache perlu dijalankan 'sh /script/restart-web'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline petruk-host

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
    • http://petrukhost.com
Re: User Terkena Limit
« Reply #8 on: 2014-06-16, 07:58:11 »
1. Install mysqltuner dengan 'yum install mysqltuner' dan kemudian jalankan dengan eksekusi 'mysqltuner' utk tahu parameter apa saja yang perlu dinaikkan pada /etc/my.cnf
2. Setelah install cache perlu dijalankan 'sh /script/restart-web'

masih tetap om, ada cara lain ngak ?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: User Terkena Limit
« Reply #9 on: 2014-06-16, 08:26:49 »
Tahu mentok cuma sampai 400 darimana?.

Beda spec server lama dan baru apa?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline petruk-host

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
    • http://petrukhost.com
Re: User Terkena Limit
« Reply #10 on: 2014-06-16, 11:59:11 »
Tahu mentok cuma sampai 400 darimana?.

Beda spec server lama dan baru apa?.

begini om, user udah mencapai ribuan, nah itu traffiknya drop sama seperti waktu web cuma bisa nampung sekian usernya aja dan sisanya user kebuang om, dan ketika user mecapai 400an, ane cek web ngak bisa  buka, tapi 400 user itu bebas buka apa aja

beda processor om

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: User Terkena Limit
« Reply #11 on: 2014-06-16, 12:34:41 »
Jika anda pakai mod_php_ruid2 maka 'apache optimize' harus dipilih 'optimize'. Jika pakai php-fpm maka 'max children' harus dinaikkan (untuk RAM 8GB maka nilai 100 masih bisa).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline petruk-host

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
    • http://petrukhost.com
Re: User Terkena Limit
« Reply #12 on: 2014-06-16, 15:50:05 »
Jika anda pakai mod_php_ruid2 maka 'apache optimize' harus dipilih 'optimize'. Jika pakai php-fpm maka 'max children' harus dinaikkan (untuk RAM 8GB maka nilai 100 masih bisa).

sudah om, kalau ngak pake php-fpm drop malah sampe mati websernya, ketika pake mod_php_ruid2 itu udah sampe seribuan om lalu tiba2 drop om, begitu

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: User Terkena Limit
« Reply #13 on: 2014-06-16, 16:07:23 »
1. Coba copy /home/nginx/etc/conf/nginx.conf ke /home/nginx/etc/conf/custom.nginx.conf
2. ubah nilai 'worker_connections 2048' ke 'worker_connections 20480' di custom.nginx.conf
3. hal yang sama dilakukan di /etc/nginx/nginx.conf
4. jalankan 'sh /script/fixweb; sh /script/restart'.

Ini diasumsikan anda pakai nginx atau nginx-proxy.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline petruk-host

  • Junior Member
  • *
  • Posts: 26
  • Karma: +0/-0
    • View Profile
    • http://petrukhost.com
Re: User Terkena Limit
« Reply #14 on: 2014-06-16, 17:01:32 »
1. Coba copy /home/nginx/etc/conf/nginx.conf ke /home/nginx/etc/conf/custom.nginx.conf
2. ubah nilai 'worker_connections 2048' ke 'worker_connections 20480' di custom.nginx.conf
3. hal yang sama dilakukan di /etc/nginx/nginx.conf
4. jalankan 'sh /script/fixweb; sh /script/restart'.

Ini diasumsikan anda pakai nginx atau nginx-proxy.

oke om, udah di terapkan nunggu hasilnya akan saya share di sini, om worker_connections kalau di tingkatkan maksimal berapa ?

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.029 seconds with 22 queries.

web stats analysis