Article View: news.software.nntp
Article #53236Re: CNFSflushhead: write failed (-1 bytes): Bad file descriptor
From: Alex Kiernan
Date: Wed, 11 Jul 2001 13:27
Date: Wed, 11 Jul 2001 13:27
31 lines
2396 bytes
2396 bytes
Russ Allbery <rra@stanford.edu> writes: > Roland Jesse <jesse@cs.uni-magdeburg.de> writes: > > > Isn't it possible that this is caused by something else than the file > > descriptor limit? The error occurs at the *first* cycbuff the server > > tries to initialise. > > What I don't understand is why innfeed wouldn't be able to initialize the > storage subsystem when innd presumably managed fine. Is there some sort > of system-wide file descriptor limit that you're running into? (Are you > using tradindexed? How big is your fd cache if you are? How many total > cycbuffs do you have?) > I don't think it can be an fdlimit issue... if it hadn't managed to open the file it should have logged "ERROR opening '...'". My reading says the file has opened (and been opened O_RDONLY), the write then fails (the code does this, write to read only fds), so it must think the header is bogus. Drop a debugger on it, stop in CNFSinit_disks and print out *rpx after the read. I guess a useful debugging change would be to log rpx.magic if we don't like what we see. -- Alex Kiernan, Principal Engineer, Development, Thus PLC
Technical Details
Message-ID:
<72wv5ffve9.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!skynet.be!dispose.news.demon.net!news.demon.co.uk!demon!nd1.eng.demon.net!not-for-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <72wv5ffve9.fsf@nd1.eng.demon.net> Subject: Re: CNFSflushhead: write failed (-1 bytes): Bad file descriptor Date: Wed, 11 Jul 2001 13:27:42 +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> 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!skynet.be!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 994858062 nnrp-13:4847 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: 30