겜방에들어가 있는 서버 사양은 셀러론 333 RAM 128 HDD 20 GB 의
전형적인 중고품 모아 놓은 넘입니다 -_-ㅋ
사람 많이 몰리면 속도가 어떨려나 .. 하고 스트레스를 한번 줘보기로
하고 ..
ab -w -n 50 -c 500 http://www.nicebsd.com:80/ > report.html
를 몇번 돌렸습니다..
아래는 TOP 화면입니다
-------------------------------------
2:27pm up 4 days, 18:51, 2 users, load average: 89.88, 41.49, 24.35
277 processes: 266 sleeping, 10 running, 1 zombie, 0 stopped
CPU states: 4.7% user, 5.1% system, 0.0% nice, 90.1% idle
Mem: 126640K av, 124356K used, 2284K free, 0K shrd, 708K buff
Swap: 257032K av, 124164K used, 132868K free 5092K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
27304 skuldfan 15 0 1012 956 648 R 5.4 0.7 0:16 top
27904 root 15 0 2128 2128 1100 D 1.3 1.6 0:00 mrtg
19698 nobody 15 0 3596 3088 2916 D 0.5 2.4 0:20 httpd
27620 nobody 15 0 3476 3140 3120 D 0.1 2.4 0:00 httpd
27662 nobody 15 0 3476 3100 2964 D 0.1 2.4 0:00 httpd
27672 nobody 15 0 3492 3096 2976 R 0.1 2.4 0:00 httpd
27673 nobody 15 0 3492 3036 2916 D 0.1 2.3 0:00 httpd
27685 nobody 15 0 3496 3140 3048 D 0.1 2.4 0:00 httpd
27700 nobody 15 0 3476 3136 2988 D 0.1 2.4 0:00 httpd
27703 nobody 15 0 3476 2896 2744 D 0.1 2.2 0:00 httpd
27711 nobody 15 0 3464 2804 2788 D 0.1 2.2 0:00 httpd
27715 nobody 15 0 3476 3152 3120 D 0.1 2.4 0:00 httpd
27722 nobody 15 0 3476 2988 2872 R 0.1 2.3 0:00 httpd
27724 nobody 15 0 3460 2800 2788 S 0.1 2.2 0:00 httpd
27725 nobody 15 0 3476 3068 2948 D 0.1 2.4 0:00 httpd
27733 nobody 15 0 3460 2800 2788 S 0.1 2.2 0:00 httpd
27740 nobody 15 0 3476 2984 2880 D 0.1 2.3 0:00 httpd
27742 nobody 15 0 3460 2800 2788 S 0.1 2.2 0:00 httpd
-------------------------
보시다 시피 스왑먹는게 장난이 아닙니다.
아래는 레포트 화면 입니다
--------------------------------------------
This is ApacheBench, Version 1.3d <$Revision:1.59 $> apache-1.3
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software
Foundation, http://www.apache.org/ ..done Server Software: Apache/1.3.24 Server Hostname: www.nicebsd.com Server Port
: 80 Document Path:/
Document Length:0 bytes
Concurrency Level: 500
Time taken for tests: 198.652 seconds
Complete requests: 50
Failed requests: 0
Total transferred: 13713 bytes
HTML transferred: 13218 bytes
Requests per second: 0.25
Transfer rate: 0.07 kb/s received
Connnection Times (ms)
min avg max
Connect:189000 189001 189003
Processing: 6 781 796
Total:189006 189782 189799
----------------------------------
초당 0.25건 처리 했답니다 -_-ㅋ
제 무지한 소견으로는 CPU가 딸린다기 보다는
저 무지막지한 스왑으로 봐서 메모리부족으로 스왑해서 처리하면서
생기는 증상 같은데 , 이게 맞는지 어떤지 모르겠네요
의견부탁드립니다--스팸 없는 곳에 살고 싶어요 ㅠ.ㅠ