🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Allan Joergensen Tue, 15 Sep 1998 00:00
Diablo memory problem
#31394
Author: Allan Joergensen
Date: Tue, 15 Sep 1998 00:00
29 lines
1175 bytes
Look at this:

bash$ adm/biweekly.atrim
Tue Sep 15 14:45:19 MET DST 1998 - adm/biweekly.atrim BEGIN
211 Flushing feeds
200 Pause, count 1
200 Operation Complete
211 Flushing feeds
Dumping, hash table 4194304 entries, record size 28
@16777232
calloc: Cannot allocate memory

OS: BSDi 3.1
Processor: PPro 200
Memory: 512MB
Diablo: 1.16-test18

Top:
CPU:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% idle
Memory: Real: 68M/168M Virt: 28M/311M Free: 275M 

History:
-rw-r--r--  1 news  news  73289744 Sep 15 14:45 dhistory

-- 
Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk/>
Courage is grace under pressure.

Re: Diablo memory problem
#31384
Author: Allan Joergensen
Date: Tue, 15 Sep 1998 00:00
22 lines
1137 bytes
On Tue, 15 Sep 1998 14:52:47 GMT, Mike Horwath <drechsau@yuck.net>
 wrote in <3bvL1.1771$E9.5999127@ptah.visi.com>:

>: OS: BSDi 3.1
>: Processor: PPro 200
>: Memory: 512MB
>: Diablo: 1.16-test18
>Up your limits for user 'news'.
>Easy eh? :)

At first yes.

Problem one: I haven't, on any of my Un*x boxes, used the login.conf
thingy

Problem two: I can't seem to make it work.

-- 
Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk/>
About all some men accomplish in life is to send a son to Harvard.

Re: Diablo memory problem
#31405
Author: Matt Dillon
Date: Wed, 16 Sep 1998 00:00
280 lines
6518 bytes
:In article <slrn6vt9na.an3.dw@mufasa.nowhere.dk>, Allan Joergensen <NO!> wrote:
:>On Tue, 15 Sep 1998 14:52:47 GMT, Mike Horwath <drechsau@yuck.net>
:> wrote in <3bvL1.1771$E9.5999127@ptah.visi.com>:
:>
:>>: OS: BSDi 3.1
:>>: Processor: PPro 200
:>>: Memory: 512MB
:>>: Diablo: 1.16-test18
:>>Up your limits for user 'news'.
:>>Easy eh? :)
:>
:>At first yes.
:>
:>Problem one: I haven't, on any of my Un*x boxes, used the login.conf
:>thingy
:>
:>Problem two: I can't seem to make it work.
:>
:>-- 
:>Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk/>
:>About all some men accomplish in life is to send a son to Harvard.

    This is my login.conf for nntp3.ba.best.com:


# Sample login.conf - login class capabilities database.
# To speed up access to this data, you can use /usr/bin/cap_mkdb
# to create a database form of this file:
#
#	cap_mkdb /etc/login.conf
#
# Don't forget to do this after each edit as well!
#
# This file controls resource limits, accounting limits and
# default user environment settings.
#
#	$Id: login.conf,v 1.9.2.3 1997/05/23 12:59:16 ache Exp $
#


# Authentication methods

auth-defaults:\
	:auth=krb_skey_or_passwd,passwd,kerberos,skey:

auth-root-defaults:\
	:auth-login=krb_skey_or_passwd,passwd,kerberos,skey:\
	:auth-rlogin=krb_or_skey,kerberos,skey:\

auth-ftp-defaults:\
	:auth=skey_or_pwd,passwd,skey:


# Example defaults
# These settings are used by login(1) by default for classless users
# Note that entries like "cputime" set both "cputime-cur" and "cputime-max"

default:\
	:cputime=infinity:\
	:datasize-cur=infinity:\
	:stacksize-cur=8M:\
	:memorylocked-cur=10M:\
	:memoryuse-cur=infinity:\
	:filesize=infinity:\
	:coredumpsize=infinity:\
	:maxproc-cur=infinity:\
	:openfiles-cur=64:\
	:priority=0:\
	:requirehome@:\
	:umask=022:\
	:tc=auth-defaults:


#
# standard - standard user defaults
#
standard:\
	:copyright=/etc/COPYRIGHT:\
	:welcome=/etc/motd:\
	:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,EDITOR=/usr/bin/ee:\
	:path=~/bin /bin /usr/bin /usr/local/bin:\
	:manpath=/usr/share/man /usr/local/man:\
	:nologin=/etc/nologin:\
	:datasize=64M:\
	:stacksize=2M:\
	:memorylocked=4M:\
	:memoryuse=8M:\
	:coredumpsize=infinity:\
	:openfiles=24:\
	:maxproc=32:\
	:priority=0:\
	:requirehome:\
	:passwordperiod=90d:\
	:umask=002:\
	:ignoretime@:\
	:tc=default:


#
# users of X (needs more resources!)
#
xuser:\
	:manpath=/usr/share/man /usr/X11R6/man /usr/local/man:\
	:datasize=12M:\
	:stacksize=4M:\
	:memoryuse=16M:\
	:openfiles=32:\
	:maxproc=48:\
	:tc=standard:


#
# Staff users - few restrictions and allow login anytime
#
staff:\
	:ignorenologin:\
	:ignoretime:\
	:requirehome@:\
	:accounted@:\
	:path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
	:umask=022:\
	:tc=standard:


#
# root - fallback for root logins
#
root:\
	:path=~/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
	:cputime=infinity:\
	:datasize=infinity:\
	:stacksize=infinity:\
	:memorylocked=infinity:\
	:memoryuse=infinity:\
	:filesize=infinity:\
	:coredumpsize=infinity:\
	:openfiles=infinity:\
	:maxproc=infinity:\
	:memoryuse-cur=32M:\
	:maxproc-cur=infinity:\
	:openfiles-cur=1024:\
	:priority=0:\
	:requirehome@:\
	:umask=022:\
	:tc=auth-root-defaults:\


#
# Settings used by /etc/rc
#
daemon:\
	:coredumpsize=0:\
	:datasize-cur=64M:\
	:maxproc=1024:\
	:maxproc-cur@:\
	:memoryuse-cur=64M:\
	:memorylocked-cur=64M:\
	:openfiles=1024:\
	:openfiles-cur@:\
	:stacksize=16M:\
	:tc=default:


#
# Settings used by news subsystem
#
news:\
	:path=/usr/local/news/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin:\
	:cputime=infinity:\
	:filesize=infinity:\
	:datasize-curr=infinity:\
	:stacksize-cur=32M:\
	:coredumpsize-cur=0:\
	:memorylocked=32M:\
	:maxproc=1024:\
	:openfiles=256:\
	:tc=default:


#
# The dialer class should be used for a dialup PPP/SLIP accounts
# Welcome messages/news suppressed
#
dialer:\
	:hushlogin:\
	:requirehome@:\
	:cputime=unlimited:\
	:filesize=2M:\
	:datasize=2M:\
	:stacksize=4M:\
	:coredumpsize=0:\
	:memoryuse=4M:\
	:memorylocked=1M:\
	:maxproc=16:\
	:openfiles=32:\
	:tc=standard:


#
# Site full-time 24/7 PPP/SLIP connections
# - no time accounting, restricted to access via dialin lines
#
site:\
	:ignoretime:\
	:passwordperiod@:\
	:refreshtime@:\
	:refreshperiod@:\
	:sessionlimit@:\
	:autodelete@:\
	:expireperiod@:\
	:graceexpire@:\
	;gracetime@:\
	:warnexpire@:\
	:warnpassword@:\
	:idletime@:\
	:sessiontime@:\
	:daytime@:\
	:weektime@:\
	:monthtime@:\
	:warntime@:\
	:accounted@:\
	:tc=dialer:\
	:tc=staff:


#
# Example standard accounting entries for subscriber levels
#

subscriber|Subscribers:\
	:accounted:\
	:refreshtime=180d:\
	:refreshperiod@:\
	:sessionlimit@:\
	:autodelete=30d:\
	:expireperiod=180d:\
	:graceexpire=7d:\
	:gracetime=10m:\
	:warnexpire=7d:\
	:warnpassword=7d:\
	:idletime=30m:\
	:sessiontime=4h:\
	:daytime=6h:\
	:weektime=40h:\
	:monthtime=120h:\
	:warntime=4h:\
	:tc=standard:


#
# Subscriber accounts. These accounts have their login times
# accounted and have access limits applied.
#
subppp|PPP Subscriber Accounts:\
	:tc=dialer:\
	:tc=subscriber:


subslip|SLIP Subscriber Accounts:\
	:tc=dialer:\
	:tc=subscriber:


subshell:Shell Subscriber Accounts:\
	:tc=subscriber:


#
# Russian Users Accounts. Setup proper environment variables.
#
russian:Russian Users Accounts:\
	:charset=KOI8-R:\
	:lang=ru_RU.KOI8-R:\
	:tc=default:
-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: Diablo memory problem
#31445
Author: Allan Joergensen
Date: Thu, 17 Sep 1998 00:00
22 lines
1365 bytes
On 16 Sep 1998 15:36:54 -0700, Matt Dillon <dillon@best.net>
 wrote in <6tpei6$qln$1@flea.best.net>:

>    This is my login.conf for nntp3.ba.best.com:

Thanks, I'll have a look at it. Is the above a FreeBSD or BSDi machine?

It seems v1.16-test18 is running well, although it made a lot of
warnings during compile.

Would it make any sence to switch from BSDi to FreeBSD on the feeders
(comparing effort and results)?

The machines are PPro200 with 512MB RAM, 1x2GB (system), 4x4GB (spliced,
spool) and 2x2GB (spliced, history).


-- 
Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk/>
All I ask of life is a constant and exaggerated sense of my own importance.

Re: Diablo memory problem
#31463
Author: Matt Dillon
Date: Thu, 17 Sep 1998 00:00
38 lines
1945 bytes
:In article <slrn701asm.2h2.dw@zazu.nowhere.dk>, Allan Joergensen <NO!> wrote:
:>On 16 Sep 1998 15:36:54 -0700, Matt Dillon <dillon@best.net>
:> wrote in <6tpei6$qln$1@flea.best.net>:
:>
:>>    This is my login.conf for nntp3.ba.best.com:
:>
:>Thanks, I'll have a look at it. Is the above a FreeBSD or BSDi machine?

    FreeBSD.  login.conf is almost certainly different between FreeBSD and
    BSDi.

:>It seems v1.16-test18 is running well, although it made a lot of
:>warnings during compile.

    It shouldn't have done that.  What warnings are you getting ?  If you
    email them to me I'll check them out.

:>Would it make any sence to switch from BSDi to FreeBSD on the feeders
:>(comparing effort and results)?
:>
:>The machines are PPro200 with 512MB RAM, 1x2GB (system), 4x4GB (spliced,
:>spool) and 2x2GB (spliced, history).
:>
:>
:>-- 
:>Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk/>

    I would stick with what you are comfortable with until you've got all
    the other problems worked out.

				    -Matt

-- 
    Matthew Dillon  Engineering, HiWay Technologies, Inc. & BEST Internet
                    Communications
    <dillon@best.net> (Please include original email in any response)

Re: Diablo memory problem
#31480
Author: Allan Joergensen
Date: Fri, 18 Sep 1998 00:00
12 lines
1028 bytes
On 16 Sep 1998 15:36:54 -0700, Matt Dillon <dillon@best.net>
 wrote in <6tpei6$qln$1@flea.best.net>:

>    This is my login.conf for nntp3.ba.best.com:

I've changed the values and it still doesn't work.

-- 
Allan "[DW]" Joergensen - <URL:http://www.nowhere.dk/>
When you're down and out, lift up your voice and shout, "I'M DOWN AND OUT"!

Re: Diablo memory problem
#31497
Author: Terry Kennedy
Date: Fri, 18 Sep 1998 00:00
60 lines
2393 bytes
Allan Joergensen <dw@nowhere.dk> writes:
> I've changed the values and it still doesn't work.

  Here are diffs for what I'm running on news.new-york.net (BSD/OS 3.1, Diablo
1.14, Freenix 221):

*** /etc/login.conf_orig	Thu Oct  2 08:03:37 1997
--- /etc/login.conf	Sun May 24 23:56:32 1998
***************
*** 65,74 ****
  news:\
  	:path=/bin /usr/bin /usr/contrib/bin /usr/contrib/lib/news/bin:\
  	:datasize=infinity:\
! 	:maxproc-cur=256:\
! 	:openfiles-cur=256:\
! 	:datasize-cur=64M:\
! 	:stacksize-cur=16M:\
  	:tc=default:
  
  #
--- 65,74 ----
  news:\
  	:path=/bin /usr/bin /usr/contrib/bin /usr/contrib/lib/news/bin:\
  	:datasize=infinity:\
! 	:maxproc=512:\
! 	:openfiles=8192:\
! 	:datasize-cur=128M:\
! 	:stacksize-cur=32M:\
  	:tc=default:
  
  #
*** rc.news	Sat Mar  8 20:29:59 1997
--- /news/rc.news	Fri Jul 18 03:43:55 1997
***************
*** 10,17 ****
  # of news processes should be bumped up pretty high too.
  #
  
! limit maxproc 1024
! limit openf   1024
  
  if ( ! -d /news ) then
      echo "Unable to startup Diablo, /news does not exist."
--- 10,19 ----
  # of news processes should be bumped up pretty high too.
  #
  
! # limit maxproc 1024
! # limit openf   1024
! 
! unlimit		# This _is_ a dedicated news machine...
  
  if ( ! -d /news ) then
      echo "Unable to startup Diablo, /news does not exist."

	Terry Kennedy		  Operations Manager, Academic Computing
	terry@spcvxa.spc.edu	  St. Peter's College, Jersey City, NJ USA
        +1 201 915 9381 (voice)   +1 201 435-3662 (FAX)

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