I have got "Too many open files" error on my server and after checking lsof I found huge number opened files for error logs.
Code:
lsof | grep /var/log/ispconfig | wc -l
150582
The server have ~ 1200 virtual hosts.
One line looks like this
Code:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
apache2 30294 www-data 615w REG 251,0 3276350 10237337 /var/log/ispconfig/httpd/myhost/error.log
and there are ~ 150 lines like this for single vhost.
What could cause this?
Recent comments
5 hours 6 min ago
6 hours 6 min ago
9 hours 53 min ago
11 hours 7 min ago
14 hours 43 min ago
21 hours 58 min ago
1 day 6 hours ago
1 day 8 hours ago
1 day 23 hours ago
2 days 1 hour ago