https://blog.gomgom.io/502-bad-gateway-solution-on-nginx-php_fpm/

https://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/

https://opentutorials.org/module/384/4328

http://nginx.org/en/docs/http/ngx_http_upstream_module.html

http://m.blog.naver.com/dudwo567890/130169637747

https://websetnet.com/ko/optimizing-nginx-and-php-fpm-for-high-traffic-sites/

https://brunch.co.kr/@alden/11

 

서버 내 한 사이트만 502 에러를 뿜길래,

업스트림 keepalive 설정도 해주고. timeout 시간도 늘리고 버퍼사이즈도 늘려줘봤습니다.

일단 임시방편으로 해봤는데, 다행히 잘 동작하네요.

 

이제 이것도 안되면 서버 성능이라도 좀 올려야 할런지 ㅠㅠ