Article View: news.software.nntp
Article #2540Re: INN 1.4sec on Dell v2.2
From: Peter Wemm
Date: Tue, 26 Apr 1994 13:14
Date: Tue, 26 Apr 1994 13:14
51 lines
3002 bytes
3002 bytes
tal@Warren.MENTORG.COM (Tom Limoncelli) writes:
>In <2p5dfv$bt6@plato.ucsalf.ac.uk> mark@ucsalf.ac.uk (Mark Powell) writes:
>>complete. Now do I have to set HAVE_UNIX_DOMAIN to DONT??? I was under
>>the impression that Dell had unix domain sockets?
>It has them, but they are broken! Isn't SVR4 grand? DONT
>is the proper setting.
Correct. The ^%$#^$ socket driver in native SVR4/386 2.0 and higher
has a bug that's obvious even from a disassembly: The close function
for a socket is unconditionally removing *all* sockets from a linked
list that contains *only* AF_UNIX sockets. ie: as soon as you close a
internet domain socket elsewhere on the system, the linked list of
active unix domain sockets is severed. *very* annoying.
There also seems to be a bug in the socket library:
/usr/lib/libsocket.so where each time a socket() or accept() to create
an af_unix socket, it malloc()'s a 4K data buffer. The cute part is
that the socket does not intercept the close() call (with a weak
function) to free this after use. *extremely* annoying. However, a
user-level program can work around this. The first problem cannot.
>>And, does Dell mmap update the active file mod time? I can see articles
>>coming into the history and the time isn't moded as the come in, but
>>seems to be updated much less regularly.
>I don't know. I hear that at least one version of SVR4 doesn't. Maybe
>Dell doesn't either.
Correct. I've complained about this also. It appears to be a problem
on all SVR4/386 versions. SVR4.2 may have fixed this by now.
The only time the active file gets updated is to use a write() system
call on it.
>Tom
>--
>Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
>"Psst! Hey, Anthony! Y'know what I | Disclaimer: I do not
>like about existing?" "Uh... uh... what?" | speak for Mentor Graphics.
>"Possessing a physical extension." -TSA |
-Peter
--
Peter Wemm <peter@DIALix.oz.au> - NIC Handle: PW65 - The keeper of "NN"
"My computer is better than your computer" - Anonymous
(Overheard, shortly after the creation of the second computer....)
Technical Details
Message-ID:
<2pj440$lm2$1@gecko.DIALix.oz.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.sys5.r4.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!agate!ihnp4.ucsd.edu!munnari.oz.au!news.uwa.edu.au!DIALix!not-for-mailReferences:
<2p5dfv$bt6@plato.ucsalf.ac.uk> <2pfj7d$bat$1@sdl.Warren.MENTORG.COM>Show Full Headers
Complete Article Headers
Message-ID: <2pj440$lm2$1@gecko.DIALix.oz.au> Subject: Re: INN 1.4sec on Dell v2.2 Date: Tue, 26 Apr 1994 13:14:40 +0000 From: peter@gecko.DIALix.oz.au (Peter Wemm) References: <2p5dfv$bt6@plato.ucsalf.ac.uk> <2pfj7d$bat$1@sdl.Warren.MENTORG.COM> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.sys5.r4.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!agate!ihnp4.ucsd.edu!munnari.oz.au!news.uwa.edu.au!DIALix!not-for-mail Newsgroups: news.software.nntp,comp.unix.sys5.r4 Organization: DIALix Services, Melbourne, Australia. Lines: 50 Sender: peter@gecko.DIALix.oz.au Distribution: inet X-Newsreader: NN version 6.5.0 #59 (NOV)