The memory fills progressively
Re: The memory fills progressively
This is much larger, occupying gigs in a few hours. There are very few events and it only records when an event happens.
In the logs, there are a few of these errors:
Error writing packet: Invalid argument
And a few of these warnings:
Telemetry server returned HTTP POST error code: 301
Anything else to look for?
Regards,
Mark
In the logs, there are a few of these errors:
Error writing packet: Invalid argument
And a few of these warnings:
Telemetry server returned HTTP POST error code: 301
Anything else to look for?
Regards,
Mark
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: The memory fills progressively
There's no server there at present, so turn off Options->Telemetry send checkbox.Telemetry server returned HTTP POST error code: 301
Re: The memory fills progressively
The Error writing packet: Invalid argument is very very bad. We need debug level 3 logs.
Re: The memory fills progressively
With zoneminder-1.37.50-1.86.20240126gitg543d3bdd9.fc39.x86_64, I still need to restart to free up memory every few hours. I am not seeing recent errors or warnings except for the telemetry server. I have not disabled that setting. Record durations also seem to be correct. It no longer gets any ONVIF events from my "problem" cameras. I expect they do not follow the standard correctly.
Regards,
Mark
Regards,
Mark
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: The memory fills progressively
It doesn't handle sources that use this sort of theing in 1.36.x either...
rtsp://192.168.1.224/user=admin_password=passwd_channel=0_stream=1.sdp?real_stream
rtsp://192.168.1.224/user=admin_password=passwd_channel=0_stream=1.sdp?real_stream
Re: The memory fills progressively
@dougmccrary what?
That's not a valid url. I went googling for the valid equivalent and found tons of problems on the way. Maybe tomorrow I can be of more assistance.
but the user= etc has to come after the ?
I'm pretty sure 1.36 supports cameras with those type of streams that one is just mistyped..
That's not a valid url. I went googling for the valid equivalent and found tons of problems on the way. Maybe tomorrow I can be of more assistance.
but the user= etc has to come after the ?
I'm pretty sure 1.36 supports cameras with those type of streams that one is just mistyped..
- borozenetsww
- Posts: 42
- Joined: Tue Sep 12, 2023 1:55 am
Re: The memory fills progressively
Work for me on last build.
rtsp://192.168.3.4:554/user=user_password=pass_channel=1_stream=0.sdp?real_stream
rtsp://192.168.3.4:554/user=user_password=pass_channel=1_stream=0.sdp?real_stream
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: The memory fills progressively
Sorry Isaac. I meant that that string works in 1.36, but not 1.37. But then 1.37 system broke, so don't worry about it for now.
Re: The memory fills progressively
I'm seeing the same issue on a system that's basically remained the same (in terms of camera and configuration) for a couple of years.
I'm currently running 1.37.50~20240129103951-jammy, and I can't really tell with which release it started happening, but server memory is slowly eaten up, moving onto swap being exhausted until there's an eventual OOM auto kill of zmc.
You can actually watch it happening in real time in htop, it's quite quick: Nothing of note in the default log output.
I'm currently running 1.37.50~20240129103951-jammy, and I can't really tell with which release it started happening, but server memory is slowly eaten up, moving onto swap being exhausted until there's an eventual OOM auto kill of zmc.
You can actually watch it happening in real time in htop, it's quite quick: Nothing of note in the default log output.
Re: The memory fills progressively
Hey, are people who are experiencing this using Decoding=OnDemand?
I think I found the problem, and it's because Analysis is waiting for decode and so capture thread is just filling up the queue.
new package building should fix this.
I think I found the problem, and it's because Analysis is waiting for decode and so capture thread is just filling up the queue.
new package building should fix this.
Re: The memory fills progressively
I am - thanks, will check out the new build when it's available.
Re: The memory fills progressively
Mine are set to Decoding = Always or None. The ones growing biggest are all for my cameras that don't do ONVIF events correctly.
Regards,
Mark
Re: The memory fills progressively
Well, it seems to have worked for me.
I upgraded to 1.37.50~20240130093217-jammy a couple of hours ago, and memory usage has stayed pretty constant since.
I upgraded to 1.37.50~20240130093217-jammy a couple of hours ago, and memory usage has stayed pretty constant since.
-
- Posts: 1322
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: The memory fills progressively
I don't know if you did something with this latest release, but I was able to get the source path on one line today.
The path in 1.36 is rtsp://192.168.1.218/user=admin_password=Buffy4@sdCA_channel=0_stream=1.sdp?real_stream
When I tried to paste it into 1.37, I got this: But now it's all on one line, and works.
BTW, I see what you did with the start-up delays. Working nicely here now.
The path in 1.36 is rtsp://192.168.1.218/user=admin_password=Buffy4@sdCA_channel=0_stream=1.sdp?real_stream
When I tried to paste it into 1.37, I got this: But now it's all on one line, and works.
BTW, I see what you did with the start-up delays. Working nicely here now.
Re: The memory fills progressively
The @ symbol is confusing it. It is illegal in a url. Must be % encoded.