openconnect is consuming huge amount of memory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openconnect (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
After a few days of use openconnect is starting to consume huge amounts of memory (3,7GB).
openconnect is used through network manager and this is the ps output:
USER PID %CPU %MEM SZ RSS STIME TIME COMMAND
nm-open+ 2289 1.3 48.0 - 3885440 Jul14 00:33:25 /usr/sbin/
It seems like a memory leak or something similar.
The error can be reproduced consistently and appears to be happening after 2-5 days.
It does not seem to be a constantly increasing leak as I have monitored the process and memory usage was normal for a few days and after that when I started working in the morning I realized the high memory usage.
I have even seen OOMs in the kernel log:
/var/log/
/var/log/
/var/log/
/var/log/
The only way I could find to fix this is disconnect and reconnect.
This is a serious issue and prevents me from working.
I have been using openconnect in the last 4,5 years and I havent experienced this before, but after upgrading to 15.04.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: openconnect 6.00-1
ProcVersionSign
Uname: Linux 3.19.0-22-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: GNOME-Flashback
Date: Thu Jul 16 10:17:02 2015
InstallationDate: Installed on 2015-06-26 (19 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: openconnect
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
Changed in openconnect (Ubuntu): | |
status: | New → Fix Released |
Additional useful info could be that I'm running rsync and downloading multiple 10 GBs through the VPN connection.
I don't know if this is related to the crashes though.