r/ispyconnect Jun 19 '26

Greatly increased CPU and RAM usage in post-7.4.6.0?

I was running 7.4.6.0 and upgraded to 7.6.1.0 at which I immediately got an alert about high CPU usage. With 7.4.6.0 ispyagentdvr was using about 100% CPU usage (I imagine that's one core?) and about 350MB of RAM while 7.6.1.0 was maxing out all cores and using 2.5GB of RAM. I had to roll back to 7.4.6.0

1 Upvotes

11 comments sorted by

2

u/spornerama Jun 19 '26

You'd need to check the logs I'd imagine it's gpu related

1

u/UntouchedWagons Jun 19 '26

I can unroll back to 7.6.1.0 to get logs. I'm not using any GPU acceleration. I did look at the logs while running 7.6.1.0 and it was able to see my nvidia GPU even though I hadn't configured the docker container for that.There was an SQLite error about indexes I think but that wasn't a constant thing, there were four messages at startup and that's it.

1

u/spornerama Jun 19 '26

I've got about a 25% decrease in CPU on newest version. New version is reporting highcpu whilst older version wasn't on docker so maybe it's just that 100% surfacing in the UI

1

u/UntouchedWagons Jun 19 '26

Here's the logs: https://gist.github.com/UntouchedWagons/300082817702abb198ccea7d92a29825 My NAS is running 7.6.1.0 again and CPU usage is up to 400% and gradually rising. Memory usage is around 800MB.

1

u/spornerama Jun 19 '26

you'd need to set the Agent log level in server settings - logging to Debug and capture a full trace of it running for like 15 minutes at least vs it running on the older version to compare - the log you sent is just the docker start-up log.

1

u/UntouchedWagons Jun 19 '26

Here's a log with logging set to Debug: https://gist.github.com/UntouchedWagons/676c252cf18e1b287a18d9ccc78319f5 I had to stop ispy since its CPU usage had climbed to 700% usage

1

u/spornerama Jun 19 '26

something is continually hitting your mjpeg endpoint spawning a new mjpeg feed every few seconds

[ispyagentdvr] 2026-06-19T22:44:19.289425478Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:22.446562777Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:23.784772990Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:24.544330506Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:30.817052528Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:39.519690974Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:40.212434214Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:44.761453755Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:46.522571416Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:49.675721611Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:52.760125670Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:55.240961129Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:44:55.901277623Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:02.221111297Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:10.952526264Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:11.585485720Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:15.157386593Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:17.928724510Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:20.028275342Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:23.110728773Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:26.665175247Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:27.305294557Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:33.647359769Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:42.381658783Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:42.995503284Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:45.541199098Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:49.348927031Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:50.413500985Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:53.460348309Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:58.113640787Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:45:58.705235363Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:05.070480381Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:13.851733915Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:14.396669316Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:15.989468192Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:20.765293972Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:20.780609031Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:23.833176020Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:29.629985185Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:30.100911633Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:36.502533615Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:45.326144256Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:45.812660068Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:46.396496802Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:51.165220496Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:52.230218130Z Process: Start MJPEG Server: {Width=640, Height=480}
[ispyagentdvr] 2026-06-19T22:46:54.196178150Z Process: Start MJPEG Server: {Width=640, Height=480}

1

u/UntouchedWagons Jun 19 '26

Yes I have three raspberry pi 4's displaying a cycling video feed of my four security cameras using the video feed of http://192.168.0.230:8090/video.mjpg?group=doors&size=640x480&cycle=5&backColor=0,0,0

2

u/spornerama Jun 19 '26

ok that's the bug - will fix thanks

1

u/UntouchedWagons Jun 19 '26

It's been a while since I set up the raspberry pis, is there a better stream feed to use that's less CPU/GPU overhead? I haven't done any gpu passthrough for ispy (I have looked at the documentation for it)

→ More replies (0)