Something similar happened to me. A server I have was very frequently randomly restarting, and I tried everything to solve it, i.e factory reset, reinstalling my services. I contacted customer support and they offered me to take it offline and perform some tests on it that could take more than 10 hours. After I insisted a lot, they offered me a one time server replacement, which magically fixed the restarting issue.