Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

System unresponsive, some out of memory errors in logs (frigate ffmpeg crashes?)

Featured Replies

I woke up this morning with my server not working and unable to access the web gui or ssh. I had to hard reset to get it back up. I was monitoring the system logs and it froze up again. I waited a couple minutes and the logs started showing again and I noticed some out of memory errors as well as it killing some ffmpeg processes. I believe it's either frigate or plex, both are set to use hardware transcoding using a GTX-1080. They have both been running fine until last night. I can't narrow it down, can somebody help me figure what container is eating the ram, and how I might solve it?

 

Edit: I've narrowed it down to frigate, I think. I'm not sure why frigate started crashing my server now after running fine for weeks though. I'll bring my logs over to the frigate repo. If anyone here has run into similar ffmpeg crashes in frigate on unraid that would still be helpful.

 

mycelium-diagnostics-20240116-0959.zip

Edited by jordandrako
More info

  • jordandrako changed the title to System unresponsive, some out of memory errors in logs (frigate ffmpeg crashes?)
  • 1 month later...

hi @jordandrako,

 

just wondering if you found any solutions to this?

 

i'm using frigate docker, and i also have this out of memory killing a ffmpeg process.

fix common problems reported the out of memory error, my system didn't crash. maybe because i don't have plex or anything else that does transcoding.

strangely i actually didn't notice any issues with frigate either.

 

but i would like to find out how to fix this before it causes bigger problems.

 

  • Author

I never narrowed it down completely, but I did bandaid the problem. I believe the issue was caused by one of my reolink doorbells with a poor wifi signal causing the ffmpeg process to crash and hang, and for some reason it kept eating ram. I changed from rtsp to flv (look at reolink specific config on the frigate docs), which decreased the crashing severity, and limited the amount of ram frigate can use so if a memory leak does happen, it doesn't take all the server's ram and crash it.

ah, ok... that makes sense.

i do have a camera that i have to occasionally restart. It seems to have poor wifi signal and is sometimes dropping frames, even though other devices in that same location shows good signal.

i guess i'll have to get another camera and see how it goes then.

 

thanks!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.