gator4ever Posted February 29, 2020 Share Posted February 29, 2020 OK folks here's one for you. My unraid server seems to go to sleep during the night for some reason. The server does not power down but I have no network connectivity. I can not access the admin page via web browser and all network access is cut off. Can not ssh either Of coarse after a reboot I loss the log so I cant see any activity. I have ran fix common problems and found no problems. I rest the S3 plugin to default (even though I never used it. My board does not support S3) then uninstalled it. I reset the bios to default just in case. It's not a power problem. The server is into a UPS and its log does not show a power down. I can not narrow it down so any advice would be helpful. Thank you. Quote Link to comment
Squid Posted February 29, 2020 Share Posted February 29, 2020 1. Post Your Diagnostics 2. Enable the syslog server mirroring to the cache drive (https://forums.unraid.net/topic/46802-faq-for-unraid-v6/page/2/?tab=comments#comment-781601 3. After it happens again, post the syslog that gets stored into /logs on the flash drive Quote Link to comment
gator4ever Posted February 29, 2020 Author Share Posted February 29, 2020 Will do. How often does unraid write a syslog? Quote Link to comment
Squid Posted February 29, 2020 Share Posted February 29, 2020 Whenever a new line is added Quote Link to comment
Addy90 Posted March 1, 2020 Share Posted March 1, 2020 (edited) Are you using DHCP or do you have a static IP for your Unraid system? I encountered issues with DHCP, I don't know why but sometimes the server did not get an IP address and had no network connectivity after booting. As DHCP leases are renewed after some time (normally one day), it could be possible that the release sometimes does not work and the network stops as the Unraid system has no valid IP anymore. I suspect the timeout for the DHCP in Unraid is too low, but I did not investigate but set a static IP (had a static DHCP lease anyway) and I never had any network connectivity drops since then anymore. By the way, this started with 6.8.0 and was never before with any older version, my DHCP server of course did not change. Edited March 1, 2020 by Addy90 Quote Link to comment
bonienl Posted March 1, 2020 Share Posted March 1, 2020 (edited) 36 minutes ago, Addy90 said: I suspect the timeout for the DHCP in Unraid is too low DHCP renewal time is set on your router, make sure it is one day or longer to prevent unnecessary high amount of DHCP renewal requests. 36 minutes ago, Addy90 said: By the way, this started with 6.8.0 It looks like the kernel used in 6.8.0 and higher has a different behavior with bonded interfaces. Bonded interfaces are shortly put down while initializing and this interferes with the concurrent DHCP request. Several ways to solve this 1. When a single interface (eth0) is used, then disable bonding 2. Use a static assignment and avoid the DHCP race condition 3. A newer version of Unraid will address the DHCP race condition (not released yet) Edited March 1, 2020 by bonienl Quote Link to comment
Addy90 Posted March 1, 2020 Share Posted March 1, 2020 2 minutes ago, bonienl said: DHCP renewal time is set on your router, make sure it is one day or longer to prevent unnecessary high amount of DHCP renewal requests. I meant the client timeout: https://linux.die.net/man/5/dhclient.conf, not the router lease time. I thought the client timeout was set to 10 seconds in Unraid during boot, but I cannot confirm now as I have set to static. Because yes, I have a bonded interface. Now with DHCP enabled on bonded interface, the 10 seconds client timeout were too short for obtaining an IP address. As you say, it is because the interfaces are shortly put down since 6.8.0, this makes totally sense now why I could not get an IP address. In my case, I did 2. and will wait for 3. 😄 For the original author of this topic, I suspected that as the network connection is lost after some time, it looks like a dhcp client timeout like I had. Maybe it is something else then as you say this issue is only while initializing the network interfaces. This sounds like this should not happen on renewal, but I cannot confirm, maybe the author knows about this... Thanks @boniel for clarification! Quote Link to comment
gator4ever Posted March 6, 2020 Author Share Posted March 6, 2020 *SOLVED* ended up being the cpu fan. Two mounts broke and the cpu overheated and shut off. Nothing to do with unraid just cheap stock intel cooler. Quote Link to comment
gator4ever Posted March 22, 2020 Author Share Posted March 22, 2020 *NOT SOLVED* My weird problem is back???? One thing I notice is syslog is not written to cache even though the option is selected in settings. CommonFixProblems plugin even warns me about this. Syslog server is on and mirror to cache is checked but no file. Maybe hardware. Going to replace cpu, maybe it fried itself. Quote Link to comment
Recommended Posts
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.