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.
I tried the following:
echo '* hard nofile 65535' | sudo tee -a /etc/security/ limits. conf limits. conf d/common- session
echo '* soft nofile 65535' | sudo tee -a /etc/security/
echo 'session required pam_limits.so' | sudo tee -a /etc/pam.
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.