Home

시스템 관리_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 사용처: 웹 서비스 대용량 데이터 처리 및 파일 ...

Read more

시스템 관리_23 톰캣 WAS 애플리케이션 재배포 시 발생하는 java.lang.OutOfMemoryError Metaspace 오류 원인 분석 및 해결 가이드

출처 / 참고: Apache Tomcat Documentation (Class Loader HOW-TO), OpenJDK HotSpot JVM Memory Management Guide (JEP 122 Remove Permanent Generation) 명령어: jcmd, jstat, ps, lsof, grep, tail 키워드: java.lang.OutOfMemoryError, Metaspace, MaxMetaspaceSize, ClassLoader Leak, WebappClassLoaderBase, JDBC Driver Deregister, GC.class_stats 사용처: 톰캣 Manager 콘솔 ...

Read more

시스템 관리_22 톰캣 WAS java.lang.OutOfMemoryError Java heap space 오류 원인 분석 및 JVM 튜닝 가이드

출처 / 참고: Apache Tomcat Official Documentation, Oracle JVM Tuning Guide (HotSpot Virtual Machine Garbage Collection Tuning Guide) 명령어: jcmd, jstat, jmap, ps, free, top 키워드: OutOfMemoryError, Java heap space, JVM Options, setenv.sh, HeapDumpOnOutOfMemoryError, Garbage Collection, MAT 사용처: 톰캣(Tomcat) 기반 웹 애플리케이션 서비스 먹통(Stall) 장애 복구, 대용량 파일 다운로...

Read more

시스템 관리_21 아파치 HTTPD ServerLimit 지시어 초과 경고 및 서버 고부하 완벽 해결 가이드

출처 / 참고: Apache HTTP Server Documentation (mpm_common, event MPM, worker MPM) 명령어: apachectl, httpd, top, ps, free, vmstat 키워드: ServerLimit, MaxRequestWorkers, MaxClients, MPM Event, MPM Worker, Prefork, High Load, Memory Exhaustion 사용처: 웹 서버 동시 접속자 급증에 따른 응답 지연 해결, 아파치 MPM 프로세스 스레드 튜닝, 메모리 고갈(OOM) 방지 실행예제 아파치 에러 로그에서 WARNING: Serv...

Read more

시스템 관리_20 멀티홈 서버 환경의 비대칭 라우팅과 rp_filter 패킷 드롭 원인 및 정책 기반 라우팅 해결 가이드

출처 / 참고: Linux Kernel Documentation (ip-sysctl.rst - rp_filter), RFC 3704 (Ingress Filtering for Multihomed Networks) 명령어: ip route, ip rule, sysctl, tcpdump, conntrack, nstat 키워드: Multi-Homed Server, Asymmetric Routing, rp_filter, Reverse Path Filtering, Policy Routing, ip rule, Table ID 사용처: 2개 이상의 NIC를 사용하는 서버에서 두 번째 IP로 유입된 트래픽 응답 실패 및 ...

Read more

시스템 관리_19 FreeRADIUS "Access-Reject" 및 Shared Secret 불일치 오류 원인과 완벽 해결 가이드

출처 / 참고: FreeRADIUS Official Documentation (radiusd(8), clients.conf(5)), RFC 2865 (Remote Authentication Dial In User Service) 명령어: freeradius, radiusd, radtest, radclient, ss, journalctl 키워드: FreeRADIUS, Access-Reject, Shared Secret Mismatch, clients.conf, radtest, Message-Authenticator, UDP 1812 사용처: 기업용 Wi-Fi(802.1X), VPN 계정 인증, 스위치/라우터...

Read more

시스템 관리_18 TCP 소켓 누적 문제 해결 TIME_WAIT 및 CLOSE_WAIT 원인 분석과 완벽 대응 가이드

출처 / 참고: Linux Kernel Documentation (ip-sysctl.rst), RFC 793 (Transmission Control Protocol) 명령어: ss, netstat, lsof, sysctl, gdb, pstack 키워드: TCP 4-Way Handshake, TIME_WAIT, CLOSE_WAIT, tcp_tw_reuse, File Descriptor Leak, Socket Exhaustion 사용처: 대용량 트래픽 웹 서버의 로컬 포트 고갈 방지, 애플리케이션 연결 누수(Connection Leak) 디버깅 및 커널 튜닝 실행예제 현재 시스템 전체의 TCP...

Read more