Help: Load Question.

Support and queries relating to all previous versions of ZoneMinder
Locked
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Help: Load Question.

Post by ynn »

I have dual core Intel 64 bit, running under Centos_x64 and my ZM box is been running 2 months now, last couple of days I just noticed that the Load is starting to go arround 2.5% to 3% all the time, before it always stay under 2%.

does it have anything to do with Hard disk? i set up the PurgeWhenFull to 85% and delete first 300. now the Disk is in 79% and still doing 3% in Load.

Does anyone have any suggestion what might went wrong or it is normal with the sittuation like this ?

thanks.
wilso027
Posts: 90
Joined: Wed Feb 21, 2007 10:38 pm

Post by wilso027 »

I'm not sure exactly what is causing the load but if you think it is the purge running because the drive is full try to delete a bunch say the oldest 3000 events which should get more of the drive back and stop purge from running all the time and see if that helps.

Another tip would be to watch top and see if anything else is using processor and memory other than zoneminder.

Also did you change you ZM_PATH_ZMS to /cgi-bin/zms instead of nph-zms? Do you reboot ever so often. I run zoneminder on two boxes and they both stay below 2 and my hardware isn't as good as yours, single core.

If this doesn't help let us know and we can look at it in more detail.

Allan
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

Thank you so much for helping me,
I checked the top, but there was nothing special running except the zmc running with lots of memory usage.

I am wondering too, why this happen all of sudden after 2 months? does this situation might have anything to do with the brand of the hardware?because I didn't buy Dell or HP. I just bought the box at local store.

and I have not reboot my server this past 2 months, I just rebooted 5 minutes ago after reading your messages, and it's till happening now with Load 3.59.

The ZM_PATH_ZMS is set to /cgi-bin/zms since I set the box up 2 months ago.

thanks for any inputs.
wilso027
Posts: 90
Joined: Wed Feb 21, 2007 10:38 pm

Post by wilso027 »

Have you ran mysqlcheck on the datatbase?

How many cameras do you have running? Did you try to clean some space off the hard drive?

In top if you do a "shift p" it sorts by processor what else had a value greater than 0 other than zmc?

Have you looked at your log files to see if anything jumped out?

Allan
ynn
Posts: 152
Joined: Fri Mar 17, 2006 2:30 am

Post by ynn »

HI, I have not run any mysqlcheck on the database, because I don't understand what actually mysqlcheck for? can you please explain to me shorty how and what mysqlcheck for?

>>In top if you do a "shift p" it sorts by processor what else had a value greater than 0 other than zmc?
Only that zmc

I sort of figure out now what cause the high LOAD, I run with 6 cameras,
4 of them 320x240 max FPS 8 and
2 of them 640x480 max FPS 10,
after I changed the max Alarmed FPS to 0.00 the Load drop significantly, now is under 1% and peek time or if lots of movements detected in some of the cameras it reaches 2.25 %.
DO you know why this could happen?


thanks for helping me.
Locked