Public bug reported: 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/openconnect --servercert ************************************************** --syslog --cookie-on-stdin --script /usr/lib/NetworkManager/nm-openconnect-service-openconnect-helper --interface vpn0 host.name:443 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/syslog.6.gz:Jul 10 10:18:21 ultra-d kernel: [173651.909881] [ 4355] 0 4355 38192 2 46 208 0 nm-openconnect- /var/log/syslog.6.gz:Jul 10 10:18:21 ultra-d kernel: [173651.909882] [ 4367] 122 4367 2706452 270484 5278 2410868 0 openconnect /var/log/syslog.6.gz:Jul 10 10:18:21 ultra-d kernel: [173651.909978] Out of memory: Kill process 4367 (openconnect) score 586 or sacrifice child /var/log/syslog.6.gz:Jul 10 10:18:21 ultra-d kernel: [173651.910001] Killed process 4367 (openconnect) total-vm:10825808kB, anon-rss:1081936kB, file-rss:0kB 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 ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1 Uname: Linux 3.19.0-22-generic x86_64 ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 CurrentDesktop: GNOME-Flashback:Unity 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) ** Affects: openconnect (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug vivid ** Description changed: 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: + 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/openconnect --servercert ************************************************** --syslog --cookie-on-stdin --script /usr/lib/NetworkManager/nm-openconnect-service-openconnect-helper --interface vpn0 host.name:443 - 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 day and after that when I started working in the morning I realized the high memory usage. + 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. 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 ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1 Uname: Linux 3.19.0-22-generic x86_64 ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 CurrentDesktop: GNOME-Flashback:Unity 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 changed: 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/openconnect --servercert ************************************************** --syslog --cookie-on-stdin --script /usr/lib/NetworkManager/nm-openconnect-service-openconnect-helper --interface vpn0 host.name:443 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/syslog.6.gz:Jul 10 10:18:21 ultra-d kernel: [173651.909881] [ 4355] 0 4355 38192 2 46 208 0 nm-openconnect- + /var/log/syslog.6.gz:Jul 10 10:18:21 ultra-d kernel: [173651.909882] [ 4367] 122 4367 2706452 270484 5278 2410868 0 openconnect + /var/log/syslog.6.gz:Jul 10 10:18:21 ultra-d kernel: [173651.909978] Out of memory: Kill process 4367 (openconnect) score 586 or sacrifice child + /var/log/syslog.6.gz:Jul 10 10:18:21 ultra-d kernel: [173651.910001] Killed process 4367 (openconnect) total-vm:10825808kB, anon-rss:1081936kB, file-rss:0kB + 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 ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1 Uname: Linux 3.19.0-22-generic x86_64 ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 CurrentDesktop: GNOME-Flashback:Unity 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) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1475199 Title: openconnect is consuming huge amount of memory To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1475199/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs