🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Greg Whalin Wed, 05 Jun 1996 00:00
Problem with INN unoff 4
#8291
Author: Greg Whalin
Date: Wed, 05 Jun 1996 00:00
98 lines
5270 bytes
Here is the lowdown.

Our news server :

64MB RAM
Pentium 100 BSDI BSD/OS 2.0.1
Running INND unoff 4 with the sharedactive patch (same problem without 
the patch)
Machine is dedicated to news server only (no other big apps).

Here is the problem ...  After a reboot, the machine runs fine for a 
period of about 24 hours (sometimes less).  Then, it stops allowing 
newsreader connections.  The log files show the message (when this 
problem is occurring) of:

flagstaff innd: ME can't fork /usr/contrib/lib/news/in.nnrpd Cannot 
allocate memory

I have tried numerous things.  I made sure that the user news was not 
running out of data space by using limit (cputime, datasize, filesize, 
openfiles, maxproc, memoryuse, stacksize) unlimited.  I also recompiled 
INN with the sharedactive patch.  For some reason, it is still doing the 
exact same thing.  I am including some output from vmstat 5 below.  The 
only thing that looks strange to me, is that there the fre collumn starts 
at about mid 40's and then slowly drops (is this normal??) until it hits 
around 7600.  At this point, the problems are occurring.  Also, the page 
faults seem to jump very high at points.  I am not sure if it is normal 
for them to jump this high or not.  Basically, I need to know if anyone 
else has experienced the same problem, and if so, how was it resolved.  
Any and all advise or suggestions in this matter would be greatly 
appreciated.

Thanks,
Greg

----------
Greg Whalin
Net 66 - Your Route to the Internet 
gwhalin@net66.com
Net66 Tech Support Home Page -- http://www.net66.com/~gwhalin

vmstat output ....

 procs   memory     page                    disks         faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr s0 s1 s2 s3   in   sy  cs us sy id
 1 0 0 50120 22316  176   2   1   0    0   0 5  0  5 16   167 127 131  2  9 88
 1 0 0 51928 22092   51  11   1   0    0   0 1  0  0  0   148 151 113  3  2 95
 0 0 0 52828 22320    9   2   0   0    0   0 2  0  0  0   150 127 104  2  2 96
 0 0 0 52464 22320    1   0   0   0    0   0 0  0  0  0   167 173 132  5  1 94
 0 0 0 50700 22320    4   0   0   0    0   0 0  0  1  0   163 160 123  5  1 94
 0 0 0 48936 23608   88   2   1   0    0   010  0  1 10   194 207 142 12  6 82
 0 0 0 52568 21064  163   3   2   0    0   0 0  0  0  0   166 220 154 17  9 74
 2 0 0 54940 20076  198   2   1   0    0   0 5  0  4  0   169 169 137 10  7 83
 0 0 0 52988 20964   36   0   0   0    0   0 2  0  0  4   282 171 315 11 12 77
 0 0 0 52624 20968    7   0   0   0    0   0 5  0  3  2   167 158 129  4  4 92
 0 0 0 50508 20996   12   0   0   0    0   0 2  0  5  3   160 144 125  4  7 89
 1 1 0 50872 20960   11   0   0   0    0   015  0 16 19   200 108 125  4  6 90
 0 0 0 50872 20968    8   0   0   0    0   0 6  0  0 12   166 115 125  4  2 93
 0 0 0 54100 20288  947 140  14   0    0   016  0  0  0   195 545 223  7 34 59
 0 1 0 53352 20712   31   5   1   0    0   0 2  0  0  3   160 142 121  3  2 95
 0 0 0 50792 20736   20   0   0   0    0   0 6  0  0  0   173 142 140  2  4 94
 0 0 0 50792 20736    1   0   0   0    0   0 0  0  0  0   159 149 115  5  2 94
 0 0 0 50124 20736    5   0   0   0    0   015  0  4 14   208 160 126  4  2 93
 procs   memory     page                    disks         faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr s0 s1 s2 s3   in   sy  cs us sy id
 1 0 0 46508 20772   84   2   1   0    0   0 1  0  0  0   148 154 104  9  7 84
 0 0 0 48260 19476   88   2   1   0    0   0 3  0  3  1   172 209 165 22  7 71
 0 0 0 48260 19476    7   0   0   0    0   0 0  0  4  0   161 161 123  4  2 94


ps -ax output

  PID  TT  STAT      TIME COMMAND
    0  ??  DLs    0:00.02 (swapper)
    1  ??  Is     0:00.05 /sbin/init --
    2  ??  DL     0:00.01 (pagedaemon)
   41  ??  Ss     0:00.68 syslogd
   77  ??  Is     0:01.54 update
   79  ??  Is     0:00.09 cron
   86  ??  Ss     0:00.13 rwhod
   90  ??  Is     0:00.02 lpd
   92  ??  Is     0:00.01 portmap
   95  ??  Is     0:00.02 (sendmail)
  100  ??  Is     0:00.03 inetd
  133  ??  Ds     2:22.92 /usr/contrib/lib/news/innd -p4 -i0
  138  ??  SN     0:04.76 /usr/contrib/lib/news/bin/overchan
  512  ??  I      0:00.08 sh -c \n^IBATCHFILE=${SITE}.nntp\n^ILOCK=${LOCKS}/LOC
  524  ??  I      0:00.03 innxmit -a -t300 -T1800 news.sprintlink.net /var/news
  151  p0  Ss     0:00.70 -tcsh (tcsh)
  528  p0  R+     0:00.05 ps -ax
   88  co- I      0:00.03 rstatd
  148  co  Is+    0:00.02 /usr/libexec/getty pccons console

If you can think of anything else that would be helpful, just ask.


Re: Problem with INN unoff 4
#8319
Author: David Miller
Date: Thu, 06 Jun 1996 00:00
46 lines
2615 bytes
Greg Whalin (gwhalin@winslow.net66.com) wrote:
: Here is the lowdown.

: Our news server :

: 64MB RAM
: Pentium 100 BSDI BSD/OS 2.0.1
: Running INND unoff 4 with the sharedactive patch (same problem without 
: the patch)
: Machine is dedicated to news server only (no other big apps).

: Here is the problem ...  After a reboot, the machine runs fine for a 
: period of about 24 hours (sometimes less).  Then, it stops allowing 
: newsreader connections.  The log files show the message (when this 
: problem is occurring) of:

: flagstaff innd: ME can't fork /usr/contrib/lib/news/in.nnrpd Cannot 
: allocate memory

: I have tried numerous things.  I made sure that the user news was not 
: running out of data space by using limit (cputime, datasize, filesize, 
: openfiles, maxproc, memoryuse, stacksize) unlimited.  I also recompiled 
: INN with the sharedactive patch.  For some reason, it is still doing the 
: exact same thing.  I am including some output from vmstat 5 below.  The 
: only thing that looks strange to me, is that there the fre collumn starts 
: at about mid 40's and then slowly drops (is this normal??) until it hits 
: around 7600.  At this point, the problems are occurring.  Also, the page 
: faults seem to jump very high at points.  I am not sure if it is normal 
: for them to jump this high or not.  Basically, I need to know if anyone 
: else has experienced the same problem, and if so, how was it resolved.  
: Any and all advise or suggestions in this matter would be greatly 
: appreciated.

I'm running 1.4u4 on a number of 2.1 and 2.01 systems with no apparent
problems.

How much swap space do you have configured, and how much is in use? (pstat
-s).  How many users are you configured for?  Lastly, have you installed
all the 2.01 patches?


--
David Miller			Usual disclaimers apply

Re: Problem with INN unoff 4
#8356
Author: Erik R. Leo
Date: Fri, 07 Jun 1996 00:00
44 lines
2554 bytes
David Miller (isdmill@gatekeeper.ddp.state.me.us) wrote:
: Greg Whalin (gwhalin@winslow.net66.com) wrote:
: : [...]
: : Running INND unoff 4 with the sharedactive patch (same problem without 
: : the patch)
: : Machine is dedicated to news server only (no other big apps).
: : [...]
: : flagstaff innd: ME can't fork /usr/contrib/lib/news/in.nnrpd Cannot 
: : allocate memory
:
: [...]
: 
: I'm running 1.4u4 on a number of 2.1 and 2.01 systems with no apparent
: problems.
: 
: How much swap space do you have configured, and how much is in use? (pstat
: -s).  How many users are you configured for?  Lastly, have you installed
: all the 2.01 patches?

	Under BSD/OS 2.0.1 and INN1.4unoff2 we had a constant problem with
"stuck"  in.nnrpds (i.e., the process hung around long after the user had
disconnected) chewing up available memory until INN couldn't even read the
"innshellvars."  Most of our use is via dialup, and BSDI seems to think
the problem has to do with kernel values that are non-tuneable and
optimized for ethernet connections--i.e., an environment where hosts
disappear and subseqently reappear.  I "solved" it by killing all
in.nnrpds whenver available memory (as reported by vmstat(8)) went below a
threshold.  Pretty ugly and not especially good for customer relations :). 

	We've moved to BSD/OS 2.1 and INNunoff4+sharedactive and I've
refined the hack a bit (it now kills only the in.nnrpds that are
associated with non-responsive IPs--as reported by ping(1)), but I think
it may be a fact of life in a dialup environment.

-Erik
PS to r$ we do find it useful, the postcard is in the mail :).
--
Erik R. Leo, Net Worker       SoVerNet
Tel:    +1(802)463-2111       Vermont's Sovereign Internet Connection
Fax:    +1(802)463-2110       5 Rockingham Street
Email:  erikl@sover.net       Bellows Falls, Vermont 05101

Re: Problem with INN unoff 4
#8381
Author: Andrew J. Doane
Date: Sun, 09 Jun 1996 00:00
34 lines
1796 bytes
Greg Whalin <gwhalin@winslow.net66.com> writes:

>Here is the lowdown.

>Our news server :

>64MB RAM
>Pentium 100 BSDI BSD/OS 2.0.1
>Running INND unoff 4 with the sharedactive patch (same problem without 
>the patch)
>Machine is dedicated to news server only (no other big apps).

>Here is the problem ...  After a reboot, the machine runs fine for a 
>period of about 24 hours (sometimes less).  Then, it stops allowing 
>newsreader connections.  The log files show the message (when this 
>problem is occurring) of:

>flagstaff innd: ME can't fork /usr/contrib/lib/news/in.nnrpd Cannot 
>allocate memory

This is in the FAQ.


-- 
       _/_/    _/  _/_/_/_/         Andrew J. Doane
    _/    _/  _/  _/                Vice President
   _/_/_/_/  _/  _/_/_/_/           American Information Systems, Inc.
  _/    _/  _/        _/            Email: adoane@ais.net, http://www.ais.net
 _/    _/  _/  _/_/_/_/             (312) 255-8500 Voice, (312) 255-8501 Fax
                                    For my PGP public key, email me with the
                                    subject "pgp request"

Re: Problem with INN unoff 4
#8404
Author: Greg Whalin
Date: Mon, 10 Jun 1996 00:00
20 lines
1237 bytes
Hmmm, I don't think it was in the FAQ, but thanks for the helpful info.  
As it turns out, I found out from a helpful soul that this problem is 
most probably due to faulty vm code in BSDI 2.01 in which their is a 
memory leak.  
Greg

----------
Greg Whalin
Net 66 - Your Route to the Internet 
gwhalin@net66.com
Net66 Tech Support Home Page -- http://www.net66.com/~gwhalin

On 9 Jun 1996, Andrew J. Doane wrote:

> 
> This is in the FAQ.
> 

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