# Rancher restarting constantly

**URL:** <https://forums.suse.com/t/rancher-restarting-constantly/20901>\
**Category:** SUSE Rancher Prime\
**Created:** [August 11, 2021, 8:19pm UTC](https://forums.suse.com/t/rancher-restarting-constantly/20901 "2021-08-11T20:19:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![halfcyan](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/halfcyan/32/7870_2.png) [@halfcyan](https://forums.suse.com/u/halfcyan)\
**Post date:** [August 11, 2021, 8:19pm UTC](https://forums.suse.com/t/rancher-restarting-constantly/20901/1 "2021-08-11T20:19:17Z")

</div>

I had rancher setup and working around a month ago, and I had to leave for a month. When I came back, rancher was constantly restarting and the longest it lasted before restarting again was around 11 seconds, while it normally restarted after 7 seconds from what I could tell. I reinstalled Ubuntu Server and set Rancher back up with the persistent data config, yet it still crashes constantly. Any ideas about why that might be happening?

---

<div class="post-metadata">

**Author:** ![harryowens](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/harryowens/32/7872_2.png) [@harryowens](https://forums.suse.com/u/harryowens)\
**Post date:** [August 12, 2021, 7:33am UTC](https://forums.suse.com/t/rancher-restarting-constantly/20901/2 "2021-08-12T07:33:44Z")

</div>

If you’re using Ubuntu, have a look in your logs to see if the system is failing trying to set nf\_conntrack\_max - I found that I couldn’t get Rancher to come up due to this issue on first install.

I was able to resolve by doing `sudo sysctl -w net/netfilter/nf_conntrack_max=327680` then manually stopping and starting the Rancher container.

See [this GitHub issue](https://github.com/rancher/rancher/issues/33300) - seems it’s an upstream K8s issue that’s unresolved.
