🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Paul D. Smith Mon, 31 Aug 1998 00:00
inn 2.x and newgroup spam?
#31019
Author: Paul D. Smith
Date: Mon, 31 Aug 1998 00:00
53 lines
3448 bytes
Bleah.  Unhappy couple of days.  After the first batch I installed
cleanfeed (my load on my Solaris 2.5.1 system [INN 2.0] was up over 300
at times--scripts were running out of memory, things were throttling; a
bad scene).  That didn't help for the second, so I installed cch.  That
seems to have done the trick with this latest batch.  A few notes:

  * My measly SunOS 4.1.4 system running 1.7.2 weathered this storm
    _MUCH_ better than my dual-cpu Solaris system :-/.  Don't quite
    understand it.  It was heavily loaded, but it didn't seem to
    generate the same level of destruction.  Some difference between 2.x
    and 1.7.x?

  * During the spate on Saturday, after cleanfeed but before cch, I
    actually had 5 groups created, although I'm _assuming_ they had
    invalid PGP sigs.  I also had about 12 newgroup email messages where
    the group wasn't created but asked me to do so, even though none of
    my control.ctl newgroup entries are set to mail.

    I'm assuming that since the system was running out of memory, some
    programs that the newgroup script was running were failing, and it
    wasn't handling that failure properly.

  * I'm seeing a problem with innfeed.  It's got a ton of defunct
    children processes (134 right now), and it gets more constantly.
    It's feeding only the SunOS system, which appears to be running OK.
    I didn't see this before this spate of newgroups started.  I can
    shutdown, then innfeed dies and all the defunct processes go away.
    But as soon as I start everything, they start appearing again.  I
    see nothing of interest in the innfeed.log (empty) or status files.

    I do see a _lot_ of these messages in news.notice (many more than
    134):

      Aug 30 03:00:24 delivery innfeed[2821]: ME flushing tapes

    but I can't find anything about what that means.  I tried shutting
    down then removing everything in the spool/innfeed directory, but
    that didn't help.  I tried installing innfeed from 2.1 (I can't
    install full 2.1 for the moment, due to political reasons I hope to
    resolve next week) and removing the -y from the startinnfeed line in
    newsfeeds, but that didn't help either (yes, startinnfeed is setuid
    root :).

    Any ideas?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
     These are my opinions--Bay Networks takes no responsibility for them.

Re: inn 2.x and newgroup spam?
#30986
Author: Fluffy
Date: Mon, 31 Aug 1998 00:00
35 lines
2376 bytes
Paul D. Smith <psmith@baynetworks.com> wrote:
>   * My measly SunOS 4.1.4 system running 1.7.2 weathered this storm
>     _MUCH_ better than my dual-cpu Solaris system :-/.  Don't quite
>     understand it.  It was heavily loaded, but it didn't seem to
>     generate the same level of destruction.  Some difference between 2.x
>     and 1.7.x?

Are you using one of the new fast storage methods, or does the bigger
server simply have storage hardware that kicks more butt?  Control
message floods are one of the few times when it's *good* to have a
bottleneck, since innd is single threaded and this will naturally limit
the number of control processes that can be forked all at once.

>   * During the spate on Saturday, after cleanfeed but before cch, I
>     actually had 5 groups created, although I'm _assuming_ they had
>     invalid PGP sigs.  I also had about 12 newgroup email messages where
>     the group wasn't created but asked me to do so, even though none of
>     my control.ctl newgroup entries are set to mail.
>
>     I'm assuming that since the system was running out of memory, some
>     programs that the newgroup script was running were failing, and it
>     wasn't handling that failure properly.

There are some bugs in parsecontrol, but inconsistent behavior on
otherwise similar messages suggests that you ran out of system
resources (good luck figuring out which ones after that fact!).  You're
not the only one to have seen this behavior; most unices just aren't
able to handle fork bombs gracefully.

>   * I'm seeing a problem with innfeed.

I'm not, so I'll ignore this =)


Re: inn 2.x and newgroup spam?
#30991
Author: jeff
Date: Mon, 31 Aug 1998 00:00
56 lines
3042 bytes
Same here.  My INN 1.4 machine made it through fine.  INN 2.1 burped and choked until I dropped
all nerwgroup, rmgroup and the like messages under control.ctl.  Even cleanfeed only helped
somewhat.  The INN 1.4 machine doesn't run cleanfeed and had the same control.ctl file.  It
does appear to be related to parsing though.

Jeff Binkley
ASA Network Computing


-------------------------------------------------

Paul D. Smith <psmith@baynetworks.com> wrote:
>   * My measly SunOS 4.1.4 system running 1.7.2 weathered this storm
>     _MUCH_ better than my dual-cpu Solaris system :-/.  Don't quite
>     understand it.  It was heavily loaded, but it didn't seem to
>     generate the same level of destruction.  Some difference between 2.x
>     and 1.7.x?

Are you using one of the new fast storage methods, or does the bigger
server simply have storage hardware that kicks more butt?  Control
message floods are one of the few times when it's *good* to have a
bottleneck, since innd is single threaded and this will naturally limit
the number of control processes that can be forked all at once.

>   * During the spate on Saturday, after cleanfeed but before cch, I
>     actually had 5 groups created, although I'm _assuming_ they had
>     invalid PGP sigs.  I also had about 12 newgroup email messages where
>     the group wasn't created but asked me to do so, even though none of
>     my control.ctl newgroup entries are set to mail.
>
>     I'm assuming that since the system was running out of memory, some
>     programs that the newgroup script was running were failing, and it
>     wasn't handling that failure properly.

There are some bugs in parsecontrol, but inconsistent behavior on
otherwise similar messages suggests that you ran out of system
resources (good luck figuring out which ones after that fact!).  You're
not the only one to have seen this behavior; most unices just aren't
able to handle fork bombs gracefully.

>   * I'm seeing a problem with innfeed.

I'm not, so I'll ignore this =)

-------------------------------------

Name: Jeff Binkley
E-mail: jeff@asacomp.com
Date: 08/31/98 Time: 09:35:07

-------------------------------------



Re: inn 2.x and newgroup spam?
#31010
Author: Paul D. Smith
Date: Mon, 31 Aug 1998 00:00
41 lines
2475 bytes
%% sendsys@MEOW.org (Fluffy) writes:

  f> Are you using one of the new fast storage methods, or does the bigger
  f> server simply have storage hardware that kicks more butt?

The latter (my feed is small enough [just the Big 8 and ne.*, gnu.*, and
a few others] that I don't want to or need to deal with CNFS :).

  f> Control message floods are one of the few times when it's *good* to
  f> have a bottleneck, since innd is single threaded and this will
  f> naturally limit the number of control processes that can be forked
  f> all at once.

Good point.

  f> There are some bugs in parsecontrol, but inconsistent behavior on
  f> otherwise similar messages suggests that you ran out of system
  f> resources (good luck figuring out which ones after that fact!).  You're
  f> not the only one to have seen this behavior; most unices just aren't
  f> able to handle fork bombs gracefully.

Oh, I wasn't really interested in trying to track it... just noting this
as a word of caution to others who might have had groups created and not
noticed.

  >> * I'm seeing a problem with innfeed.

  f> I'm not, so I'll ignore this =)

Bummer, this is the one I really need help with :)

Still got lots of defuncts...

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
     These are my opinions--Bay Networks takes no responsibility for them.

Re: inn 2.x and newgroup spam?
#31038
Author: Chris A. Epler
Date: Mon, 31 Aug 1998 00:00
19 lines
1787 bytes
Paul D. Smith <psmith@baynetworks.com> wrote:
> %% sendsys@MEOW.org (Fluffy) writes:

> The latter (my feed is small enough [just the Big 8 and ne.*, gnu.*, and
> a few others] that I don't want to or need to deal with CNFS :).

We have a similar feed here, but I still went with CNFS for other reasons. 
I like the idea of a cyclic system which I don't have to worry about being
flooded over with articles before my expirations kick in...it's nice not
having to worry about that now.  I suppose if you throw enough disk space at
it then that wouldn't be a problem, but for now we're disk constrained until
the new servers come in.

-----------------------------------------------------------------------------
Chris A. Epler - K4UNX - ESInet System Admin - (804) 974-7308
Linux - Operating System for a GNU Generation - http://www.linux.org
99 SL2m MRd AC SP CC ABS TC AU+++ F PW PL KE T2N SR L NG ODO: 1171 miles

Re: inn 2.x and newgroup spam?
#31077
Author: Paul D. Smith
Date: Tue, 01 Sep 1998 00:00
35 lines
2677 bytes
%% "Chris A. Epler" <cepler@Stormhaven.org> writes:

  cae> Paul D. Smith <psmith@baynetworks.com> wrote:

  >> The latter (my feed is small enough [just the Big 8 and ne.*, gnu.*, and
  >> a few others] that I don't want to or need to deal with CNFS :).

  cae> We have a similar feed here, but I still went with CNFS for other
  cae> reasons.  I like the idea of a cyclic system which I don't have
  cae> to worry about being flooded over with articles before my
  cae> expirations kick in...it's nice not having to worry about that
  cae> now.  I suppose if you throw enough disk space at it then that
  cae> wouldn't be a problem, but for now we're disk constrained until
  cae> the new servers come in.

We have a small, mirrored 5G partition and it's only 50% full at the
moment... I'm telling you, when you don't take hardly any alt.* groups
and definitely don't take any binaries, a newsfeed is not such a big
problem, resource-wise :)

I didn't use CNFS (a) because it seems like "new technology", and I was
nervous (hey, newsserver maintenance is just a hobby for me--my goal is
"zero headaches" :), (b) I didn't need it for performance, and (c) we
have some local groups where the expiry is "never", which serve as
archives, and I didn't feel like figuring out how to keep those groups
in a non-CNFS spool so I could control the expiry properly.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
     These are my opinions--Bay Networks takes no responsibility for them.

Re: inn 2.x and newgroup spam?
#31088
Author: Geoff Allen
Date: Tue, 01 Sep 1998 00:00
35 lines
2179 bytes
psmith@baynetworks.com (Paul D. Smith) writes:

> We have a small, mirrored 5G partition and it's only 50% full at the
> moment... I'm telling you, when you don't take hardly any alt.* groups
> and definitely don't take any binaries, a newsfeed is not such a big
> problem, resource-wise :)

I have a 12GB spool, keep big 8 for 7 days, alt for 4 days, don't take 
alt.binaries, and it runs 50-60% full.

> I didn't use CNFS (a) because it seems like "new technology", and I was
> nervous (hey, newsserver maintenance is just a hobby for me--my goal is
> "zero headaches" :),

"zero headaches" and news? We all can dream.

> (b) I didn't need it for performance, and (c) we
> have some local groups where the expiry is "never", which serve as
> archives, and I didn't feel like figuring out how to keep those groups
> in a non-CNFS spool so I could control the expiry properly.

Timehash and CNFS can be used together. Timehash uses traditional
expiration methods.

I haven't done it yet, but I'm planning on moving my server to 2.1
with CNFS for the bulk of news and timehash for local groups.

Geoff

-- 
Geoff Allen, geoff@wsu.edu, <http://www.wsu.edu/~geoff/>

Lottery: A tax on people who are bad at math.  (Author unknown)

Re: inn 2.x and newgroup spam?
#31134
Author: Joe Ramey
Date: Wed, 02 Sep 1998 00:00
42 lines
2669 bytes
psmith@baynetworks.com (Paul D. Smith) writes:

>   * I'm seeing a problem with innfeed.  It's got a ton of defunct
>     children processes (134 right now), and it gets more constantly.
>     It's feeding only the SunOS system, which appears to be running OK.
>     I didn't see this before this spate of newgroups started.  I can
>     shutdown, then innfeed dies and all the defunct processes go away.
>     But as soon as I start everything, they start appearing again.  I
>     see nothing of interest in the innfeed.log (empty) or status files.

I'm seeing lots of zombie children of innfeed also.  I used truss to
look into it a bit and found this instance of innfeed missing a
child's termination:

10546:      Received signal #18, SIGCLD [caught]
10546:        siginfo: SIGCLD CLD_EXITED pid=10901 status=0x0000
10546:  waitid(P_PID, 10901, 0xEFFFEAD8, WEXITED|WTRAPPED) = 0
10546:  fork()                                          = 10904
10904:  fork()          (returning as child ...)        = 10546
10904:  alarm(5)                                        = 0
10904:  _exit(0)
10546:      Received signal #18, SIGCLD, in waitid() [caught]
10546:        siginfo: SIGCLD CLD_EXITED pid=10904 status=0x0000
10546:  waitid(P_PID, 10904, 0xEFFFECF0, WEXITED|WTRAPPED) Err#4 EINTR
10546:  fork()                                          = 10910
10910:  fork()          (returning as child ...)        = 10546
10910:  alarm(5)                                        = 0
10910:  _exit(0)
10546:      Received signal #18, SIGCLD [caught]
10546:        siginfo: SIGCLD CLD_EXITED pid=10910 status=0x0000
10546:  waitid(P_PID, 10910, 0xEFFFEAD8, WEXITED|WTRAPPED) = 0
10546:  fork()                                          = 10913

So it looks like it normally collects the children just fine, but
occasionally the waitid() is interrupted by the parent receiving a
signal, and so the child is never collected.

This is on Solaris 2.5.1.

Joe

Re: inn 2.x and newgroup spam?
#31862
Author: jstenuit
Date: Wed, 30 Sep 1998 00:00
20 lines
1514 bytes
In article <x6u32q1mbr.fsf@csc.ti.com>,
  Joe Ramey <ramey@csc.ti.com> wrote:
> psmith@baynetworks.com (Paul D. Smith) writes:
>
> >   * I'm seeing a problem with innfeed.  It's got a ton of defunct
> >     children processes (134 right now), and it gets more constantly.
<snip>
> This is on Solaris 2.5.1.

Same problem on Digital Unix 4.0. It appears only since the upgrade to inn
2.1, using the supplied innfeed 0.10.1.

We didn't have any problem with our previous setup inn 1.6b3 and innfeed 0.9.3

I'll try to downgrade to previous veriosn of innfeed tomorrow.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum

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