[Elphel-support] Reducing PHP instances from 3 to less

2011-10-11 Thread Sebastian Pichelhofer
What would be the best approach to reduce CPU and memory usage of the webserver running in the camera? Would reducing the number of PHP instances help? If yes, where can I change the number of instances, since 3 autospawn killing one just triggers a new one to be spawned immediately. Regards Seb

Re: [Elphel-support] Reducing PHP instances from 3 to less

2011-10-11 Thread Sebastian Pichelhofer
Answering my own question: Edit: /etc/lighttpd.conf "PHP_FCGI_CHILDREN" => "2", There is one parent process and 2 child processes, so setting this to 0 will result in a single instance. The question if reducing children makes sense is still open :) Regards Sebastian On Thu, Sep 15,