zoneminder build with apache-mpm-worker?

Forum for questions and support relating to the 1.24.x releases only.
Locked
durtball
Posts: 2
Joined: Tue Apr 20, 2010 1:18 pm

zoneminder build with apache-mpm-worker?

Post by durtball »

i bottleneck when running apache prefork can i build with apache worker and run ZM? how do i do it?
MarcoP
Posts: 46
Joined: Wed Mar 24, 2010 1:46 pm

Post by MarcoP »

PHP it's not a multithreading language.
Tuning up the prefork is the way to go.
durtball
Posts: 2
Joined: Tue Apr 20, 2010 1:18 pm

prefork

Post 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..
MarcoP
Posts: 46
Joined: Wed Mar 24, 2010 1:46 pm

Post 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.
Locked