• Apacheのmod_phpはpreforkのみ推奨 • worker(スレッド)は非推奨 • apache benchで実際に確認 Appサーバーのスケールアップ top - 17:55:56 up 5 min, 1 user, load average: 0.04, 0.01, 0.00 Tasks: 127 total, 12 running, 115 sleeping, 0 stopped, 0 zombie Cpu0 : 77.6%us, 6.9%sy, 0.0%ni, 12.5%id, 0.0%wa, 0.0%hi, 3.1%si, 0.0%st Cpu1 : 80.9%us, 4.6%sy, 0.0%ni, 13.3%id, 0.0%wa, 0.0%hi, 1.2%si, 0.0%st Mem: 3850064k total, 594148k used, 3255916k free, 12640k buffers Swap: 2097144k total, 0k used, 2097144k free, 82828k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1021 apache 20 0 756m 50m 25m R 19.2 1.4 0:01.52 httpd 1022 apache 20 0 756m 50m 25m R 18.8 1.4 0:01.43 httpd 1026 apache 20 0 756m 50m 25m R 18.2 1.4 0:01.44 httpd 1019 apache 20 0 757m 51m 25m R 17.8 1.4 0:01.33 httpd 1027 apache 20 0 756m 49m 25m R 17.8 1.3 0:00.99 httpd 1020 apache 20 0 758m 52m 25m R 17.5 1.4 0:01.42 httpd 1411 apache 20 0 759m 53m 25m R 17.5 1.4 0:01.36 httpd 1025 apache 20 0 772m 73m 32m R 17.2 1.9 0:01.84 httpd 1408 apache 20 0 757m 52m 25m R 17.2 1.4 0:01.44 httpd 1023 apache 20 0 756m 52m 27m R 16.8 1.4 0:01.42 httpd 972 haproxy 20 0 23140 1700 484 R 7.3 0.0 0:00.45 haproxy $ ab -n 100 -c 10 http://xxxx.lancers.jp/