netstat cho thấy có 153 kết nối đang ở trạng thái CLOSE_WAIT. Các kết nối không bao giờ bị đóng. Vì vậy, quá giờ máy chủ chứa đầy các kết nối này sẽ lấp đầy RAM và bây giờ các trang web không tải.
netstat hiển thị nhiều như sau:
tcp 160 0 my_server_name:http my_server_name:51584 CLOSE_WAIT
tcp 160 0 my_server_name:http my_server_name:51586 CLOSE_WAIT
tcp 0 0 my_server_name:http my_server_name:50827 CLOSE_WAIT
tcp 0 0 my_server_name:http my_server_name:50830 CLOSE_WAIT
tcp 312 0 my_server_ip.static.:http rate-limited-proxy-72:61249 CLOSE_WAIT
tcp 382 0 my_server_ip.static.:http b3090792.crawl.yahoo.:58663 CLOSE_WAIT
tcp 382 0 my_server_ip.static.:http b3090792.crawl.yahoo.:34655 CLOSE_WAIT
tcp 382 0 my_server_ip.static.:http b3090792.crawl.yahoo.:56681 CLOSE_WAIT
tcp 382 0 my_server_ip.static.:http b3090792.crawl.yahoo.:40829 CLOSE_WAIT
tcp 576 0 my_server_ip.static.:http b3090792.crawl.yahoo.:38278 CLOSE_WAIT
tcp 47 0 my_server_ip.static.:http 203.200.5.143.ill-bgl:49379 CLOSE_WAIT
Nếu tôi nhìn vào appache error_log, trước khi tình huống CLOSE_WAIT xuất hiện, có những dòng như sau
[warn] child process 15670 still did not exit, sending a SIGTERM
[error] child process 15670 still did not exit, sending a SIGKILL
[notice] child pid 3511 exit signal Segmentation fault (11)
Thiết lập của tôi Apache 2.2.3 RAM 1024 MB (nổ 2048 MB) Bản phát hành CentOS 5.3 (Bản cuối) chạy 2 cài đặt WPMU 2.9.2