[Bug 1771329] Re: Can't open apps due to Too many open files
Joe Littlejohn
1771329 at bugs.launchpad.net
Mon Oct 15 16:09:37 UTC 2018
Not sure which part of this fixes the problem, but I don't have any
issues after I run the following:
echo '* hard nofile 2097152' | sudo tee -a /etc/security/limits.conf
echo '* soft nofile 2097152' | sudo tee -a /etc/security/limits.conf
echo 'root hard nofile 2097152' | sudo tee -a /etc/security/limits.conf
echo 'root soft nofile 2097152' | sudo tee -a /etc/security/limits.conf
echo 'session required pam_limits.so' | sudo tee -a /etc/pam.d/common-session
echo 'DefaultLimitNOFILE=2097152' | sudo tee -a /etc/systemd/user.conf
echo 'DefaultLimitNOFILE=2097152' | sudo tee -a /etc/systemd/system.conf
Maybe it's all needed. Maybe only the last two lines are needed.
¯\_(ツ)_/¯
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/1771329
Title:
Can't open apps due to Too many open files
Status in dbus package in Ubuntu:
Confirmed
Bug description:
Occasionally I find that I can't launch a new terminal, or can't
achieve some other desktop task. Checking journalctl I see error
messages like this:
May 15 12:12:15 jl-XPS-13-9360 terminator.desktop[11840]:
dbus.exceptions.DBusException:
org.freedesktop.DBus.Error.LimitsExceeded: Failed to determine seats
of user "1000": Too many open files
or this:
May 15 12:12:47 jl-XPS-13-9360 google-chrome.desktop[28308]:
[28308:28343:0515/121247.966786:ERROR:bus.cc(394)] Failed to connect
to the bus: Failed to determine seats of user "1000": Too many open
files
At the time this happen's I'm usually running Slack, Chrome, Emacs, and a few Java apps.
I'm using Ubuntu Bionic (18.04), 4.15.0-20-generic x86_64, vanilla
gnome-shell.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1771329/+subscriptions
More information about the foundations-bugs
mailing list