Hi, please do not send HTML mails...
On Thu, Dec 08, 2016 at 07:07:50PM +1100, Chris Anderson wrote:
> <div>Hi</div><div> </div><div>I have a problem with openvpn running from
> systemd (not using the suplied systemd unit files) consuming 100% cpu on
> single thread when running from systemd. When I run this from a root shell
> the CPU usage is nominal but with rc1 when I run the same command from a
> systemd unit file the CPU on a single core hits 100%. This problem doesn't
> appear on 2.3.13.</div><div> </div><div>I tried compiling with and without
> --[en|dis]able-systemd configure option and added the Type=notify for startup
> notifictions but th this didn't help.</div><div> </div><div>This is the unit
> file<div><div>[Unit]</div><div>Description=OpenVPN Robust And Highly Flexible
> Tunneling Application On %I</div><div>After=syslog.target
> network.target</div><div> </div><div>[Service]</div><div>;Type=notify for 2.4
> but this didn't work</div><div>ExecStart=/usr/sbin/openvpn --cd /etc/openvpn/
> --config client.conf --remote %I</div><div>
> </div><div>[Install]</div><div>WantedBy=multi-user.target</div><div>
> </div><div>Cheers</div><div> </div><div>Chris</div></div></div>
... your mail is missing one crucial element: which linux variant is this,
and did you compile openvpn yourself or did you use a system packackage?
There's a bug in 2.4_rc1 which will make it loop *if* running without
stdin (= backgrounded, or "</dev/null") *and* it has been compiled with
ASYNC_PUSH support - that was hitting gentoo builds due to another bug
in configure.ac.
Fixed in the current tree since two days ago, will be in rc2.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]
fax: +49-89-35655025 [email protected]
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi
_______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
