HI, can you share the cron script? Thanks in advanceI also created an cron script to run every 45 minutes and if there's no connectivity it will reboot the machine.
HI, can you share the cron script? Thanks in advanceI also created an cron script to run every 45 minutes and if there's no connectivity it will reboot the machine.
I also created an cron script to run every 45 minutes and if there's no connectivity it will reboot the machine. It's more a workaround that a resolution but should hopefully work till I install the new card.
systemctl restart networking, but in my case (Intel NUC10), that didn't help.# ifdown eno1
# ifup eno1
I had another hang overnight, and what did fix it for me this morning was ifdown / ifup:
# ifdown eno1 # ifup eno1
# check system journal for recent hang
if ! hangcount=$(journalctl \
--since "2 minutes ago" _TRANSPORT=kernel \
_KERNEL_SUBSYSTEM=pci --priority=3 | \
grep -c "Detected Hardware Unit Hang:")
then
echo "No network hang detected, exiting"
exit 0
fi
Workarounds are either script or additional hardware.Great, now I have the exact same problem. I got myself an EliteDesk 800 G6 so I can offload the VMs to, and sure enough, sometime during the night it hangs. Would it help if I ditch the built-in network card and get a new one?
Is the issue the Nic hang (not necessarily under load ) if so the tso off soln may be work for you - it has for meJust upgraded incl. kernel update and now have this issue. My NICS are integrated on motherboard and it’s a mini server on steroids with no space for alternative NIC. Server is headless so manual software reset of NIC’s also not practical. I will try if disconnecting/ connecting network cables solves it as long as issue is not solvved. Any other suggestions for workaround -e.g. automated script?- and is a structural solution insight?
It seems not perse under (heavy) load, but also random. Although I don’t actively monitor the load on some web services.Is the issue the Nic hang (not necessarily under load ) if so the tso off soln may be work for you - it has for me
The following is a service that will implement the fix (just one example)
https://gist.github.com/crypt0rr/60aaabd4a5c29a256b4f276122765237
We use essential cookies to make this site work, and optional cookies to enhance your experience.