mpm This Multi-ProcessingModule (MPM) implements a hybrid multi-process multi-threaded server. By using threads to serve requests, it is able to serve a large number of requests with less system resources than a process-based server. Yet it retains much of the stability of a process-based server by keeping multiple processes available, each with many threads.
FastCgi Circle Web Server 建立 FastCGI 程序处理需求。 FastCGI 程序可以在启动时就被建立,也可以等到召唤时才建立。 FastCGI 程序建立后,先初始本身状态,接著等待一個來自 Web Server 的连接。 当 client 的需求來到時, Web Server 就建立一条到 FastCGI 程序间的连接,并将 CGI 环境变量及标准環境變數及標準輸入的資料送入該連線。 FastCGI 程序則將標準輸出及標準錯誤的資料,透過同一條連線送 回給伺服器。 當 FastCGI 程序關閉這條連線後,才表示需求處理完畢, FastCGI 程序則繼續等待其他的連線。
17.
Start a FastCGI/usr/bin/php-cgi -q -b localhost:9000 (2.1M) /usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 \ -C 2 -u www-data -f /usr/bin/php5-cgi (2.4M)