Problem WAN
-
@tim-mcmanus
On average 30% and AES-NI cryptography -
How many cores in the system?
I am thinking you're experiencing a resource issue and am trying to determine where. Since you're at 30% it could mean that you've saturated one core in a 4 core system, and that could where the resource issue is.
You could connect to the console and run something like TOP and recreate the issue to see if you can get some better insight to see if you can identify the RC there.
-
@tim-mcmanus
I have already tried several times to create the problem, even keeping the connection constant at 100 mb/s seems to happen casually. As for the resources I had tried to disable many services to recover resources. -
Yes, if your system is mulicore/CPU then 30% total could be 100% on one core.
Run at the command line:
top -aSH
That will show you the per-core usage.
If you only have one WAN you could set "Disable Gateway Monitoring Action" by editing the gateway in System > Routing.
You will still see high latency but it won't have the same latency. It's worth doing at least as a test.
Steve
-
@stephenw10
I thank you, I will do a test and I'll let you know. I read a little while ago about another user who has a problem similar to mine and who solved by updating the realtek drivers.EDIT: I use an amd fx 6300 4.2ghz
EDIT2: I think it might be Snort to saturate a core or more by having it on the WAN and LAN. -
That's unlikely at 100Mbps with that CPU. But the top output will show it.
Steve
-
I just did a test causing the problem, as I thought snort uses the cpu enough, but each of the six cores remains at least 36% in idle.
Could it be a problem of the realtek drivers? -
It probably is. Looking at your logs again:
Nov 18 02:20:28 kernel re1: watchdog timeout
That is almost certainly the issue. The only thing you can try there (other than swapping out the NICs) is the alternative Realtek driver:
https://forum.netgate.com/topic/135850/official-realtek-driver-binary-1-95-for-2-4-4-releaseSteve
-
@stephenw10
Okay then I'll try.
Last thing, what can I use to place the file in /boot/kernel?
Through the interface I placed the file in /tmp, but I do not know how to move it to the right position. -
You can copy it to there from the command line.
You can use SCP to access the filesystem directly over SSH. WinSCP for example, if you're running Windows.
Steve
-
@stephenw10
I managed to move the file, now to change the permissions can I use winSCP?
In the attached image, what should I select?
link text -
It needs to be executable. Check the three
X
boxes there.Steve
-
@stephenw10
I think I was able to load the driver.
Here is the output:Shell Output - kldstat Id Refs Address Size Name 1 12 0xffffffff80200000 2d9a7d0 kernel 2 1 0xffffffff82f9c000 7d2c0 if_re.ko 3 1 0xffffffff83711000 10a0 cpuctl.ko 4 1 0xffffffff83713000 72b8 aesni.ko 5 1 0xffffffff8371b000 11a0 amdtemp.ko 6 1 0xffffffff8371d000 648 amdsmn.ko
I'm testing
-
Yup, looks like it. You should also see the version in the boot log against your NICs if you check.
Steve
-
@stephenw10
After three hours of constant download at 100mb/s there was no loss of connection, I hope it continues like this.
At the next restart I will check.
Thanks again for the help.EDIT: I confirm that I have solved the problem by replacing the realtek drivers included in pfsense.