🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18764

Re: actived

#18764
From: Mark Hittinger
Date: Thu, 26 Jun 1997 00:00
33 lines
2282 bytes
"R. Joyner" <rjoyner@ais.net> writes:
>> > fcntl(5, F_SETLK, 0xEFFFF284)                   Err#11 EAGAIN
>> You haven't said what file is descriptor 5.  fcntl will get an EAGAIN if
>> it tries to work on an already-locked file, so it would help if you could
>> tell what file is open as number 5.  Methinks this might have something to
>> do with my replacement of the daemon() call with a fork().
>It looks like FD 5 is the active file...I'm going to have to truss it
>again to make sure.  The man page for fcntl() is a bit vague on which

This would make a lot of sense.  I tested actived under very heavy load
a couple of weeks ago and it eventually hung.  I also logged a lot of
errors from nnrpd's receiving packets with a sequence id that they were
not expecting.

This is under Solaris 2.5.  It may be that the actived use of udp packets
really isn't going to work under load on Solaris.  I'm worried about dropped
packets under load.  Haven't done enough work on it to be sure yet.

We are working on a different technique that involves nnrpd mmap'ing the 
active file and mmap'ing a pre-built hash file (i.e., actived just creates
a hash file for the nnrpd's).

I also am very appreciative of Joe's work (and anyone else stubborn enough
to continue working on inn :-) ).

Regards,

Mark Hittinger
Netcom/Dallas
bugs@freebsd.netcom.com

Technical Details
Message-ID: <5ou6lb$1bm@dfw-ixnews1.ix.netcom.com>
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
References: <33A6B41D.3382@iconnet.net> <33A968C6.2C67@raleigh.ibm.com> <5oc0in$11p$1@earth.execpc.com> <33A98953.6EEA@raleigh.ibm.com> <5oeh5s$rgk$1@earth.execpc.com> <5opppm$i2p$1@news.wco.com> <5opspf$2mt$1@synthemesc.insync.net> <5oqdqa$opu$1@news.wco.com> <5orasp$900$2@synthemesc.insync.net> <33B14F18.7298@ais.net> <5os14e$c87$1@synthemesc.insync.net> <33B29529.6C34@ais.net>

Show Full Headers
Complete Article Headers
Message-ID: <5ou6lb$1bm@dfw-ixnews1.ix.netcom.com>
Subject: Re: actived
Date: Thu, 26 Jun 1997 00:00:00 +0000
From: bugs@freebsd.netcom.com (Mark Hittinger)
References: <33A6B41D.3382@iconnet.net> <33A968C6.2C67@raleigh.ibm.com> <5oc0in$11p$1@earth.execpc.com> <33A98953.6EEA@raleigh.ibm.com> <5oeh5s$rgk$1@earth.execpc.com> <5opppm$i2p$1@news.wco.com> <5opspf$2mt$1@synthemesc.insync.net> <5oqdqa$opu$1@news.wco.com> <5orasp$900$2@synthemesc.insync.net> <33B14F18.7298@ais.net> <5os14e$c87$1@synthemesc.insync.net> <33B29529.6C34@ais.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: 252769548
Organization: Netcom
X-NETCOM-Date: Thu Jun 26 11:50:54 AM CDT 1997
Newsgroups: news.software.nntp