Triebwasser, Mark wrote:
Has anyone had issues where newsx gets a "Too many open files" error?  I'm
running newsx on a i386 FreeBSD machine.

I've had that problem with FreeBSD 4.5 and newsx 1.5 pre.

From the FreeBSD handbook...

"6.11.1.1 kern.maxfiles

kern.maxfiles can be raised or lowered based upon your system requirements. This variable indicates the maximum number of file
descriptors on your system. When the file descriptor table is full, ``file: table is full'' will show up repeatedly in the system message
buffer, which can be viewed with the dmesg command.

Each open file, socket, or fifo uses one file descriptor. A large-scale production server may easily require many thousands of file
descriptors, depending on the kind and number of services running concurrently.

kern.maxfile's default value is dictated by the MAXUSERS option in your kernel configuration file. kern.maxfiles grows proportionally to
the value of MAXUSERS. When compiling a custom kernel, it is a good idea to set this kernel configuration option according to the uses of
your system. From this number, the kernel is given most of its pre-defined limits. Even though a production machine may not actually have
256 users connected as once, the resources needed may be similar to a high-scale web server.

Note: As of FreeBSD 4.5, setting MAXUSERS to 0 in your kernel configuration file will choose a reasonable default value based
on the amount of RAM present in your system."

-----------------------------------------------------------------------
This message has been sent to you because you are subcribed to the mailing
list [EMAIL PROTECTED] To remove yourself from this lists, send an email to
[EMAIL PROTECTED] containing "unsubscribe newsx <your_email_address>"
in the message body.

Reply via email to