我想设置最大的请求,以防止内存泄漏时我的系统内存不足。
但我不知道它在哪里。
/etc/lighttpd/mod_fastcgi.conf:
fastcgi.server = ( ".php" => (( "socket" => "/tmp/php-fastcgi.socket", "bin-path" => "/usr/bin/php-cgi", "max-procs" => 10, "bin-environment" => ( "PHP_FCGI_CHILDREN" => "16", "PHP_FCGI_MAX_REQUESTS" => "1000" ), "broken-scriptfilename" => "enable" )) )
它对我来说工作正常。
Lighttpd – 文档:PerformanceFastCGI – 光明实验室