시스템 관리_30 리버스 프록시 Nginx 및 Apache 환경 CORS Access-Control-Allow-Origin 헤더 오류 완벽 해결 가이드
출처 / 참고: MDN Web Docs (Cross-Origin Resource Sharing), W3C CORS Specification, Nginx Documentation (ngx_http_headers_module)
명령어: curl, nginx -T, apachectl, grep, tail
키워드: CORS, Access-Control-Allow-Origin, Preflight Request, OPTIONS Method, Reverse Proxy, Duplicate Headers, always
사용처: 프론트엔드(React, Vue)와 백엔드(API) 분리 환경에서 브라우저 CORS 차단 문제 해...
시스템 관리_29 고동시성 대량 트래픽 환경의 Broken pipe 및 Connection reset by peer 오류 원인 분석과 완벽 대응 가이드
출처 / 참고: Linux man-pages (tcp(7), listen(2)), RFC 793 (Transmission Control Protocol), Nginx / Netty Performance Tuning Guide
명령어: ss, netstat, nstat, dmesg, sysctl, tcpdump
키워드: Broken pipe, Connection reset by peer, ECONNRESET, EPIPE, TCP RST, somaxconn, tcp_max_syn_backlog, ListenDrop
사용처: 대규모 동시 접속 프로모션 이벤트, API 게이트웨이 및 WAS 간 통신 시 간헐적 커...
시스템 관리_28 톰캣 WAS CPU 100% 점유 및 서비스 정지 Hang 현상 발생 시 스레드 덤프 완벽 디버깅 가이드
출처 / 참고: Oracle JVM Diagnostics Guide (Troubleshooting System Hangs and Deadlocks), Apache Tomcat Documentation (Monitoring and Managing Tomcat)
명령어: top -H, jstack, jcmd, printf, ps, awk
키워드: Thread Dump, CPU 100%, Tomcat Hang, nid, top -H, Busy Thread, Deadlock, RUNNABLE, Infinite Loop
사용처: 톰캣 WAS의 CPU 점유율이 100%에 도달하며 웹 요청 처리가 멈추는(Hang) 장...
시스템 관리_27 Nginx 및 아파치 HTTP 413 Request Entity Too Large 요청 본문 크기 초과 오류 원인과 완벽 해결 가이드
출처 / 참고: Nginx Official Documentation (ngx_http_core_module - client_max_body_size), Apache HTTP Server Documentation (core - LimitRequestBody), RFC 7231 (HTTP/1.1 Semantics and Content)
명령어: curl, nginx -T, apachectl, httpd, grep, tail
키워드: HTTP 413, Request Entity Too Large, Payload Too Large, client_max_body_size, LimitRequestBody, uploa...
시스템 관리_26 아파치 톰캣 Address already in use bind 포트 충돌 오류 원인과 완벽 해결 가이드
출처 / 참고: Linux man-pages (bind(2), ip(7)), Apache Tomcat Configuration Reference, Apache HTTP Server Documentation
명령어: ss, lsof, fuser, netstat, ps, kill, systemctl
키워드: Address already in use, bind, Port Conflict, Apache, Tomcat, 8080, 80, 8005, TIME_WAIT, Zombie Process
사용처: 웹 서버(Apache) 및 WAS(Tomcat) 기동 실패 시 동일 포트 중복 점유 프로세스 식별 및 강제 종료,...
시스템 관리_25 Nginx 업스트림 소켓 Permission denied 권한 거부로 인한 502 Bad Gateway 오류 원인 분석 및 해결 가이드
출처 / 참고: Nginx Documentation (ngx_http_upstream_module), PHP-FPM Configuration Guide (listen.owner, listen.mode), Red Hat SELinux User’s and Administrator’s Guide
명령어: ls, namei, stat, ps, tail, grep, ausearch
키워드: 502 Bad Gateway, Permission denied, Unix Domain Socket, listen.owner, listen.group, listen.mode, www-data, SELinux httpd_t
사용처:...
시스템 관리_24 Nginx FastCGI 및 Reverse Proxy 환경 504 Gateway Time-out 오류 원인 분석과 완벽 해결 가이드
출처 / 참고: Nginx Official Documentation (Module ngx_http_proxy_module, Module ngx_http_fastcgi_module), PHP-FPM Documentation (php-fpm.conf)
명령어: nginx, curl, tail, ss, top, php-fpm
키워드: 504 Gateway Time-out, upstream timed out, proxy_read_timeout, fastcgi_read_timeout, max_execution_time, request_terminate_timeout
사용처: 웹 서비스 대용량 데이터 처리 및 파일 ...
227 post articles, 33 pages.