openvpn process uses 100% CPU after suspend/resume

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
rinimal
OpenVpn Newbie
Posts: 3
Joined: Sat Dec 13, 2014 12:59 pm

openvpn process uses 100% CPU after suspend/resume

Post by rinimal » Sat Dec 13, 2014 2:48 pm

I first noticed this after suspend/resume, but it is easier to reproduce with: "sudo ifconfig wlan0 down". Even after fixing network connectivity, the 'openvpn' process continues to use 100% CPU and the VPN does not respond. (It can be 'fixed' with "sudo service openvpn restart".) Note this problem does not occur if the network is disconnected upstream for a long period and then reconnected; the VPN recovers automatically after a bit.

Otherwise my VPN set-up seems to work well. Both server and client are running Ubuntu 14.04. All traffic and DNS are pushed through the VPN.

Has anyone else seen this issue? Is it a bug?

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: openvpn process uses 100% CPU after suspend/resume

Post by Traffic » Sun Dec 14, 2014 6:22 pm

Please post exact details of Openvpn Version :roll:

rinimal
OpenVpn Newbie
Posts: 3
Joined: Sat Dec 13, 2014 12:59 pm

Re: openvpn process uses 100% CPU after suspend/resume

Post by rinimal » Mon Dec 15, 2014 11:18 am

Code: Select all

$ openvpn --version
OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014
Originally developed by James Yonan
Copyright (C) 2002-2010 OpenVPN Technologies, Inc. <sales@openvpn.net>
Compile time defines: enable_crypto=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_eurephia=yes enable_fast_install=yes enable_fragment=yes enable_http_proxy=yes enable_iproute2=yes enable_libtool_lock=yes enable_lzo=yes enable_lzo_stub=no enable_maintainer_mode=no enable_management=yes enable_multi=yes enable_multihome=yes enable_pam_dlopen=no enable_password_save=yes enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_small=no enable_socks=yes enable_ssl=yes enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_win32_dll=yes enable_x509_alt_username=yes with_crypto_library=openssl with_gnu_ld=yes with_ifconfig_path=/sbin/ifconfig with_iproute_path=/sbin/ip with_mem_check=no with_plugindir='${prefix}/lib/openvpn' with_route_path=/sbin/route with_sysroot=no

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: openvpn process uses 100% CPU after suspend/resume

Post by Traffic » Tue Dec 30, 2014 12:34 am

It may be worth opening a bug report. Try to provide as much detail as possible either here on the Trac.

Post Reply