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-14, 14:45:28

Author Topic: [ASK] High RAM/Memory/CPU Usage  (Read 7594 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
Re: [ASK] High RAM/Memory/CPU Usage
« Reply #15 on: 2017-01-29, 09:40:43 »
sudah saya switch ke hiawatha proxy kok gk lama kemudian Service Unavailable 503 ya, harus restart lg baru normal, tapi tidak lama seperti itu kembali...
« Last Edit: 2017-01-29, 09:42:48 by GentZu »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [ASK] High RAM/Memory/CPU Usage
« Reply #16 on: 2017-01-29, 10:32:27 »
sudah saya switch ke hiawatha proxy kok gk lama kemudian Service Unavailable 503 ya, harus restart lg baru normal, tapi tidak lama seperti itu kembali...
Pelajari dari hiawatha log. Saya curiga server anda kena DDOS dan atau menjadi spammer.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [ASK] High RAM/Memory/CPU Usage
« Reply #17 on: 2017-01-29, 10:33:44 »
Pastikan anda gunakan update terakhir dari Kloxo-MR 7.0.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline GentZu

  • Senior Member
  • *
  • Posts: 323
  • Karma: +0/-0
  • Gender: Male
  • yare yare...
    • View Profile
Re: [ASK] High RAM/Memory/CPU Usage
« Reply #18 on: 2017-01-30, 08:57:56 »
saya sudah install versi terakhir dan hasilnya sama, saya coba nginxonly penggunaan mem masih tinggi. terus saya ganti hiawatha proxy dan pakek ngixproxy, selang beberapa menit kemuaidan sering macet2. semacam 'the connection was reset' kalau hiawatha proxy, kalau pakek ngixproxy macetnya kadang halaman web tampilnya tidak full, hanya separo kemudian loading berhenti...

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: [ASK] High RAM/Memory/CPU Usage
« Reply #19 on: 2017-01-30, 09:19:12 »
Versi terakhir pun tidak akan menolong jika ada sesuatu pada website sendiri. Oleh karena itu telusiri di log terkait (webserver dan php).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline GentZu

  • Senior Member
  • *
  • Posts: 323
  • Karma: +0/-0
  • Gender: Male
  • yare yare...
    • View Profile
Re: [ASK] High RAM/Memory/CPU Usage
« Reply #20 on: 2017-01-30, 09:46:06 »
saya lihat di nginx error log ada sedikit sekali
Code: [Select]
2017/01/30 06:58:02 [crit] 27125#27125: *2296088 connect() to unix:/opt/configs/php-fpm/sock/php-aozora.sock failed (2: No such file or directory) while connecting to upstream, client: 66.249.69.195, server: domain.com, request: "GET /url.html HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/php-aozora.sock:", host: "www.domain.com"
2017/01/30 06:58:02 [crit] 27130#27130: *2300177 connect() to unix:/opt/configs/php-fpm/sock/php-aozora.sock failed (2: No such file or directory) while connecting to upstream, client: 61.19.23.174, server: tubeid.co, request: "GET /url.html HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/php-aozora.sock:", host: "www.domain.co", referrer: "https://www.google.co.th/"
2017/01/30 06:58:03 [crit] 27130#27130: *2295026 connect() to unix:/opt/configs/php-fpm/sock/php-aozora.sock failed (2: No such file or directory) while connecting to upstream, client: 66.249.76.92, server: domain.co, request: "GET /url.html HTTP/1.1", upstream: "fastcgi://unix:/opt/configs/php-fpm/sock/php-aozora.sock:", host: "www.domain.co"
paling itu seperti di atas yg saya tidak mengerti ada beberapa line dan tidak banyak, dan yg lainnya error terkait akses file yg salah path directorynya semacam favicon, padahal saya lihat source webnya urlnya benar dan tidak not found.

untuk hiawtha log seperti ini semua, ketika pertama switch ke hiawtha proxy anehnya folder /var/log/hiawatha, sehinggal saya buat manual
Code: [Select]
176.12.85.226|Mon 30 Jan 2017 10:54:23 +0300|/home/kloxo/httpd/default/error/503.html|ErrorHandler not found
107.167.107.173|Mon 30 Jan 2017 10:54:23 +0300|/home/kloxo/httpd/default/error/503.html|ErrorHandler not found
176.12.85.226|Mon 30 Jan 2017 10:54:24 +0300|/home/kloxo/httpd/default/error/503.html|ErrorHandler not found
107.167.107.173|Mon 30 Jan 2017 10:54:24 +0300|/home/kloxo/httpd/default/error/503.html|ErrorHandler not found
107.167.107.173|Mon 30 Jan 2017 10:54:24 +0300|/home/kloxo/httpd/default/error/503.html|ErrorHandler not found

untuk error log php fpm tidak ada yang baru setelah saya test update terbaru.

sepertinya akan saya install ulang saja, memang saya lihat ketika proses install ada output yg memang tidak biasa saya lihat, karena terlalu cepat saya tidak sempat copy di putty, mungkin itu penyebabnya...

Offline GentZu

  • Senior Member
  • *
  • Posts: 323
  • Karma: +0/-0
  • Gender: Male
  • yare yare...
    • View Profile
Re: [ASK] High RAM/Memory/CPU Usage
« Reply #21 on: 2017-02-04, 09:38:33 »
setelah saya install ulang dan enable semua log, saya lihat beberapa hari terkahir error log pada nginx tidak ada, dan pada setting domain biasanya error_reporting(0); saya buat true, dan saya lihat tidak ada error log, script web sudah saya test di cpanel jg tidak ada masalah...

Dan yg membuat penasaran setelah 2x update kloxomr ketika mencoba kembali hiawatha proxy masalahnya masih sama, web jalan paling 1-2menit setelah itu error Service Unavailable 503, kemudian setelah beberapa menit tidak bisa diakses sama sekali, kalau di mozilla pesannya "the connection was reset". Sama juga seperti sebelum install ulang ketika pertama kalai switch ke hiawatha/hiawatha proxy service tidak mau di start, muncul notif karena gagal membuat file.log, karena folder hiawatha di /var/log/ tidak ada, harus di buat manual baru hiawatha bisa di start, tapi masalah muncul seperti di atas.

pun begitu nginxproxy masih sama, meskipun masih bisa di akses tp ketika halaman di coba refresh berlaki-kali saya kadang mendapatkan momen dimana halaman tidak keload 100%, mungkin halaman htmlnya yg tampil hanya 20%, selebihnya terpotong. Kira2 ketika refresh 10 kali secara cepat akan mendapatkan tampilan halaman terpotong 1 kali.

saya mencoba hiawathaproxy dan nginxproxy karena penasaran dg konsumsi memorinya.

 


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

Page created in 0.031 seconds with 19 queries.

web stats analysis