Project

General

Profile

Actions

Bug #11778

open

OpenVPN uses 100% CPU after experiencing packet loss

Added by Jason NA over 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
OpenVPN
Target version:
-
Start date:
04/03/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.5.x
Affected Architecture:
amd64

Description

I have two OpenVPN clients set up in a gateway group and when I was running 2.4.5p1 this was fine I had zero problems but ever since the upgrade whenever one or both clients start experiencing packet loss they start using 100% CPU.

71320 root 103 0 16M 16M CPU1 1 40.4H 100.00% /usr/local/sbin/openvpn --config /var/etc/openvpn/client1/config.ovpn

This puts a lot of load on my router for absolutely no reason, it is even worse when they are both going like that. I have tried to do some due diligence before posting this issue so hopefully I have not filed a duplicate. I have been through most of the log files, but I am unfamiliar with FreeBSD (mostly Linux). Even then besides the packet loss I'm not finding anything in the logs that might cause this.

I started a Reddit post a few weeks back and I guess I'm not the only one experiencing this issue <https://old.reddit.com/r/PFSENSE/comments/m7ooku/openvpn_connection_at_100_cpu_after_gateway_group/&gt;. Like in that post things I've tried to resolve this are to remove extra settings, disable gateway monitoring, etc. Restarting the OpenVPN clients usually fixes it for a few days but eventually it's back to overusing my CPU.

What logs would you like and I will provide them?


Files

openvpn.log (142 KB) openvpn.log Jason NA, 04/06/2021 11:31 AM
unbound.log (7.96 KB) unbound.log Jason NA, 04/06/2021 11:31 AM
openvpn_2.log (579 KB) openvpn_2.log Jason NA, 04/07/2021 07:37 AM

Related issues

Has duplicate Bug #12163: WAN interface throughput degradation after send high volume through OpenVPN site-to-site TunnelDuplicate07/24/2021

Actions
Actions

Also available in: Atom PDF