tunning atau optimize server saat error 502 atau 504
Ubuntu :
- Cek nginx.conf besarkan countcurrent user
- Cek www.conf di php-fpm besarkan pm.max_children dan sesuaikan dengan kondisi server bisa dilihat di top atau plugin glances
service php7.3-fpm restart
service php7.3-fpm status
systemctl status nginx
systemctl restart nginx
- Cek nginx.conf besarkan countcurrent user
- Cek www.conf di php-fpm besarkan pm.max_children dan sesuaikan dengan kondisi server bisa dilihat di top atau plugin glances
service php7.3-fpm restart
service php7.3-fpm status
systemctl status nginx
systemctl restart nginx
Komentar
Posting Komentar