After a few months of server activity on which I installed Cyberpanel, this morning I found the hard disk saturated. I investigated and found that the /usr/local/lsws/logs path contained hundreds of error.log and access.log files, which filled the disk space.
Before I deleted the logs I downloaded them, and the error.log files always have the same error:
2020-09-15 23:12:44.947967 [ERROR] [:443] HttpListener::acceptConnection(): Accept failed:Too many open files in system!
2020-09-15 23:12:44.947971 [ERROR] [:443] HttpListener::acceptConnection(): Accept failed:Too many open files in system!
2020-09-15 23:12:44.947975 [ERROR] [:443] HttpListener::acceptConnection(): Accept failed:Too many open files in system!
2020-09-15 23:12:44.947979 [ERROR] [:443] HttpListener::acceptConnection(): Accept failed:Too many open files in system!
2020-09-15 23:12:44.947982 [ERROR] [:443] HttpListener::acceptConnection(): Accept failed:Too many open files in system!
2020-09-15 23:12:44.947986 [ERROR] [:443] HttpListener::acceptConnection(): Accept failed:Too many open files in system!
…
What happens and why does it happen?