Page 1 of 1
zoneminder build with apache-mpm-worker?
Posted: Tue Apr 20, 2010 1:26 pm
by durtball
i bottleneck when running apache prefork can i build with apache worker and run ZM? how do i do it?
Posted: Tue Apr 20, 2010 10:39 pm
by MarcoP
PHP it's not a multithreading language.
Tuning up the prefork is the way to go.
prefork
Posted: Wed Apr 21, 2010 11:26 pm
by durtball
what do u suggest?? i have a 1.6 pentium with 512 of ram that im wanting to use as a security dvr. if i load prefork it maxes out everything..
Posted: Thu Apr 22, 2010 4:23 am
by MarcoP
Think ZM as a streaming-recording-processing server. Not an easy task.
It all depends on how many cameras you use and how serious you are about having a security system.
Option 1
However lowering the monitor size, streaming and recording fps while creating zones for each monitor is a good start.
Option 2
If you have time to spend you can try to install a worker apache with fastcgi and then you can start playing with loading\unloading php modules till you get it stable.
Not all php modules have issues
and fastcgi assure you that anything happen in that thread remain isolated.
It uses less memory (shared or not) and it's a bit slower.
It takes time and patience.
Last but not least option, grab the hardware able to handle your "unspecified" number of cameras.