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-29, 01:18:54

Author Topic: Habis Update Sering 500 Internal Server Error  (Read 5712 times)

0 Members and 1 Guest are viewing this topic.

Offline GentZu

  • Senior Member
  • *
  • Posts: 323
  • Karma: +0/-0
  • Gender: Male
  • yare yare...
    • View Profile
Habis Update Sering 500 Internal Server Error
« on: 2013-04-04, 22:35:54 »
ane rasa habis update kloxo terbaru kok sering banget Internal Server Error ya?
First Bite Timenya juga jelek :(
memori yang kepakek gak pernah nyampek 500MB
ada solusi buat optimasi

ini informasinya
vps ramnode 4 core @ 3.4GHz
sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2013031808

B. OS: CentOS release 5.9 (Final) i686

C. Apps:
   1. MySQL: mysql-5.0.95-5.el5_9
   2. PHP: php53u-5.3.23-1.ius.el5
   3. Httpd: httpd-2.2.23-3.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.3.15-1.el5
   6. Qmail: qmail-toaster-1.03-1.3.22.mr.el5
   7. Dns: bind-9.9.2-3.P2.el5

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

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        325        698          0          0        210
   -/+ buffers/cache:        114        909
   Swap:         1024          0       1023
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: Habis Update Sering 500 Internal Server Error
« Reply #1 on: 2013-04-05, 11:11:26 »
# sebelum versi final saya juga pernah ngalami nggak stabil (internal server error)
kalo sekarang 'yum update kloxomr' saya lancar saja
solusinya bisa coba semua fix command viewtopic.php?f=15&t=1624

cek ....... kalau belum stabil juga bisa coba pindah ke lighttpd lalu kembalikan lagi ke nginx+proxy

# Masalah memaksimalkan memory bisa ditingkatkan jadi medium my.cnf viewtopic.php?f=15&t=1136
dan jangan lupa " sh /script/mysql-convert --engine=MyISAM "

# Nginx Cache juga bisa diaktifkan kalau mau lebih kenceng
mungkin ini tidak terlalu berpengaruh terhadap memory, karena hanya membaca cache yang tertulis di hardisk pada folder /var/cache/nginx jadi mungkin berpanguruh terhadap IO CPU ( :D hanya nebak)
kelemahannya update content seringkali yang tampil file lama, karena dia membaca cache lama
jika menggunakan "nginx-special" ini bisa diatasi dengan mengaktifkan module "purge" (yg ini saya belum coba lagi setelah nginx-special di-drop dari default kloxo-mr)

# Dan kalau mau sedikit rumit bisa mengaktifkan 'microcaching' yg lebih memungkinkan jauh lebih cepat dan bisa menghandle high traffic. Ini hanya clue, untuk penerapan harus diolah sendiri viewtopic.php?f=9&t=3582

 :arrow: saran : sebaiknya pelan-pelan, hati-hati dan jangan panik. lakukan hanya yang menurut anda mantaps
« Last Edit: 1970-01-01, 01:00:00 by Guest »
easy, secure and speed up web panel ===> Kloxo-MR

Offline prandah

  • Senior Member
  • *
  • Posts: 344
  • Karma: +0/-0
    • View Profile
    • https://www.bowo.name
Re: Habis Update Sering 500 Internal Server Error
« Reply #2 on: 2013-04-05, 20:42:11 »
Quote from: "zenkul"
# sebelum versi final saya juga pernah ngalami nggak stabil (internal server error)
kalo sekarang 'yum update kloxomr' saya lancar saja
solusinya bisa coba semua fix command viewtopic.php?f=15&t=1624

cek ....... kalau belum stabil juga bisa coba pindah ke lighttpd lalu kembalikan lagi ke nginx+proxy

# Masalah memaksimalkan memory bisa ditingkatkan jadi medium my.cnf viewtopic.php?f=15&t=1136
dan jangan lupa " sh /script/mysql-convert --engine=MyISAM "

# Nginx Cache juga bisa diaktifkan kalau mau lebih kenceng
mungkin ini tidak terlalu berpengaruh terhadap memory, karena hanya membaca cache yang tertulis di hardisk pada folder /var/cache/nginx jadi mungkin berpanguruh terhadap IO CPU ( :D hanya nebak)
kelemahannya update content seringkali yang tampil file lama, karena dia membaca cache lama
jika menggunakan "nginx-special" ini bisa diatasi dengan mengaktifkan module "purge" (yg ini saya belum coba lagi setelah nginx-special di-drop dari default kloxo-mr)

# Dan kalau mau sedikit rumit bisa mengaktifkan 'microcaching' yg lebih memungkinkan jauh lebih cepat dan bisa menghandle high traffic. Ini hanya clue, untuk penerapan harus diolah sendiri viewtopic.php?f=9&t=3582

 :arrow: saran : sebaiknya pelan-pelan, hati-hati dan jangan panik. lakukan hanya yang menurut anda mantaps


aktifin nginx cache sebelah mana yah ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline zenkul

  • Global Moderator
  • Master
  • *****
  • Posts: 383
  • Karma: +3/-0
    • View Profile
    • home & decor
Re: Habis Update Sering 500 Internal Server Error
« Reply #3 on: 2013-04-05, 20:56:32 »
kalau misalnya nginx-proxy :
copy file "proxy.conf" pada folder /home/nginx/conf/globals kemudian rename & paste menjadi "custom.proxy.conf"
file custom tersebut yang di-edit : hapus tanda # pada baris 56

Code: [Select]
#proxy_cache pcache;
edit menjadi hanya
proxy_cache pcache;

kalau misalnya hanya nginx maka yang perlu di-edit adalah file "php-fpm.conf" : cara-nya serupa
« Last Edit: 1970-01-01, 01:00:00 by Guest »
easy, secure and speed up web panel ===> Kloxo-MR

Offline ariefewweb

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: Habis Update Sering 500 Internal Server Error
« Reply #4 on: 2013-04-06, 06:16:35 »
aku dulu pernah mengaktifkan nginx cache tapi kulepas lagi karena setiap update konten, lama nongolnya.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline GentZu

  • Senior Member
  • *
  • Posts: 323
  • Karma: +0/-0
  • Gender: Male
  • yare yare...
    • View Profile
Re: Habis Update Sering 500 Internal Server Error
« Reply #5 on: 2013-04-06, 21:54:33 »
server ane buat web AGC sama UGC, jadi kayaknya gk usah pakek cache...
ini udah ane coba saran2 diatas yang sekiranya perlu, ane pantau dulu hasilnya gimana...
thanks...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline ariefewweb

  • Valuable Member
  • *
  • Posts: 62
  • Karma: +0/-0
    • View Profile
Re: Habis Update Sering 500 Internal Server Error
« Reply #6 on: 2013-04-08, 05:57:13 »
coba php-fpm di kembalikan ke mod_php_ruid2 (secondary-php gak dicentang), lalu dikembalikan lagi ke php-fpm (secondary-php dicentang)
running 'sh /script/fix-chownchmod' karena secondary-php kelihatannya pakai suphp
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline GentZu

  • Senior Member
  • *
  • Posts: 323
  • Karma: +0/-0
  • Gender: Male
  • yare yare...
    • View Profile
Re: Habis Update Sering 500 Internal Server Error
« Reply #7 on: 2013-04-09, 20:27:26 »
Quote from: "ariefewweb"
coba php-fpm di kembalikan ke mod_php_ruid2 (secondary-php gak dicentang), lalu dikembalikan lagi ke php-fpm (secondary-php dicentang)
running 'sh /script/fix-chownchmod' karena secondary-php kelihatannya pakai suphp
ane malah sekarang nyoba ke mod_php_ruid2, kayaknya malah lebih stabil...
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.067 seconds with 18 queries.

web stats analysis