🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #28050

Re: DIABLO problems with FreeBSD-Current (3.0 as of ~April 20th)

#28050
From: Karl Denninger
Date: Thu, 07 May 1998 00:00
58 lines
3549 bytes
In article <6it719$ocg$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
>:>Basically, it looks like an lseek() is being done beyond the end of the file,
>:>and then data being written but not at the start of the buffer (ie: you lseek
>
>    I'm pretty sure it isn't an OS issue, unless you are running
>    FreeBSD-current instead of FreeBSD-stable.   We have FreeBSD-stable
>    (2.2.6) running on over 40 machines now, most medium loaded, and it's rock
>    solid.  And news1.best.com is FreeBSD-2.2.6 and also rock solid with
>    70+ full feeds going into it.
>
>    There's something else going on here, but I'll be damned if I know what.
>    What version of Diablo are you running ?  Of FreeBSD ?
>
>						-Matt

FreeBSD 3.0-current from ~April 21st (which is stable in a number of other
uses, including over a half-dozen INN and NNTP machines, NFS servers, etc).

We do a lot of our own internal stuff on the source tree with regards to
FreeBSD; I basically have to run -CURRENT of one flavor or another due to
internal requirmeents. :-)

Diablo 1.16 (server only; I'm not trying for the reader side yet)

I'm not convinced this is NOT an OS problem - not in the least.  To
"accidentially" produce what I am seeing in the filesystem by a coding botch
would require that the software either (1) seek to the end of the file, write
nulls in place of the data that was supposed to be written on the first call,
then write the real data, or (2) seek BEYOND the end of the file and start
writing in the *MIDDLE* of the data that was supposed to be written.

I rate the probability of either of these happening due to a Diablo bug to
be rather, uh, small. :-)

What I'd love to understand is the interaction between the various processes
and the system that is causing this.  

It makes no sense at all, I can't reproduce it in a test case, and worse, I
have not seen this in any of our other applications with the same kernel
(we're running our standard "news" kernel on this machine).

The only real difference in terms of configuration is that I'm using CCD
for the spool (per the recommendations) because its not worth burning a $3k
RAID controller on this application - I don't care if I lose the data in a
crash, as once its on the INN machine (which does have a RAID controller)
its "safe" from my point of view; the only people who can get hurt by the
loss of the disk then are news peers (who I hope have more than one feed!)

--
-- 
Karl Denninger (karl@MCS.Net)| MCSNet - Serving Chicagoland and Wisconsin
http://www.mcs.net/          | T1's from $600 monthly / All Lines K56Flex/DOV
			     | NEW! Corporate ISDN Prices dropped by up to 50%!
Voice: [+1 312 803-MCS1 x219]| EXCLUSIVE NEW FEATURE ON ALL PERSONAL ACCOUNTS
Fax:   [+1 312 803-4929]     | *SPAMBLOCK* Technology now included at no cost

Technical Details
Message-ID: <6it8uv$37k$1@Mars.mcs.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
References: <6isp36$rm2$1@Mars.mcs.net> <6it2m3$f15$1@flea.best.net> <6it3j2$1q2$1@Mars.mcs.net> <6it719$ocg$1@flea.best.net>

Show Full Headers
Complete Article Headers
Message-ID: <6it8uv$37k$1@Mars.mcs.net>
Subject: Re: DIABLO problems with FreeBSD-Current (3.0 as of ~April 20th)
Date: Thu, 07 May 1998 00:00:00 +0000
From: karl@MCS.COM (Karl Denninger)
References: <6isp36$rm2$1@Mars.mcs.net> <6it2m3$f15$1@flea.best.net> <6it3j2$1q2$1@Mars.mcs.net> <6it719$ocg$1@flea.best.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: 351231056
Distribution: inet
Organization: /usr/lib/news/organi[sz]ation
Newsgroups: news.software.nntp