kern.maxfiles exceeded soon after KDE or Gnome started

Dominic Marks dom at helenmarks.co.uk
Fri Oct 20 13:41:25 UTC 2006


On Fri, 20 Oct 2006 14:11:30 +0200
martinko <gamato at pobox.sk> wrote:

> Hello list,
> 
> I've installed KDE 3.5.4 and Gnome 2.14 on a new GENERIC installation of
> 6.2-PRERELEASE.
> Both desktop environments syslog error about exceeding kern.maxfiles
> limit soon after their started.
> While with Window Maker and many open apps, and even with Xfce 4.2, I
> usually have between 200 to 500 kern.openfiles, kern.maxfiles (defaults
> to 1064) is obviously too low for KDE/Gnome or I'm running into an issue
> or sth.
> As I haven't noticed recommendation on kern.maxfiles on project pages
> nor during installation of the ports, I'd like to ask the community what
> are the sane recommended numbers ??

I don't know about sane, but I set maxfiles to 30000+ on my
systems. Never noticed huge memory waste because of it. You can
find a sane level yourself by starting at 2000 and work upward
until you reach a level when it is no longer a problem.

Dominic

> Regards,
> 
> Martin
> 
> PS: Please CC me as I'm not on the lists.
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"


More information about the freebsd-gnome mailing list