OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: bergerelias547534 on April 22, 2024, 06:18:42 PM

Title: LAN Port crashes on high usages
Post by: bergerelias547534 on April 22, 2024, 06:18:42 PM
Hello OpenSense Community,

may I find someone here that can help me on this issue. I encounter crashes on the interface on high load. The port should handle about 300 Mbits, but when used for about 10 Minutes at max speed. The interface crashes and is completely unresponsible. For some weird reason other interfaces are just fine, even if one crashes. Same issue is persistent on all ports. A restart is needed to get the port back working. I assume it is a performence issue with the firewall. Is there anyone who has an idea how to fix the issue or can confirm that is in fact an performance issue?

Specs:
Intel(R) Atom(TM) CPU E3805 @ 1.33GHz (2 cores, 2 threads)
2 GB RAM
OPNsense 24.1.6-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13

Thanks for any replys :)
Title: Re: LAN Port crashes on high usages
Post by: Patrick M. Hausen on April 22, 2024, 07:11:05 PM
What sort of interfaces exactly? Chipset etc ...
Title: Re: LAN Port crashes on high usages
Post by: Saarbremer on April 22, 2024, 08:10:28 PM
I bet you have realtek NICs. Nothing I'd take for heavy load scenarios. Dropping connections incl failed PPPoE reconnections. Ok for home use. Nothing for professional use.

What about your NICs and your offloading configuration?
Title: Re: LAN Port crashes on high usages
Post by: bergerelias547534 on April 23, 2024, 09:03:48 AM
Where can I find the information about the network adapter on the opensense?
Title: Re: LAN Port crashes on high usages
Post by: Patrick M. Hausen on April 23, 2024, 09:11:21 AM
cat /var/run/dmesg.boot
pciconf -lv
Title: Re: LAN Port crashes on high usages
Post by: bergerelias547534 on April 29, 2024, 12:55:23 AM
I got following interface 4 times: RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet. This device should allow me to transmit up to 1000 Mbits but on High Load the used interface just shuts down. Any ideas?
Title: Re: LAN Port crashes on high usages
Post by: Siarap on April 29, 2024, 06:33:48 AM
Never use realtek on opnsense. You see how it works. Buy some intel network card. Im using intel i350-t2 and it works perfect. I buy this card cheap from second hand. Realtek cards are not well supported by opnsense and other bsd systems.
Title: Re: LAN Port crashes on high usages
Post by: Saarbremer on April 29, 2024, 09:49:37 AM
Maybe it helps to add or remove
os-realtek-re
in firmware extensions.

I run OPNsense in one setup using realtek NICs and os-realtek-re enabled. But I don't have heavy load every going on.  :-X
Title: Re: LAN Port crashes on high usages
Post by: bergerelias547534 on May 11, 2024, 12:20:05 AM
Adding the firmware extension resolved the issue.

Thanks for the help!