OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: chewbacca03 on May 03, 2020, 09:23:56 PM

Title: Hanging after ~12 hours on Proxmox install
Post by: chewbacca03 on May 03, 2020, 09:23:56 PM
I'm currently running OPNsense 20.1.6-amd64 on Proxmox 6.1 and am having issues with the VM hanging after about 12 hours. The VM will continue to route the traffic but the Web UI, SSH, Console all are unresponsive and dhcp isn't working.

OPNSense VM has 32GB RAM. 8 CPUs (2 sockets / 4 cores) and I'm using virtio nics. I have 12 nics connected to the instance and am using only DHCP / NAT / and RIP routing to a switch.

What information can i provide that would be more helpful in diagnosing the issue?
Title: Re: Hanging after ~12 hours on Proxmox install
Post by: ednt on May 04, 2020, 08:21:00 AM
We run also OPNsense 20.1.6 on Proxmox 6.1.

In one case no problems.
In one case one IP is (after 2-3 days) no longer reachable.

We use a VM, but I decided to use E1000 network cards, since the drivers in Linux and FreeBSD are written from Intel employees itself.

So please try to change the NICs and test it.
Title: Re: Hanging after ~12 hours on Proxmox install
Post by: chewbacca03 on May 04, 2020, 11:53:05 PM
Thanks! I'll give this a try and I'll update back here.
Title: Re: Hanging after ~12 hours on Proxmox install
Post by: chewbacca03 on May 05, 2020, 12:34:10 AM
I should add that I have multiqueue enabled in the virtio NICs on the Proxmox host. The following are tunings that I've done to try to stabilize the box.

kern.timecounter.hardware=ACPI-fast   
net.isr.maxthreads=8
net.isr.numthreads=8
net.isr.dispatch= deferred   
hw.vtnet.lro_disable=1   
hw.vtnet.tso_disable=1   
hw.vtnet.csum_disable=1