Run out of file descriptors with opened tabs > ~12,15

Bug #1727608 reported by dino99
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This is not a recent issue: googling around "ERROR:value_store_frontend.cc(58)" show that error have been met several years ago on multiple distro, not only ubuntu.

This append with a gnome-shell & wayland session when chromium have at least 12 opened tabs, and scrolling url with many images (like with thumblr.com).

Journalctl is filed with errors like:
"chromium-browser.desktop[2255]: [2255:4906:1026/040419.151932:ERROR:value_store_frontend.cc(58)] Error while writing gjieilkfnnjoihjjonajndjldjoagffm.browser_action to" which means that file descriptors limit has been reached.
With such a case, gnome-shell is freezing until the hdd activity slowdown to normal. Prior all the 4 Gb ram is used and the swap partition is also widely used. This is not expected, ram & swap should be firstly needed by the active tab, not for all the opened ones. Something have to be better programed there.

Is there a way to set file descriptor limit on the user side ?

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: chromium-browser 62.0.3202.62-0ubuntu0.17.10.1380
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Oct 26 07:43:12 2017
DetectedPlugins:

SourcePackage: chromium-browser
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.chromium-browser: [deleted]

Revision history for this message
dino99 (9d9) wrote :
description: updated
description: updated
dino99 (9d9)
description: updated
description: updated
Revision history for this message
dino99 (9d9) wrote :

After googling about that error, i have deleted ~/.config/chromium/default/Extension State
Then with the next reboot, a new 'Extension State' folder has been created, and the previous error is not logged when using many opened tabs. Also there is less memory eaten & less hdd scanning.

note: the old & new 'Extension State' folders have the same rights; so the previous error seems mysterious.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Googling for "ERROR:value_store_frontend.cc(58)" raised only this bug report (and associated mentions on mailing lists). Can you point me to the older reports you mentioned?

If you've kept your old "Extension State" folder around, can you maybe try to restore it and disable extensions one by one to check whether one particular extension is misbehaving?

Actually, your log excerpt mentions https://chrome.google.com/webstore/detail/history-eraser/gjieilkfnnjoihjjonajndjldjoagffm, could it be that extension that's doing unexpected things with file descriptors?

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for chromium-browser (Ubuntu) because there has been no activity for 60 days.]

Changed in chromium-browser (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.