ubuntu üzerinde apache2 ve nodejs kurulu, site ssl ile çalışıyor. sistem arada 502'ye düşüyor ve yavaş çalışıyor. restart yapınca geliyor, kısa bir süre sonra tekrar gidiyor.
# top komutundaki kaynak tüketimi neredeyse hiç yok.
problem ve çözüm ne olabilir? site conf şöyle:
ServerAdmin webmaster@dom.com ServerName dom.com ServerAlias www.dom.com DocumentRoot /var/www/html/dom.com ProxyRequests On ProxyPass / http:// localhost:3000/ #retry=0 timeout=5 ProxyPassReverse / http:// localhost:3000/error.log dosyası şöyle:
[Sun Oct 11 12:14:13.421632 2020] [proxy_http:error] [pid 55652] (70007)The timeout specified has expired: [client 91.199.118.212:38142] AH01102: error reading status line from remote server pay.jzsdgg.com:80, referer: pay.jzsdgg.com [Sun Oct 11 12:14:13.421678 2020] [proxy:error] [pid 55652] [client 91.199.118.212:38142] AH00898: Error reading from remote server returned by http:/pay.jzsdgg.com/, referer: pay.jzsdgg.com [Sun Oct 11 12:14:13.898374 2020] [proxy:error] [pid 55658] (110)Connection timed out: AH00957: HTTPS: attempt to connect to 103.88.34.220:443 (*) failed ... [Sun Oct 11 12:14:16.182365 2020] [proxy:error] [pid 55629] [client 91.199.118.212:45547] AH00898: Error reading from remote server returned by http:/pay.jzsdgg.com/, referer: pay.jzsdgg.com [Sun Oct 11 12:14:16.942426 2020] [proxy_http:error] [pid 55665] (70007)The timeout specified has expired: [client 91.199.118.212:65105] AH01102: error reading status line from remote server pay.jzsdgg.com:80, referer: pay.jzsdgg.com [Sun Oct 11 12:14:17.934454 2020] [proxy:error] [pid 55669] [client 91.199.118.212:19134] AH00898: Error reading from remote server returned by http:/pay.jzsdgg.com/, referer: pay.jzsdgg.com [Sun Oct 11 12:14:17.994372 2020] [proxy:error] [pid 55666] (110)Connection timed out: AH00957: HTTPS: attempt to connect to 103.88.34.220:443 (*) failed# mpstat
idle 99.36 gösteriyor.
Linux 5.4.0-48-generic (newsapost) 10/11/20 _x86_64_ (2 CPU) 12:46:05 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle 12:46:05 all 0.39 0.01 0.13 0.10 0.00 0.01 0.00 0.00 0.00 99.36