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.

Containers restarting every 5 minutes?

Featured Replies

Hey guys,

 

I have the weirdest thing happening with my RR-container (sonarr, radarr, bazarr & prowlarr). They restart every 5 minutes. And even when I stop the containers, they start up at the same time again when they usually restarts. E.g 19:45, 19:50, 19:55 and so on... Can't find anything specific in the logs that helps me, but maybe you guys can?

 

These are the only containers behaving like this. I have probably 20+ more containers just running fine. I've restarted docker 2-3 times and also rebooted the server twice today. Same isssue still.

 

Please let me know what else I need to collect, and also maybe how to collect it. I've started a syslog-server. But not sure what to do else with it for now.

mini-diagnostics-20231228-1956.zip

Edited by mini_raid

Solved by mini_raid

  • Community Expert

Are you sure you don't have something scripted to restart Docker service? Mover tuning, Appdata backup, something like that?

 

  • Author
13 minutes ago, trurl said:

Are you sure you don't have something scripted to restart Docker service? Mover tuning, Appdata backup, something like that?

 

 

I can't say 100% sure, but I can't find any user script, scheduler, mover or appdata backup scheduled for every 5 minutes for these 4 containers.

But maybe somewhere where I dont know to look. I would hope that a log somewhere would tell if this was the case though?

 

  • Community Expert

Does it happen if you boot in SAFE mode?

  • Author
11 hours ago, trurl said:

Does it happen if you boot in SAFE mode?

 

Yes, just tried this and it behaves the same.

Is it something else I can try or look at during safe mode? I've attached a new diagnostics.

mini-diagnostics-20231229-1152.zip

Edited by mini_raid

  • Author
  • Solution

So, I think I solved it...

 

Stopped all containers, and started one at a time until I found that Rebuild-DNDC was looking like the bad guy. Obviously Rebuild-DNDC is the last one in my startup order too... so it took a while due to the 5 minutes wait time for each container 🤡

 

Rebuild-DNDC had cached all my *RR-containers for whatever reason, and tried a rebuild every 5 minutes triggered from the default configured CRON-job.

image.thumb.png.81bc5584af8d5d9ab9e8a0a19289dfc3.png

 

I was not using any VPN-network for the *RR-containers. Probably something I've tested for a long time ago.

 

 

Solution:

  1. Stop Rebuild-DNDC
  2. Delete all .tmp-files in Rebuild-DNDC /config-folder (in my case it was in "/mnt/user/appdata/rebuild-dndc"
  3. Start up Rebuild-DNDC

Now it works like it should again.

 

What still makes me annoyed is that I don't understand why there is no logs in the containers that "Rebuild-DNDC" tries to rebuild, or in the docker.log? Should be traceable some way that a container schedules a stop/start for other containers.

 

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.