Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 1998 09:13:57 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        Andreas Braukmann <braukmann@tse-online.de>
Cc:        freebsd-database@FreeBSD.ORG
Subject:   Re: Sybase vs. shared memory?  - was: Re: Sybase/uname: mystery resolved
Message-ID:  <Pine.BSF.4.05.9811230911200.19426-100000@fallout.campusview.indiana.edu>
In-Reply-To: <19981123075841.A1110@paert.tse-online.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 23 Nov 1998, Andreas Braukmann wrote:

> > to setup a database.
> The installation went relatively smoothly, besides the sybinit-script
> crashed on me once (/bin/sh dumped core on a segfault?).
> 
> But: My configured database-server wouldn't run. 
> The /opt/sybase/install/errorlog states:
> 00:1998/11/23 07:57:25.78 kernel  os_create_region: can't allocate 11964416 bytes
> 00:1998/11/23 07:57:25.78 kernel  kbcreate: couldn't create kernel region.
> 00:1998/11/23 07:57:25.79 kernel  kistartup: could not create shared memory
> 
> Hmmm, any hints?

You need something like this:

options         SHMMAXPGS=4096          # Gobs of SHM for Sybase

in your kernel config.  It has also been discovered that setting
maxusers to 32 works.  With 64, the dataserver falls flat with
segfaults.  So, set maxusers to 32 initially and try adjusting it
from there if you get things working.

-john


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811230911200.19426-100000>