View Single Post
  #1  
Old 7th November 2012, 15:56
Ventzy Ventzy is offline
Junior Member
 
Join Date: Jan 2010
Posts: 17
Thanks: 3
Thanked 2 Times in 2 Posts
Default Huge number openned log files

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?
Reply With Quote
Sponsored Links