zoneminder build with apache-mpm-worker?

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

zoneminder build with apache-mpm-worker?

Post by durtball » Tue Apr 20, 2010 1:26 pm

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 » Tue Apr 20, 2010 10:39 pm

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 » Wed Apr 21, 2010 11:26 pm

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 » Thu Apr 22, 2010 4:23 am

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests