🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12490

Re: text table full message

#12490
From: Matt Crawford
Date: Fri, 05 May 1989 22:23
27 lines
1572 bytes
I used to get "text: table is full" on this very multi-user sun-3/280.  It
means that too many distinct object codes are being run at the same time.
I usually saw it happen when 10 or more users were on and one or more of
them was running "IRAF", a large image processing system which consists of
many separate programs.  User processes would die (or rather, fail to
start) when the text table was full and "pstat -T" would show about zero
or one slots remaining.

Here is my cure.  After running "config ODDJOB" to configure a kernel, I
edited /sys/ODDJOB/param.c.  I changed

	int	ntext = 24 + MAXUSERS;
to
	int	ntext = 24 + 2 * MAXUSERS;

Since I have MAXUSERS=24, this is a 50% increase.  If you have a smaller
MAXUSERS you may want to increase ntext by some other amount.

Oh, and since this is a multiuser system, I also deleted the lines

	#undef MAXUPRC
	#define	MAXUPRC	(NPROC - 5)

from the generated param.c.  After these changes, you can run "make"
as usual.

Matt Crawford	     		matt@oddjob.uchicago.edu
Technical Details
Message-ID: <8904261441.AA21357@oddjob.uchicago.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request
From: matt@oddjob.uchicago.edu (Matt Crawford)
Newsgroups: comp.sys.sun
Subject: Re: text table full message
Keywords: SunOS
Message-ID: <8904261441.AA21357@oddjob.uchicago.edu>
Date: 5 May 89 22:23:34 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 27
Approved: Sun-Spots@rice.edu
Original-Date: Wed, 26 Apr 89 09:41:06 CDT
X-Sun-Spots-Digest: Volume 7, Issue 268, message 12 of 21
X-Issue-Reference: v7n254