🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53261

Re: CNFSflushhead: write failed (-1 bytes): Bad file descriptor

#53261
From: Alex Kiernan
Date: Thu, 12 Jul 2001 09:22
32 lines
2500 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> Alex Kiernan <alexk@demon.net> writes:
> 
> > OK, so they're definately not getting initialised; can you grab a
> > similar chunk from when innd starts up?
> 
> I would love to, but innd does not seem to try to open cycbuff
> /articles/one. Output from "ktrace innd":
> 

You need to trace the forked process (or run with -d), the storage
manager doesn't get initialised until after the fork.

> I don't know about all these /dev/null open()s.

They're innd reserving fds so that outgoing feeds don't eat too many.

> But innd is not even trying to open /articles et al but only
> /var/spool/news/articles. That's probably because of
> 
>         patharticles:           /var/spool/news/articles
> 
> in inn.conf. But isn't that value supposed to be used for storage
> methods other than CNFS, only? There is a innd core file in
> /var/spool/news/articles.

It changes directory into there.

-- 
Alex Kiernan, Principal Engineer, Development, Thus PLC
Technical Details
Message-ID: <72k81epkm3.fsf@nd1.eng.demon.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!nd1.eng.demon.net!not-for-mail
References: <0vd77afhon.fsf@cs.uni-magdeburg.de> <20010709.220953.105575579.10056@franconews.org> <0vhewldsdz.fsf@cs.uni-magdeburg.de> <9ieom9$r3g$2@marduk.litech.org> <0vd778dexv.fsf@cs.uni-magdeburg.de> <yld778x0h0.fsf@windlord.stanford.edu> <72wv5ffve9.fsf@nd1.eng.demon.net> <0v4rsjmtll.fsf@cs.uni-magdeburg.de> <72d776oicx.fsf@nd1.eng.demon.net> <0v3d82345g.fsf@cs.uni-magdeburg.de>

Show Full Headers
Complete Article Headers
Message-ID: <72k81epkm3.fsf@nd1.eng.demon.net>
Subject: Re: CNFSflushhead: write failed (-1 bytes): Bad file descriptor
Date: Thu, 12 Jul 2001 09:22:44 +0000
From: Alex Kiernan <alexk@demon.net>
References: <0vd77afhon.fsf@cs.uni-magdeburg.de> <20010709.220953.105575579.10056@franconews.org> <0vhewldsdz.fsf@cs.uni-magdeburg.de> <9ieom9$r3g$2@marduk.litech.org> <0vd778dexv.fsf@cs.uni-magdeburg.de> <yld778x0h0.fsf@windlord.stanford.edu> <72wv5ffve9.fsf@nd1.eng.demon.net> <0v4rsjmtll.fsf@cs.uni-magdeburg.de> <72d776oicx.fsf@nd1.eng.demon.net> <0v3d82345g.fsf@cs.uni-magdeburg.de>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!nd1.eng.demon.net!not-for-mail
Newsgroups: news.software.nntp
Sender: alexk@nd1.eng.demon.net
NNTP-Posting-Host: nd1.eng.demon.net
X-NNTP-Posting-Host: nd1.eng.demon.net:194.217.90.2
X-Trace: news.demon.co.uk 994929765 nnrp-02:9182 NO-IDENT nd1.eng.demon.net:194.217.90.2
X-Complaints-To: abuse@demon.net
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Canyonlands)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 31