Page 1 of 1

LFD Dies if num log files exceed file descriptor limits

Posted: 30 Jun 2015, 22:58
by websavers
Hi there,

I'm on a stock CentOS6 system and have configured csf to read all Plesk domain logs via file globbing. This works great generally, but on some servers with more than roughly 150 or so domains (particularly when we've got nginx and apache running), LFD is reading in a large number of log files and exceeding the default 1024 per user limit.

My temporary fix for this has worked great: edit /etc/init.d/lfd and add in this: 'ulimit -n 4096' between lines 44 and 45. The only downside to this is that the init script keeps getting overwritten upon CSF updates!

Would it be possible to get this modification included in future updates?

Thanks for considering!

Jordan

Re: LFD Dies if num log files exceed file descriptor limits

Posted: 13 Jul 2015, 17:16
by ForumAdmin
This has been implemented in csf v8.00:
http://blog.configserver.com/

Re: LFD Dies if num log files exceed file descriptor limits

Posted: 13 Jul 2015, 17:45
by marcele
Great work Chirpy. CSF 8.0 looks awesome!

Re: LFD Dies if num log files exceed file descriptor limits

Posted: 14 Jul 2015, 00:45
by websavers
Thanks! I caught that in the changelog :) Nice to see all the IPv6 additions as well!