-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Basic System Tuning
Sammy Libre edited this page Jul 27, 2016
·
2 revisions
If you see something like this in log files when you go big:
Accept error: accept tcp [::]:8080: accept4: too many open files; retrying in 1s
then your pool hitting max open file limit allowed by Linux. The solution for this problem is simple.
Assuming you are running a pool process under pool
user.
Create a file /etc/security/limits.d/pool.conf
:
pool soft nofile 512000
pool hard nofile 512000
Once you save file, you may need to logout and login again and restart pool process.