🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by T. William Wells Tue, 28 Jan 1997 00:00
problem with shared active patch, unoff4, FreeBSD2.1.5
#14546
Author: T. William Wells
Date: Tue, 28 Jan 1997 00:00
9 lines
807 bytes
I applied the sharedactive patch to my unoff4 system on
FreeBSD2.1.5. I've ended up with a bunch of nnrpds that hang
around indefinitely, though they can be killed. Anyone seen this
problem? Used sharedactive on FreeBSD2.1.5? It *could* be the
various hacks I've done to nnrpd. Or....?


Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#14525
Author: Gary Palmer
Date: Tue, 28 Jan 1997 00:00
27 lines
1765 bytes
In article <5cll0q$6lf@twwells.com>,
	bill@twwells.com (T. William Wells) writes:
> I applied the sharedactive patch to my unoff4 system on
> FreeBSD2.1.5. I've ended up with a bunch of nnrpds that hang
> around indefinitely, though they can be killed. Anyone seen this
> problem? Used sharedactive on FreeBSD2.1.5? It *could* be the
> various hacks I've done to nnrpd. Or....?

mmap() on pre 2.2 platforms for FreeBSD is known not to work 100% of
the time. If, however, they are hanging in semwait, that is another
matter, and a friend has reported it to me as occurring on his FreeBSD
2.2-BETA system, but I haven't seen it on mine yet...

I probably have less hacks in nnrpd too ... look in dmesg and system
log files for unusual exit conditions. That could cause the semaphore
to get stuck and wedge the rest of the nnrpds. However, until I see it
locally I can't really comment :-(

(apart from to say upgrade to 2.2-REL when it comes out ... the system
 should be noticably faster, in theory. mmap() is more stable too)

Gary
(yes, the one from the FreeBSD core :-) )


Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#14629
Author: Alan Brown
Date: Fri, 31 Jan 1997 00:00
22 lines
1523 bytes
In article <5cll0q$6lf@twwells.com>, T. William Wells <bill@twwells.com> wrote:
>I applied the sharedactive patch to my unoff4 system on
>FreeBSD2.1.5. I've ended up with a bunch of nnrpds that hang
>around indefinitely, though they can be killed. Anyone seen this
>problem? Used sharedactive on FreeBSD2.1.5? It *could* be the
>various hacks I've done to nnrpd. Or....?

When this happened on my Linux system I traced it to select( blocking in 
syslogd.

Try compiling up the latest syslogd and see if that helps.

AB

-- 
o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
  "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html
o Junk email returned, in bulk, back to sender; w/copies to all postmasters.
o Received junkmail constitutes a request for aggressive site security probing.

Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#15026
Author: T. William Wells
Date: Thu, 13 Feb 1997 00:00
21 lines
1474 bytes
In article <5du52t$f1u$1@host-3.cyberhighway.net>,
Art Mills <aem@cyberhighway.net> wrote:
: get a newer version of the patch

Whatever for? The patch is a wrongheaded implementation of a good
idea. Besides which, I compared the latest available version and
the only thing I found changed was a small bugfix, which I had
already found and fixed on my own.

I decided that, instead of that overly complex code that makes up
the sharedactive patch -- and which requires SysV shared memory --
and which also requires keeping random data about the active file
outside the shared area -- a better approach is an "active file
daemon". So now I have a little UDP-based active file server which
responds to queries with cached active file data.

Works quite well and my nnrpds are all ~300K; the active file
daemon is but 1.6M....

Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#15037
Author: Art Mills
Date: Thu, 13 Feb 1997 00:00
25 lines
1593 bytes
Alan Brown (alan@news.manawatu.gen.nz) wrote:
: In article <5cll0q$6lf@twwells.com>, T. William Wells <bill@twwells.com> wrote:
: >I applied the sharedactive patch to my unoff4 system on
: >FreeBSD2.1.5. I've ended up with a bunch of nnrpds that hang
: >around indefinitely, though they can be killed. Anyone seen this
: >problem? Used sharedactive on FreeBSD2.1.5? It *could* be the
: >various hacks I've done to nnrpd. Or....?

: When this happened on my Linux system I traced it to select( blocking in 
: syslogd.

: Try compiling up the latest syslogd and see if that helps.

: AB

: -- 
: o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
:   "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html
: o Junk email returned, in bulk, back to sender; w/copies to all postmasters.
: o Received junkmail constitutes a request for aggressive site security probing.

get a newer version of the patch 

Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#15046
Author: Supak Lailert
Date: Thu, 13 Feb 1997 00:00
17 lines
1182 bytes
T. William Wells <bill@twwells.com> wrote:

: Whatever for? The patch is a wrongheaded implementation of a good
: idea. Besides which, I compared the latest available version and

Matt Dillon's MMAP patch works great here. Assuming that your OS has a
functional mmap().

Supak

--
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
   >> Supak Lailert -- lailert@slip.net                               >>
  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#15053
Author: Matt Dillon
Date: Fri, 14 Feb 1997 00:00
26 lines
1407 bytes
:In article <5e04if$f1b$2@owl.slip.net>,
:Supak Lailert  <lailert@slip.net> wrote:
:>T. William Wells <bill@twwells.com> wrote:
:>
:>: Whatever for? The patch is a wrongheaded implementation of a good
:>: idea. Besides which, I compared the latest available version and
:>
:>Matt Dillon's MMAP patch works great here. Assuming that your OS has a
:>functional mmap().
:>
:>Supak
:>
:>--
:>    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
:>   >> Supak Lailert -- lailert@slip.net                               >>
:>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

    which, p.s., in case people missed it, can be found at:

    http://www.backplane.com/news/

					-Matt


Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#15089
Author: Matthew Ward
Date: Sun, 16 Feb 1997 00:00
29 lines
1870 bytes
T. William Wells wrote:
> 
> In article <5du52t$f1u$1@host-3.cyberhighway.net>,
> Art Mills <aem@cyberhighway.net> wrote:
> : get a newer version of the patch
> 
> Whatever for? The patch is a wrongheaded implementation of a good
> idea. Besides which, I compared the latest available version and
> the only thing I found changed was a small bugfix, which I had
> already found and fixed on my own.
> 
> I decided that, instead of that overly complex code that makes up
> the sharedactive patch -- and which requires SysV shared memory --
> and which also requires keeping random data about the active file
> outside the shared area -- a better approach is an "active file
> daemon". So now I have a little UDP-based active file server which
> responds to queries with cached active file data.
> 
> Works quite well and my nnrpds are all ~300K; the active file
> daemon is but 1.6M....

My GOD!  Beautiful!  Are you willing to SHARE this?!?

--
"One will not have needed the Future Perfect in one's entire life" -
William Safire.            /\/\ a tt == mward@gte.net == Alpha Geek

Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#15424
Author: Aaron Sims
Date: Fri, 28 Feb 1997 00:00
44 lines
2042 bytes
Matt Dillon wrote:
> 
> :In article <5e04if$f1b$2@owl.slip.net>,
> :Supak Lailert  <lailert@slip.net> wrote:
> :>T. William Wells <bill@twwells.com> wrote:
> :>
> :>: Whatever for? The patch is a wrongheaded implementation of a good
> :>: idea. Besides which, I compared the latest available version and
> :>
> :>Matt Dillon's MMAP patch works great here. Assuming that your OS has a
> :>functional mmap().
> :>
> :>Supak
> :>
> :>--
> :>    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> :>   >> Supak Lailert -- lailert@slip.net                               >>
> :>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
>     which, p.s., in case people missed it, can be found at:
> 
>     http://www.backplane.com/news/
> 
>                                         -Matt

I have a problem with this patch.  All of my nnrpd processes
are chewing up CPU cycles like mad.  I patched this against
INN-1.5.1 on a Solaris 2.5.1 system.  The system is an Ultra 1
with 512MB ram and a 55GB news spool.  The active file is about
1.1 MB.  

Any ideas?

Thanks,
Aaron
-- 
Aaron M. Sims           | Tact, n.
BellSouth.net           |       The unsaid part of what you're 
aaron.sims@bellsouth.net|       thinking.
Systems Engineer        | Copywight 1996 Elmer Fudd. All wights
wesewved.

Re: problem with shared active patch, unoff4, FreeBSD2.1.5
#15433
Author: Aaron Sims
Date: Fri, 28 Feb 1997 00:00
45 lines
2119 bytes
Matt Dillon wrote:
> 
> :In article <5e04if$f1b$2@owl.slip.net>,
> :Supak Lailert  <lailert@slip.net> wrote:
> :>T. William Wells <bill@twwells.com> wrote:
> :>
> :>: Whatever for? The patch is a wrongheaded implementation of a good
> :>: idea. Besides which, I compared the latest available version and
> :>
> :>Matt Dillon's MMAP patch works great here. Assuming that your OS has a
> :>functional mmap().
> :>
> :>Supak
> :>
> :>--
> :>    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> :>   >> Supak Lailert -- lailert@slip.net                               >>
> :>  >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> 
>     which, p.s., in case people missed it, can be found at:
> 
>     http://www.backplane.com/news/
> 
>                                         -Matt

I have a problem with this patch.  All of my nnrpd processes
are chewing up CPU cycles like mad.  I patched this against
INN-1.5.1 on a Solaris 2.5.1 system.  The system is an Ultra 1
with 512MB ram and a 55GB news spool.  The active file is about
1.1 MB.  The load on the system is hovering around 20 with
90 reader processes going.

Any ideas?

Thanks,
Aaron
-- 
Aaron M. Sims           | Tact, n.
BellSouth.net           |       The unsaid part of what you're 
aaron.sims@bellsouth.net|       thinking.
Systems Engineer        | Copywight 1996 Elmer Fudd. All wights
wesewved.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads