LFD Dies if num log files exceed file descriptor limits

Post Reply
websavers
Junior Member
Posts: 17
Joined: 04 Sep 2013, 13:46

LFD Dies if num log files exceed file descriptor limits

Post 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
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

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

Post by ForumAdmin »

This has been implemented in csf v8.00:
http://blog.configserver.com/
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

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

Post by marcele »

Great work Chirpy. CSF 8.0 looks awesome!
websavers
Junior Member
Posts: 17
Joined: 04 Sep 2013, 13:46

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

Post by websavers »

Thanks! I caught that in the changelog :) Nice to see all the IPv6 additions as well!
Post Reply