Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: cherkus@unimaster.com (Dave Cherkus)
Subject: Re: [OSF/1 3.0] weird swap space problems (when there's plenty of it)
Date: 1995/07/29	[thread overview]
Message-ID: <3ve01s$haj@synergy.Destek.Net> (raw)
In-Reply-To: 3v3m0k$1nh@kernighan.cs.umass.edu

Jason Yanowitz (yanowitz@cs.umass.edu) wrote:

: Here's the system:

: dual-CPU alpha with 512M of ram and a 128M swapfile.  (I would've made
: the swap partition larger, but I wasn't here at the time).

Which version of Digital UNIX?

: here's the problem:

: July 25 10:48:45 meol vmunix: fork/procdup: task_create failed. Code:0x6
: July 25 10:48:56 meol vmunix: swap space below 10 percent free
: July 25 10:49:29 meol last message repeated 3 times

: this happens if we have ~39 users (all running lynx and posssibly pine
: or tine).  there is over 300 megs of ram free and 80 megs of swap free
: [I am not sure what the 0x6 code corresponds to, by the way... where
: would that be (not errno.h)]

mach/kern_return.h:
#define KERN_RESOURCE_SHORTAGE          6

: I assume this is happening because it thinks it needs more swap than
: it has.  but I have no real evidence for this belief.

No, the first one is probably because you don't have enough
entries in the task table or enough tasks per user.

: Can anyone tell me the cause of this, the fix for it, or both?

The first one is that either total number of procs in the system
or the number of procs per user is too small.  I don't have any
docs here but the system tuning and perf guide manual tells
how to fix this.

: I see that 3.0 doesn't support swap files.  is there a way around this
: apart from upgrading (if even that would solve it)?

: Also, as long as i'm begging for information, how does one increase
: the number of processes the system can handle (the default for our
: setup appears to be ridiculously low...  I mean errors like this:
: July 17 13:50:24 meol vmunix: task table is full (repeated 100s of
: times)).  I have no reason to believe this was caused by mad forking
: (so is there:

: a) a way to see what the limit is
: b) a way to up it)

Depends on which OS release you run.  See the doc I mentioned above.
In particular, if you are on newer versions of Digital Unix,
'sysconfig -q proc' should tell you some of the numbers, and
you might end up adding

proc:
        max-proc-per-user = 256

to /etc/sysconfigtab and rebooting.  Or you might end up editing
/sys/conf/param.c and rebuilding a kernel.  Or you might end
up changing 'maxusers' in your /sys/conf/HOSTNAME file and
rebuilding a kernel.  It depends on what version of DU that
you have.

Also, you might want to read the 'swapon' man page and consider
running in 'lazy' swap allocation mode.


--
Dave Cherkus ----- UniMaster, Inc. ----- Contract Software Development
Specialties: UNIX TCP/IP X OSF/1 AlphaAXP AIX RS/6000 Performance ISDN
Email: cherkus@UniMaster.COM  Tel: (603) 888-8308  Fax: (603) 888-4598
Live Free or Die - New Hampshire has 3 seasons: ice, mud and black fly 



      parent reply	other threads:[~1995-07-29  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-25  4:00 [OSF/1 3.0] weird swap space problems (when there's plenty of it) Jason Yanowitz
1995-07-26  4:00 ` John Stoffel
1995-07-29  4:00 ` Dave Cherkus [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox