I tried the following:

echo '* hard nofile 65535' | sudo tee -a /etc/security/limits.conf
echo '* soft nofile 65535' | sudo tee -a /etc/security/limits.conf
echo 'session required pam_limits.so' | sudo tee -a /etc/pam.d/common-session

then restarted.

This did not fix the issue. So that's one 'increase limits' strategy we
can rule out - it doesn't work for this particular problem.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  New

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to