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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1771329

Title:
  Can't open apps due to Too many open files

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1771329/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to