Re: NNTPC: BAD juju

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> "Fred Peeterman" <fred@terratec.de> writes:
>
> > >
> > > The amount of shared memory (mmap) used is
> > > proportional to the total number of
> > > newsgroups in the active files of all servers
> > > nntpcache looks at -- not usage.
> >
> > Well, I have maxMmap cranked up to 48M, and I still get
> > nmalloc.c:14: XMcalloc call from xover.c:__LINE__ for 12 bytes failed
> >
> > Could this have something to do with this
> > error message on the client side:
> >
> > # 430 no overview.fmt for this server
> > #
> > # Configuration:
> > #    Account: 192.168.X.X
> > #    Server: 192.168.X.X
> > #    Protocol: NNTP
> > #    Port: 119
> > #    Secure(SSL): 0
> > #    Error Number: 430
> > #    Code: 800cccac
>
> It's extremely unlikely. Are you using linux?
>

Yes. a Debian distribution.
NNTP Version
My machine has 128 MB, of which squid uses 80MB

I use a 4 GB disk for the OS and
the nntpcache spool dir (only 27 MB)
and a second drive for the squid cache

My nntpcache.servers file:

# host:port              Interface    Active  Act.tim Newsgrp Group  Xover
Arts
news.profi.net.         10.34.74.8   4h      24h     2d      30m     60d
60d

# host:port              Interface    Active  Act.tim Newsgrp Group  Xover
Arts
news.3dfx.com.           10.34.74.8   24h     4d      4d      30m    60d
60d
cnews.corel.com.         10.34.74.8   24h     4d      4d      30m    60d
60d
forums.borland.com.      10.34.74.8   24h     4d      4d      30m    60d
60d
forums.powersoft.com.    10.34.74.8   24h     4d      4d      30m    60d
60d
miriam.fuller.edu.       10.34.74.8   24h     4d      4d      30m    60d
60d
news.linkexchange.com.   10.34.74.8   24h     4d      4d      30m    60d
60d
newsgroups.intel.com.    10.34.74.8   24h     4d      4d      30m    60d
60d
publicnews.msn.com.      10.34.74.8   24h     4d      4d      30m    60d
60d
secnews.netscape.com.    10.34.74.8   24h     4d      4d      30m    60d
60d
service.symantec.com.    10.34.74.8   24h     4d      4d      30m    60d
60d
telekolleg.be.schule.de. 10.34.74.8   24h     4d      4d      30m    60d
60d
##### news.nntpcache.org.  10.34.74.8    4h      24h     2d      30m     60d
60d

# the following line is magic. keep it.
%BeginGroups
*               news.profi.net.

nntpcache.*     news.nntpcache.org.

3dfx.*            news.3dfx.com.
borland.*         forums.borland.com.
corel.*           cnews.corel.com.
intel.*           newsgroups.intel.com.
le.*              news.linkexchange.com.
linux.*           miriam.fuller.edu.
msn.*             publicnews.msn.com.
people.*          secnews.netscape.com.
powersoft.*,sybase.*     forums.powersoft.com.
symantec.*        service.symantec.com.
schule.*          telekolleg.be.schule.de.

I just realized that I commented news.nntpcache.org out
but left the newsgroups in. Does this make a difference?

Also news.profi.net might actually have
some of the same news groups as the others?
Does that hurt or cause bad juju?
However, even if I only access newsgroups from
profi.net the error messages occur.

We currently have about 22800 newsgroups listed,
but I block the following:

<nocem@nntpcache>       *               read,quick
192.168.X.X             <http>          read,quick
# full access for our local network
192.168.*               *               read,post
localhost               *               read,post
# except for
*                       tempered.*      deny
# Remove all the unusefull and harmfull stuff
*                       *bainaries*     deny,strip
*                       *binaries*      deny,strip
*                       *sex*           deny,strip
*                       *erotica*       deny,strip
*                       *mp3*           deny,strip
*                       *gay*           deny,strip
*                       *lesbian*       deny,strip
*                       *porn*          deny,strip
<STDIN>                 *               read,post

Thanks for helping.

Best regards,

Fred Peeterman
Systems Administrator

------------------------------------------------------------
TerraTec Electronic GmbH,            Herrenpfad 38,
                                     41334 Nettetal,
                                     Germany
http://www.terratec.net              mailto:fred@terratec.de

These opinions are mine.             They may be yours;
they may be the company's.           Then again, maybe not.
------------------------------------------------------------




[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux