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

Sebastian Pichelhofer sebastian.pichelhofer at gmail.com
Thu Sep 15 10:12:47 PDT 2011


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, 2011 at 18:56, Sebastian Pichelhofer
<sebastian.pichelhofer at gmail.com> wrote:
> 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 Sebastian
>




More information about the Support-list mailing list