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
LFD Dies if num log files exceed file descriptor limits
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: LFD Dies if num log files exceed file descriptor limits
This has been implemented in csf v8.00:
http://blog.configserver.com/
http://blog.configserver.com/
Re: LFD Dies if num log files exceed file descriptor limits
Great work Chirpy. CSF 8.0 looks awesome!
Re: LFD Dies if num log files exceed file descriptor limits
Thanks! I caught that in the changelog Nice to see all the IPv6 additions as well!