When zmaudit.pl is run I have extremaly high cpu usage - 100%. When it is cleaning some events are missed - they are not recorded to hard drive.
When normally recording - with commented out zmaudit.pl from zmpkg.pl it is about 20-60%
Is it normal or I have bad driver for hard disk controller?
And one more question:
zmfilter.pl only deletes events from database when using option purgewhenfull?
zmaudit.pl - very high cpu usage
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
I don't usually see a high load from zmaudit, but then I don't watch it all that much. If you are using fast deletes and something like the PurgeWhenFull filter then when the filter runs it just deletes the DB entries which is fast. Zmaudit then will come along and remove any related files and other entries, so it may be busy just after a number of events have been deleted by a filter or manually.
Any filter _can_ delete events, it depends which filters you have created and whether you have saved them with the delete option checked. When you install ZM there are no filters that delete events installed, including PWF which though in the database is not set to delete events until you tell it to.
Phil
Any filter _can_ delete events, it depends which filters you have created and whether you have saved them with the delete option checked. When you install ZM there are no filters that delete events installed, including PWF which though in the database is not set to delete events until you tell it to.
Phil
I'm using purgewhenfull with 95% diskprocent.
So zmaudit.pl have to delete something from disk every 15 minutes.
I think that the problem is in hard drive controller driver - that's intel ICH5 SATA.
System is pentium4 2,4GHz, 512MB RAM so it shouldn't behave like I said.
number of events is now about 40000 and number of working cameras is 10(3*bt878 4 channel).
I will recompile kernel but now I'm too far from system to do that:)
Now I understand how it works. Thanks.
ps. I wrote a patch to open camera window when click on it in montage view - only browser that can do streaming native. Where should I post it? Maybe you would attach it to next release of zoneminder.
And also I want to thank you for the great job you made. Zoneminder is much better than many commercial products which I've tested.
So zmaudit.pl have to delete something from disk every 15 minutes.
I think that the problem is in hard drive controller driver - that's intel ICH5 SATA.
System is pentium4 2,4GHz, 512MB RAM so it shouldn't behave like I said.
number of events is now about 40000 and number of working cameras is 10(3*bt878 4 channel).
I will recompile kernel but now I'm too far from system to do that:)
Now I understand how it works. Thanks.
ps. I wrote a patch to open camera window when click on it in montage view - only browser that can do streaming native. Where should I post it? Maybe you would attach it to next release of zoneminder.
And also I want to thank you for the great job you made. Zoneminder is much better than many commercial products which I've tested.