🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #33003

diablo + FreeBSD 2.2.7 + maximum file descriptors

#33003
From: Jerome Feuillade
Date: Wed, 18 Nov 1998 00:00
26 lines
1387 bytes
Hi,

I'm using Diablo 1.20 with FreeBSD 2.2.7. I tuned my kernel and my
limits are fine (sysctl, login.conf, ...).

I actually have 60 feeds and all was running well until a few days. I
find now a lot of "Maximum file descriptors exceeded" in my logs.

I examined the code and found the message in diablo.c. I guess the
problem is with the pipe or MAXFDS. I didn't tried to recompile to
look at the pipe's return value, but for information MAXFDS is set to
FD_SETSIZE (via the #if in lib/defs.h, which is 256 for 2.2.7).

Can someone confirm those facts ?

Is there a problem to increase MAXFDS in lib/defs.h or a way to
correct the problem with the pipe ? And if I'm completly wrong how can
I kill the problem ?

TIA
-- 
------------- Think different, Think UNIX -------------
Jerome Feuillade          E-mail: jfeuillade@isdnet.net
tel: (33)01.53.74.63.42   ISDnet Sys Adm

Technical Details
Message-ID: <x71zn1lx60.fsf@heinlein.isdnet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <x71zn1lx60.fsf@heinlein.isdnet.net>
Subject: diablo + FreeBSD 2.2.7 + maximum file descriptors
Date: Wed, 18 Nov 1998 00:00:00 +0000
From: Jerome Feuillade <jfeuillade@isdnet.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 412945136
Newsgroups: news.software.nntp