virtualhostは、$HTTP["host"]で判定して、includeしたそれぞれの設定に異常
$HTTP["host"] == "xxx.perl4u.com" {
accesslog.filename = "/var/log/lighttpd/access.log"
include "lighttpd.conf-xxx.perl4u.com"
}
max-load-per-procで、プロセスの負荷によりプロセスを増やす時の閾値を設定する。
以下のでいける。
include
http://www.fastcgi.com/drupal/node/6?q=node/15
1. The Web server creates FastCGI application processes to handle requests. The processes may be created at startup, or created on demand. 2. The FastCGI program initializes itself, and waits for a new connection from the Web server. 3. When a client request comes in, the Web server opens a connection to the FastCGI process. The server sends the CGI environment variable information and standard input over the connection. 4. The FastCGI process sends the standard output and error information back to the server over the same connection. 5. When the FastCGI process closes the connection, the request is complete. The FastCGI process then waits for another connection from the Web server.