dto-btn / todo

Catch-all for issues that aren't related to a specific project.
0 stars 0 forks source link

Fix "too many open files" error when running JMeter tests on Ubuntu 18.04 #25

Closed patheard closed 4 years ago

patheard commented 4 years ago

Default open files is 1024.

patheard commented 4 years ago

Fix was to add the following and reboot:

# /etc/security/limits.conf
* soft nofile 8192
* hard nofile 8192

# /etc/pam.d/xrdp-sesman
session required pam_limits.so

# /etc/systemd/system.conf
DefaultLimitNOFILE=8192

# /etc/systemd/user.conf
DefaultLimitNOFILE=8192