FreeBSD 5.3 and too many files open...

Axel.Gruner at Axel.Gruner at
Wed Mar 23 00:04:45 PST 2005


i run into a problem on a FreeBSD 5.3-STABLE Applicationserver (2GB of RAM,
4GB Swap, Dual XEON 3.06Ghz).
The box serves the "xfrce4-panel" for 80 Network Clients via ssh so the
Users can start and firefox from that panel.
It is goin very well, except a message (and also a problem) i run into the
last day.
If i tried to open firefox from a networkclient and received the message
"too many files open...". I saw that message on 3 different Network Clients
and just after a fresh configure and the first time starting firfox on
these Networkclients with that UID.

I checked my configuration on the server about "openfiles":


netstat -m
3952 mbufs in use
732/64000 mbuf clusters in use (current/max)

"fstat" shows me 393 on User A and on User B 3459. I did not check the
other users.

kern.maxfilesperproc: 5898
kern.maxusers: 384

My /boot/loader.conf looks like:

So i do not get it, imho the configuration is just fine, but why do i get
the message "too many files open..."?

 Thanks in advance

More information about the freebsd-performance mailing list