New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 544608 link

Starred by 26 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

The nacl_helper (even if it's not activated) consumes 84.1 GB virtual memory

Reported by sauer.be...@gmail.com, Oct 18 2015

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36

Steps to reproduce the problem:
1. Install Ubuntu 15.04 64Bit
2. Install Chrome 45.0.2454.85 (64-bit)
3. Run Chrome 

What is the expected behavior?
Chrome should NOT slow down my whole system...
The exact problem was described here:
https://productforums.google.com/forum/#!topic/chrome/H4D29Js2Snc

What went wrong?
Whenever I run Chrome, its nacl_helper will consume up to 84.1G of virtual memory, which in turn seems to put some stress on my ssd and makes the whole system unstable and slows it down.

Did this work before? Yes Some versions ago

Chrome version: 45.0.2454.85  Channel: n/a
OS Version: Ubuntu 15.04 64bit
Flash Version: Shockwave Flash 18.0 r0

As mentioned, there was an discussion on the google productforums, but I could not find an appropriate ticket. Maybe it was fixed already and this is a regession bug.
 
CRlstrpWwAAKyni.png-large
500 KB Download
Cc: rnimmagadda@chromium.org
Labels: Needs-Feedback
Unable to repro this issue on Ubuntu Trusty (14.04) for Google Chrome Stable Version - 46.0.2490.71

@Sauer.benjamin: Could you please perform the steps mentioned beneath and let us know your observations, which would help us in triaging it further.

1. Update your Google Chrome to Latest Stable Version - 46.0.2490.71
2. Re-test the same on a clean profile [chrome://settings -> Add Person]

Thank you.
Labels: -Needs-Feedback
Status: WontFix
Due to lack of user response we are closing this issue for now. Please feel free to file a new issue if you come across this issue again.
Please revisit this issue.

I got the same situation on Archlinux. I'm using a browser profile that was created long ago in previous versions of Chrome. History and cache were not cleaned up. From my understanding (please check the screenshot), the nacl_helper is spawned by a chrome-sandbox process of some sort. That happens as soon as I start Chromium. The virtual memory is allocated almost immediately afterwards.

As suggested, I created a clean profile, switched to that profile, then closed all instances of Chromium. I started Chromium with my clean profile as default browsing profile. I could then no longer see the nacl_helper processes. The allocated VM issue was gone. As soon as I switched back to my normal profile, the 84G VM were allocated again.


Chromium: 49.0.2623.110 (64-bit)
OS: Linux 4.4.5-1-ARCH x86_64 GNU/Linux



screenshot_nacl_84g.png
336 KB View Download

Comment 4 by table...@gmail.com, May 17 2016

I noticed almost precisely the same issue and traced it to the Google Play Music extension. Disabling the extension killed the the 84.1g nacl_helper process, and enabling it again spawned a new nacl_helper process with the same virtual memory demand.

Chrome:50.0.2661.102 (64-bit)
OS: Ubuntu 16.04 LTS
That's a pretty nice find. Thanks!

I completely removed the Google Play Music extension and the 84G nacl_helper process was gone. I reinstalled the extension afterwards but I haven't so far been able to reproduce the issue. The nacl_helper process seems to be there but the VM doesn't exceed 40mb or so. I'll keep monitoring it.

Chromium: 50.0.2661.102 (64-bit)

Comment 6 by pmul...@gmail.com, May 18 2016

Great find !!!

I had exactly the same issue. Just disabling the Google Play Music extension gets rid of the nacl_helper and it's 84,1 Gb of virtual Memory. Thanks a lot ! 

Let's hope we hear from google soon about a solution on that!

Chrome: Version 50.0.2661.102 (64-bit)
Linux Mint 17.3 Rosa (Linux 3.19.0-32-generic x86_64)


Comment 7 by fisa...@gmail.com, Aug 27 2016

I have the same issue, with the exact same value: 84.1GB. But I don't have the Google Play Music extension, and I tried disabling every single extension I have, with no luck. Happening in Chrome 51.0.2704.106 (64-bit)
 under Ubuntu 16.04.

Comment 8 Deleted

I'm seeing this and I've never installed the Google Play Music extension.

Here's the line from top:

  PID PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
29958 20   0 84.036g   6504   2588 S   0.0  0.0   0:00.34 nacl_helper

Here's stuff from chrome://version:

Google Chrome	53.0.2785.92 (Official Build) (64-bit)
Revision	71035c5c50312b3c391355641c77d720b3831999-refs/branch-heads/2785@{#807}
OS	Linux 
Blink	537.36 (@71035c5c50312b3c391355641c77d720b3831999)
JavaScript	V8 5.3.332.38
Flash	22.0.0.209
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.92 Safari/537.36
Command Line	/usr/bin/google-chrome --window-depth=24 --x11-visual-id=33 --wm-user-time-ms=2493224942 --flag-switches-begin --flag-switches-end
Executable Path	/opt/google/chrome/google-chrome
Variations	6a89113b-2bdd0794
6345b824-3d47f4f4
7c1bc906-f55a7974
ba3f87da-50fa7414
f049a919-65bced95
31362330-ca7d8d80
f15c1c09-ca7d8d80
db19c37b-4ad60575
9e5c75f1-c16ec2e6
f5dd6118-2f5721af
f79cb77b-3f4a17df
b55cd1b6-3f4a17df
73a8d7f1-1b1a7908
868bda90-ca7d8d80
4ea303a6-b7a755b5
9736de91-ca7d8d80
dbffab5d-ca7d8d80
3ac60855-3ec2a267
f296190c-610f13e6
4442aae2-7158671e
ed1d377-e1cc0f14
75f0f0a0-d7f6b13c
e2b18481-a90023b1
e7e71889-4ad60575
Cc: manoranj...@chromium.org
Labels: TE-NeedsTriageFromMTV
Status: Unconfirmed (was: WontFix)
@MTV: Team, could someone please have a look into this issue.

Thank you.
Components: Platform>Extensions
This issue is related to Google Play Music.
Components: -Platform>Extensions
#11 Is it?  #7 says he doesn't have Google Play Music, and disabled all extensions.

Comment 13 by lumin...@gmail.com, Sep 29 2016

Detected this problem today. Uninstalling google play music solved it for me.
The issue may be “related” to Google Play Music, but I'm pretty confident it's not confined to users of a Google Play Music extension. I've never installed such an extension (and wasn't even aware it existed). I've never used Google Play Music or even activated an account in that service.
Cc: thomasanderson@chromium.org
I am seeing the same issue *without* Google Play Music but with the VideoStream extension installed. Videostream is for streaming movies to the Google Chromecast.

configuration: Ubuntu 14.04 / Chrome 53.0.2785.143 (64-bit)

I only see these nacl_helper readings (240 - 300% CPU activity, 84GB VM) if I am streaming non-mp4 movies. Apparently, videostream is transcoding them on the fly. If it happens, everything is slowing down so much that these movies are basically unwatchable.
I have the same issue.

Fedora 24. Google Chrome  54.0.2840.90 (64-bit).

I don't have Google Play Music extension, but I use BlueJeans. It might be related.

Comment 18 by mbb...@gmail.com, Nov 10 2016

I'm also experiencing this issue, although today was the first time I'd seen it (I've made no significant changes to my computer lately, and only ever install security updates).

There were two users on Reddit (https://www.reddit.com/r/chrome/comments/498br6/help_why_is_nacl_helper_84g_large_also_overnight/) who saw this issue with _exactly_ 84 gigabytes of ram. Maybe that exact amount is a clue?

Ubuntu 14.04
uname is Linux 3.13.0-38-generic #65somerville1-Ubuntu SMP Wed Oct 15 02:15:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Google Chrome Version 53.0.2785.143 (64-bit)
I've never installed google play music on this computer.

Extensions I use:
Adblock Plus 1.12.4
Authy 1.5.0
Authy Chrome Extension 1.0.2
Google Docs 0.9
Google Docs Offline 1.4
Google Sheets 1.1
Google Slides 0.9
Lastpass 4.1.31
OneLogin for Google Chrome 3.1.2
Postman 4.8.1
Virtu Email Encryption 3.21.3
I've been seeing this behaviour for a while;  doesn't seem to cause any particular problems.  Occasionally, though, two such processes spawn, which did seem to be associated with some performance issues (though it's hard to disentangle that from Chrome bloat itself, which is definitely a recurrent theme).

Now, however, it's routinely spawning *four*, almost identically sized.  Even with all extensions disabled (and all but one uninstalled).  ChromeOS 55.
I see this on Ubuntu 14.04 plus Chrome. Linux 3.13.0-106-generic
It is usually exactly 84.0 Gigabytes of memory,
and is associated with a Chrome slowdown.

I do not use Google Play Music.

Extensions:
Gif Stopper
Google Docs Offline
Lastpass
Screenleap (screen share)
The Great Suspender

nacl_helper_chrome_gigabytes.png
43.4 KB View Download
"Memory map" from "System Monitor", showing two 40GiB blocks:

nacl_helper.png
150 KB View Download
I am having the same issue on Ubuntu 16 LTS. Don't know if this have some impact, but when System monitor shows dependencies, there is two nacl_helper processes, one under the other. Both combined exceed 100 Gig of virtual memory.
i will soon try to do the same on another systems, and post here if something else appears. 
Also, maybe related to this is the fact that opening Chrome is enough to, under some circunstances, make both VMWARE Workstation and my zfs on linux go crazy... Closing Chrome make things get back to normal all times. unfortunately I haven't anymore a license to Vmwre to see if this still happens... I use XEN on this computer and apparently it is all ok.

Screenshot from 2017-01-02 08-45-40.png
226 KB View Download
For the second part of my comment above, turning off hardware acceleration apparently solved the issue with zfs, so the problem was not related to the one on this thread.
Disabling the Google Play Music extension through the Extensions UI immediately removes the 84 GB and returns it down to 26.4 MiB Virtual Memory.

Extensions:
AdBlock 3.8.4
The most popular Chrome extension, with over 40 million users! Blocks ads all over the web.

Awesome Screenshot: Screen capture, Annotate 3.8.5
Dreditor 1.2.17
GitHub EditorConfig 1.1.0
Gmail Offline Sync Optimiser 6.5
Google Docs 0.9
Google Docs Offline 1.4
Google Play Music 1.349.0
Google Sheets 1.1
Inbox by Gmail 1.0.0.1929
JetBrains IDE Support 2.0.9
REST Console 4.0.2
Videostream for Google Chromecast™ 2.16.1222.0
VS Launcher 1.0

Comment 25 by paxu...@gmail.com, Jan 18 2017

Confirming #24's comment about disabling Google Play Music extension. virtual mem size is 84+GB with GPM enabled; back to 27MB with it disabled.
I was having the same problem. I dont have Google Play music extension. I've disabled every extension, but no success.

The problem was a tab open using Telegram. I closed the Telegram web tab, and the 84+4 DB disappears.
I've attached my htop output when the Telegram Web app was opened.
Captura de tela_2017-01-28_14-23-05.png
48.6 KB View Download
OK, I'm impressed:  never managed more than four instances at once.  But then again, never used Telegram, either.  Is there some API commonality between all these different apparently correlated applications?
I don't have the Google Play Music extension, but comparing PIDs in htop and the chrome task manager it appears that the Google Keep chrome app also causes nacl_helper to consume ~84GB of virtual memory.
Same here: 84G with Google Play Music extension, 37M without it.

Version 57.0.2987.98 (64-bit) 

on

NAME="Ubuntu"
VERSION="16.04.2 LTS (Xenial Xerus)"

Thanks a lot for the Google Play Music solution, it really helped!
I'm not running the Google Play Music extension, but I see the 84G map with the Videostream extension on 57.0.2987.98

The first time I disabled the Videostream extension the nacl_helper went away, but it did not go away the second time I enabled/disabled the extension.

/proc/<pid>/maps shows a bunch of big address range anonymous maps, so it isn't just mmaping a large file.
OK, variation on the previously reported theme:  now using a different model, a CB3-431, and have a nacl_helper that runs (in the tradition 84G of VM) whenever I have a crouton instance running in xiwi mode.  What's more, if the nacl_helper is killed, it hangs crouton.  OK, so fair enough, let it run!

However...  periodically it still forks *another* nacl_helper!  Which seems to impact performance, as before.  And it's not clear which one to kill, either!
Components: Platform>Extensions

Comment 34 by piman@chromium.org, Aug 18 2017

Folks, virtual address space / VM size is not RAM consumption, nor is it the amount of memory that is swapped to disk. For the RAM consumption you may want to look at the resident size, which is quite reasonable (a few MB) in all the reports that include that number. For swap usage, you may want to look at numbers from 'free'.

Comment 35 by giace...@d28m.com, Jan 10 2018

Same issue here on latest and up to date Fedora Desktop. I have 20 Gb ram and no swap. Deleting the Google Music extension solved the problem. 

Comment 36 by piman@chromium.org, Jan 10 2018

Status: WontFix (was: Unconfirmed)
Folks, virtual address space is not a global resource that is scarce or "consumed". Each process has its own separate 256TB (in 64 bits) of address space, and can use it however it wants without causing "swapping" or "slowdown" or "consuming RAM".
How about the CPU issue.  I don't care about the virtual space if it doesn't matter, but the CPU usage is enormous!  I get around 400% on my 4 core CPU.  I find this happens with Android apps I use through ArcWelder.
For me the CPU issue is...  highly intermittent.  As is the number of processes.  Currently there's just one, with modest CPU usage.  Great.  Except I've still no idea why it's running at all, which makes me further concerned about when it equally unpredictably spawns *more*, and those further seemingly randomly turn into CPU hogs.
Hello, I've got the same issue reported as others... nacl_helper is consuming 84.038 G of virtual space, and there is bad intermittent CPU usage.

chrome://version gives me: 

Google Chrome	69.0.3497.92 (Official Build) (64-bit)
Revision	eb2c6d16bcb960cc5c322243c1771713460c4bcf-refs/branch-heads/3497@{#921}
OS	Linux
JavaScript	V8 6.9.427.22
Flash	31.0.0.108 /home/me/.config/google-chrome/PepperFlash/31.0.0.108/libpepflashplayer.so
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.92 Safari/537.36
Command Line	/usr/bin/google-chrome-stable --flag-switches-begin --flag-switches-end https://www.google.com
Executable Path	/opt/google/chrome/google-chrome
Profile Path	/home/me/.config/google-chrome/Default
Variations	c134752e-1ece3553
3e006338-3f4a17df
1a0d11d4-2f9febdf
e202a358-ca7d8d80
752a9400-3d47f4f4
b7e2524c-ca7d8d80
8fe39baa-3f4a17df
3095aa95-3f4a17df
7c1bc906-f55a7974
47e5d3db-3d47f4f4
125b7f68-26e7b859
9ca1387e-ca7d8d80
1149accc-f23d1dea
4dc30737-b8a5ea08
c865fdc1-ca7d8d80
15d89564-80f9a33e
a582a1b8-ad75ce17
3042ad4b-ca7d8d80
ebbb4e0a-ca7d8d80
267255c3-f4950e99
44827ee5-3f4a17df
88a387d2-ee748cef
8f1e27f-ca7d8d80
edbcf7c5-1cc1312c
43f62d3b-28165b59
9e5c75f1-14d63619
6872f671-991e1e1
f79cb77b-3f4a17df
2ca9c26b-3f4a17df
4ea303a6-ecbb250e
6e6e0c7e-ca7d8d80
d92562a9-4d2fac87
4da5ae82-91c810ef
2c1d398c-3f4a17df
6973a1cf-3f4a17df
cc54eb06-ca7d8d80
58a025e3-36e97b2c
df072bba-ca7d8d80
ff29b1bd-37ef7e17
4bc337ce-69465896
9a2f4e5b-ca7d8d80
1354da85-f1a864dc
17507c76-ca7d8d80
494d8760-52325d43
3ac60855-486e2a9c
f296190c-f9f7acb5
4442aae2-e1cc0f14
ed1d377-e1cc0f14
12e17bc5-e1cc0f14
75f0f0a0-a5822863
e2b18481-4c073154
e7e71889-e1cc0f14
b1ceb06f-d1372334
3a4029d-ca7d8d80
6ab94979-3f4a17df
41aa6aaa-da82a76f
94e68624-803f8fc4
8834fcca-ca7d8d80
ea0f933d-ca7d8d80

I don't have GPM installed, and I also tried to disable all Google related extensions, but the problem still exists. I am happy to provide any additional info.
Confirmed on ubuntu 18.04.

$ uname -r
4.18.8-041808-generic

chrome://version output:


Google Inc.
Copyright 2018 Google Inc. All rights reserved.
Google Chrome	69.0.3497.100 (Official Build) (64-bit)
Revision	8920e690dd011895672947112477d10d5c8afb09-refs/branch-heads/3497@{#948}
OS	Linux
JavaScript	V8 6.9.427.23
Flash	31.0.0.108 /home/karl/.config/google-chrome/PepperFlash/31.0.0.108/libpepflashplayer.so
User Agent	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Command Line	/usr/bin/google-chrome-stable --flag-switches-begin --flag-switches-end
Executable Path	/opt/google/chrome/google-chrome
Profile Path	/home/karl/.config/google-chrome/Default
Variations	c134752e-1ece3553
3e006338-3f4a17df
752a9400-3d47f4f4
b7e2524c-ca7d8d80
8fe39baa-3f4a17df
3095aa95-3f4a17df
7c1bc906-f55a7974
47e5d3db-3d47f4f4
9ca1387e-ca7d8d80
1149accc-f23d1dea
4dc30737-b8a5ea08
c865fdc1-ca7d8d80
15d89564-80f9a33e
a582a1b8-ad75ce17
8ee5ed19-ca7d8d80
74658432-ca7d8d80
3042ad4b-ca7d8d80
ebbb4e0a-ca7d8d80
267255c3-f4950e99
249dd49a-20131bcc
44827ee5-f23d1dea
88a387d2-ee748cef
8f1e27f-ca7d8d80
edbcf7c5-1cc1312c
43f62d3b-28165b59
3a0563a1-65222f0b
9e5c75f1-1039a221
6872f671-991e1e1
f79cb77b-3f4a17df
4ea303a6-ecbb250e
6e6e0c7e-3f17a7d8
d92562a9-4d2fac87
4da5ae82-91c810ef
2c1d398c-3f4a17df
6973a1cf-3f4a17df
cc54eb06-ca7d8d80
58a025e3-36e97b2c
df072bba-ca7d8d80
ff29b1bd-37ef7e17
4bc337ce-b2a7d6c5
9a2f4e5b-ca7d8d80
ddf77e2c-ca7d8d80
1354da85-f1a864dc
17507c76-ca7d8d80
494d8760-52325d43
3ac60855-486e2a9c
f296190c-9109843f
4442aae2-d7f6b13c
ed1d377-e1cc0f14
75f0f0a0-a5822863
e2b18481-5c63917a
e7e71889-4ad60575
b1ceb06f-d1372334
3a4029d-ca7d8d80
6ab94979-3f4a17df
41aa6aaa-da82a76f
94e68624-803f8fc4
8834fcca-ca7d8d80
ea0f933d-ca7d8d80

Sign in to add a comment