Chromium snap causes network traffic. (Duh!)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When Chromium is running (but otherwise idle!), there is NFS traffic between my workstation and the NFS server here. On the order of 24000 packets per second. Several tens of packets, OK. several hundreds: mwah. But this is outrageous.
When strace-ing the chrome process I see:
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=31, events=POLLIN}, {fd=32, events=POLLIN}, {fd=137, events=POLLIN}], 5, 0) = 0 (Timeout)
recvmsg(31, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(31, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(32, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(32, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvmsg(32, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable)
It uses poll to wait for events... and then gets informed: A timeout occurred, no filedescriptors are ready and then STILL Tries to read from fd 31 and 32. Furthermore, the process seems to specify a 0 timeout as quite often I see the poll call return in about 20-50 microseconds.
The process that is doing this shows as:
/snap/
1)
Description: Ubuntu 20.04.1 LTS
Release: 20.04
2)
chromium-browser:
Installed: 84.0.4147.
Candidate: 84.0.4147.
Version table:
*** 84.0.4147.
500 http://
100 /var/lib/
80.
500 http://
3) I expect chromium to use little to no resources (CPU, network) when I'm not actively using it. (asking for small memory footprint is not currently realistic).
4)_ Chromium seems to do something that requires NFS traffic.
Thanks for the report rew.
For testing purposes, could you download the google chrome installer from google.com/chrome, install it and test whether it is behaving similarly? That would be a useful data point. Thanks!