Search found 16 matches

by keithp
Wed Sep 14, 2022 5:44 pm
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

They are all in D state... waiting on disks... likely... If something gets slow, the queues fill up. Which is why we have MaxImageBuffers... Interesting... so when the "queue" fills up is that why I'm seeing the process consuming so much memory? Something that comes to mind with MaxImageB...
by keithp
Tue Sep 13, 2022 4:02 pm
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

I think I may have spoken too soon. A zmc memory leaks appears to be back. This was yesterday...
Screenshot_20220912_103923.png
Screenshot_20220912_103923.png (64.31 KiB) Viewed 53553 times
I turned off the disk purge routine since I thought it might be that but now this is front today...
Screenshot_20220913_114353.png
Screenshot_20220913_114353.png (60.6 KiB) Viewed 53553 times
by keithp
Sun Sep 11, 2022 12:22 am
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

You have a filter deleting the events as they are created. I turned it off for now. Circling back to this (forgive me for being short but I lost my entire post and I don't feel like retyping)... Things are much better now and I've isolated what I think are the two issues: 1) zmc crashes are VERY ba...
by keithp
Fri Sep 09, 2022 5:26 pm
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

iconnor wrote: Fri Sep 09, 2022 4:44 pm You have a filter deleting the events as they are created.
I turned it off for now.
by keithp
Fri Sep 09, 2022 4:06 pm
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

Your filter says to delete events where the end date/time is not null. That's why these events with no end date/time get deleted. Go into Options, Logging and set at least debug level 3 to help Isaac. Ok. Thanks for that. As for the event deletion. That makes sense but if that was the root cause th...
by keithp
Fri Sep 09, 2022 6:00 am
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

I figured zmc might be crashing and restarting (I had to kick the buffer setting up again) but the camera restarts within 2 minutes so the large gaps still do not make sense. It appears that the purge disk filter is deleting events randomly... Screenshot 2022-09-09 00.44.48.png For science, I went b...
by keithp
Wed Sep 07, 2022 9:50 pm
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

Here's a screenshot of one aspect of the event issue. I'm back on Mocord and typically each event should be 10 minutes (600 seconds). I've seen the system sometimes choke during analytics and as a result, segments will be smaller (resulting in missed footage actually) but generally I'll have a prett...
by keithp
Wed Sep 07, 2022 9:15 pm
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

There is a known issue where if it takes too long to load the list of events the ajax call times out and tries again. Eventually there are too many requests in flight. Master has a fix, and will likely land in 1.36.26. Ok thanks for that. Is there a reason why the PurgeWhenFull filter from .34.x wo...
by keithp
Wed Sep 07, 2022 7:21 am
Forum: ZoneMinder 1.36.x
Topic: Released 1.36.25 The Memory Remains
Replies: 19
Views: 109990

Re: Released 1.36.25 The Memory Remains

I think its working better- I'm still have cameras disconnecting every so often but after I upgraded on 9/3 I have been able to go back to Mocord. Analysis seem to be fine maybe a bit slow to assess alarms. The problem I have now is event review and clean up. If I try to pull up all my events the sy...
by keithp
Wed Aug 17, 2022 3:05 am
Forum: ZoneMinder 1.36.x
Topic: HW crisis after upgrade to ZM 1.36.xxxx
Replies: 10
Views: 2012

Re: HW crisis after upgrade to ZM 1.36.xxxx

Just to chime in on this thread to help others being hit with memory problems... 1) Currently trying to find a "good" setting for MaxImageBuffers is likely going to drive you nutty, especially if you are using a mode that does analytics. That is what seems to blow the system up overtime. M...
by keithp
Thu Aug 11, 2022 7:35 pm
Forum: ZoneMinder 1.36.x
Topic: "Shared data size conflict in shared_data for monitor"
Replies: 25
Views: 31611

Re: "Shared data size conflict in shared_data for monitor"

Hey good news. I am able to reproduce the problem! I set my settings to yours and yeah, it eats ram like crazy! So... maybe a fix tonight. Thanks iConner. I appreciate your efforts! Its definitely a RAM monster now :( After I last posted, I ended up adding another 8Gb to the system and setting the ...
by keithp
Wed Aug 10, 2022 6:29 pm
Forum: ZoneMinder 1.36.x
Topic: "Shared data size conflict in shared_data for monitor"
Replies: 25
Views: 31611

Re: "Shared data size conflict in shared_data for monitor"

I'd really like to see screen caps of your monitor settings. ImageBuffers are not used in analysis. Only in viewing. So the default is 3, but I've seen some choppyness at that so sometimes I've gone up to 5. You should probably set a MaxImageBuffer count to prevent out of memory. I have to assume t...
by keithp
Tue Aug 09, 2022 3:15 pm
Forum: ZoneMinder 1.36.x
Topic: "Shared data size conflict in shared_data for monitor"
Replies: 25
Views: 31611

Re: "Shared data size conflict in shared_data for monitor"

Ok, something is indeed still off... [Mon Aug 8 06:16:47 2022] Out of memory: Killed process 23151 (zmc) total-vm:6609636kB, anon-rss:6163948kB, file-rss:1036kB, shmem-rss:21608kB, UID:33 pgtables:12516kB oom_score_adj:0 [Mon Aug 8 07:28:42 2022] Out of memory: Killed process 23753 (zmc) total-vm:73...
by keithp
Mon Aug 08, 2022 3:56 am
Forum: ZoneMinder 1.36.x
Topic: "Shared data size conflict in shared_data for monitor"
Replies: 25
Views: 31611

Re: "Shared data size conflict in shared_data for monitor"

Did you reduce your ImageBuffers to something like 3? You also don't need to allocate a larger shm. We don't use shm very much anymore. If you havn't set ImageBuffers then you will be using double the ram. You may also want to set a MaxImageBuffers to roughly whatever your old ImageBUffers setting ...
by keithp
Sun Aug 07, 2022 4:51 pm
Forum: ZoneMinder 1.36.x
Topic: "Shared data size conflict in shared_data for monitor"
Replies: 25
Views: 31611

Re: "Shared data size conflict in shared_data for monitor"

Thanks for your efforts iConner! I put out .24 last night around 19:00 GMT-4 and it did seem to be better initially. However, I think there is still something weird going on. I have a high load now. High enough to be noticeable and logging into the system this morning took many minutes. The console ...