Re: Too many open files: newsx 1.4pl8

Thierry Thomas <[email protected]> Fri, 10 Jan 2003 18:47:46 +0100
Newsgroups gmane.network.newsx
Organization Kabbale Eros
Message-ID <[email protected]>
Le Ven 10 jan 03 =E0 17:11:52 +0100,
 Triebwasser, Mark <[email protected]> =E9crivait=A0:
> Has anyone had issues where newsx gets a "Too many open files" error?  =
I'm
> running newsx on a i386 FreeBSD machine.

No. I'm running newsx since FreeBSD 4.0, and I've never got this error.
However, it's quite common with a lot of applications...

> >inserting newsx path
> >newsx: can't open incoming spool
> "/usr/local/news/spool/incoming/.tmp.gig2.33553": Too many open files
> >transfer interrupted
> >latest article was 5080555
> >no spool to flush
> >state: pull: cleanup
> >no news is good news!
> >state: aborting server
> >->QUIT
> ><- 205 GoodBye
> >unlocked: /usr/local/news/run/L.33553
> >unlocked: /usr/local/news/run/LOCK.newsx.gig2
> >unlocked: /usr/local/news/run/LOCK.gig2
>=20
> Should I be changing the shell's limit or should I be doing a kernel
> rebuild?

It's not necessary to build a new kernel. Just have a look at the
Handbook, =A7 6.11.1.1 (or
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-k=
ernel-limits.html>).

What does `sysctl kern.maxfiles' report?
(here I have:
kern.maxfiles: 8192
)

If it's too small, just run=20
sysctl -w kern.maxfiles=3Dxxxx

Regards,
--=20
Th. Thomas.

-----------------------------------------------------------------------
This message has been sent to you because you are subcribed to the mailin=
g
list [email protected]. To remove yourself from this lists, send an emai=
l to
[email protected] containing "unsubscribe newsx <your_email_address>=
"
in the message body.