VM network going to sleep?

Nvious1

Explorer
Joined
Jul 12, 2018
Messages
67
I have a bhyve vm running alpine linux on TrueNas Core 12-U8. It is setup with 2vcpus, 6 gb ram and its running as a docker host. Recently, the VM seems to be going to sleep and the network connectivity stops working. If I go into TrueNas -> VMs and open the Serial session and hit enter, it shows me the prompt and then all the sudden everything comes back. I saw some really old posts but nothing seems to indicate the problem. Anyone know what to look for?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Well, if you would have gotten around to putting your build in your sig, I wouldn't have to guess, but I would start by looking at what network interface you have.
 

Nvious1

Explorer
Joined
Jul 12, 2018
Messages
67
My build is running on a SUPERMICRO X9DRi-LN4F 2x E5-2630 V2 8 Core 64GB RAM. I am using the second on-board eth interface only connected at 1gb. I did review the configuration and its currently setup with dhcp on the interface (with a reservation on the dhcp end). I ran a test last night were from another machine on the network I sent a ping stream to the VM host IP. Even with that it still die off and this morning I had to go to the serial terminal and wake it back up.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703

Nvious1

Explorer
Joined
Jul 12, 2018
Messages
67
I would suggest looking into acpi or APM settings in alpine...

Something like this: https://www.cyberciti.biz/faq/disable-advanced-power-management/

or this: https://askubuntu.com/questions/47311/how-do-i-disable-my-system-from-going-to-sleep

But obviously the Alpine equivalent commands which I didn't quickly find.
I can't find any references on this system that acpi or apm is installed or configured to put this system to sleep. Originally this VM was very stable and never had any issues. I suppose I might build a fresh install in parallel and see if it has the same issue.
 
Top