This is ApacheBench, Version 1.3c <$Revision: 1.41 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/
Server Software: Apache/1.3.14 Server Hostname: localhost Server Port: 80
Document Path: / Document Length: 14802 bytes
Concurrency Level: 2 Time taken for tests: 0.157 seconds Complete requests: 100 Failed requests: 0 Total transferred: 1505300 bytes HTML transferred: 1480200 bytes Requests per second: 636.94 Transfer rate: 9587.90 kb/s received
Connnection Times (ms) min avg max Connect: 0 0 3 Processing: 2 2 2 Total: 2 2 5
Syntax: ServerTokens Minimal|ProductOnly|OS|Full Default: ServerTokens Full Context: server config Status: core Compatibility: ServerTokens is only available in Apache 1.3 and later; the ProductOnly keyword is only available in versions later than 1.3.12
なにげに MaxClients を 1000 とかにしたら起動時に怒られてしまいました。 "WARNING: MaxClients of 1000 exceeds compile time limit of 256 servers, lowering MaxClients to 256. To increase, please see the HARD_SERVER_LIMIT define in src/include/httpd.h."
>>189-190 Apache2.0.18-alphaのソースを見たところ こちらではPOSIXスレッドを サポートしているようですね ただ ---------------------------------------- NOTE: If you are building on FreeBSD, you should add the argument --with-mpm=prefork to the configure line. The Apache Group has discovered that threads do not work well with Apache on FreeBSD. For that reason, we disable threads by default on FreeBSD, and you need to build the prefork MPM. If you wish to try to make threads work on FreeBSD, they can be re-enabled by using --enable-threads ---------------------------------------- という但し書きが付いています 以下ソースからの抜粋は簡略化のため一部修正しています ---------------------------------------- The following MPMs currently exist:
prefork ....... Multi Process Model with Preforking (Apache 1.3) perchild ...... Multi Process Model with Threading. Constant number of processes, variable number of threads each child process can have a different uid/gid. threaded ...... Multi Process Model with Threading. Variable number of processes, constant number of threads/child (= Apache/thread) spmt_os2 ...... Single Process Model with Threading on OS/2 winnt ......... Single Process Model with Threading on Windows NT --[prefork/mpm_default.h]--------------- #define HARD_SERVER_LIMIT 256 #define HARD_THREAD_LIMIT 1 --[perchild/mpm_default.h]-------------- #define HARD_SERVER_LIMIT 8 #define HARD_THREAD_LIMIT 64 --[threaded/mpm_default.h]-------------- #ifdef NO_THREADS #define HARD_SERVER_LIMIT 256 #define HARD_THREAD_LIMIT 1 #else #define HARD_SERVER_LIMIT 8 #define HARD_THREAD_LIMIT 64 #endif --[spmt_os2/mpm_default.h]-------------- #define HARD_SERVER_LIMIT 1 #define HARD_THREAD_LIMIT 256 --[winnt/mpm_default.h]----------------- #define HARD_SERVER_LIMIT 1 #define HARD_THREAD_LIMIT 4096 ---------------------------------------- まぁOS次第ではHARD_*_LIMITの値はもっと増やしても大丈夫だろうとは思います