*BSD News Article 70314


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!Germany.EU.net!howland.reston.ans.net!cs.utexas.edu!swrinde!hookup!news.mathworks.com!nntp.primenet.com!news.sprintlink.net!news-stk-3.sprintlink.net!news.net66.com!winslow.net66.com!gwhalin
From: Greg Whalin <gwhalin@winslow.net66.com>
Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.admin,news.software.nntp
Subject: Problem with INN unoff 4
Date: Wed, 5 Jun 1996 12:39:41 -0500
Organization: Net66
Lines: 95
Message-ID: <Pine.BSD/.3.91.960605121727.10492C-100000@winslow.net66.com>
NNTP-Posting-Host: winslow.net66.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:3939 comp.unix.admin:43146 news.software.nntp:23355

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.