Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Oct 2003 15:34:55 -0000
From:      Anthony Schneider <anthony@x-anthony.com>
To:        Darren Phillips <phillipsd@hotmail.com>
Cc:        freebsd-database@freebsd.org
Subject:   Re: Shared memory in 5.1 with sybase
Message-ID:  <20031001153626.GA34477@x-anthony.com>
In-Reply-To: <Law11-OE64Q8VoKiIeo00000778@hotmail.com>
References:  <Law11-OE64Q8VoKiIeo00000778@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--sm4nu43k4a2Rpi4c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

5.1 by default it appears has
	kern.ipc.shmmax: 33554432

you can either increase this sysctl or you can try to decrease the total me=
mory
for sybase.  for ASE 12.5, you can probably just lower "max memory" in your
configuration file.  for 12.0, "total memory" would be the one to lower.  I
am not sure if sybase will let you allocate less shared memory than the def=
ault,
though.

i would check the shared memory and semaphore requirements of ASE and try to
modify the equivalent sysctls for your system.  i am not positive, but i th=
ink
any changes made to these sysctls will need to be put into /boot/loader.conf
to be read at boot time.

-Anthony.


On Wed, Oct 01, 2003 at 03:41:23PM +0100, Darren Phillips wrote:
> Have installed the freely available sybase 12.5 linux edition on my 5.1 s=
ystem but get the following error messages on building a db server ...
>=20
> kernel  Checked out license ASE_DEV
> kernel  Adaptive Server Enterprise Developer Edition.
> kernel  Using config area from primary master device.
> kernel  Warning: Using default file '/usr/local/sybase12.5/dan.cfg' since=
 a configuration file was not specified. Specify a configuration file name =
in the RUNSERVER file to avoid this message.
> kernel  os_create_region: can't allocate 37126144 bytes
> kernel  kbcreate: couldn't create kernel region.
> kernel  kistartup: could not create shared memory
>=20
> I've trawled the web and seen other posts and suggestions to the effect t=
hat shared memory settings can be changed.
> However, not for 5.1
>=20
> I don't see any obviously useful options in the GENERIC/NOTES files for k=
ernel recompilation.=20
>=20
> Any useful information/pointers would be warmly received.
> _______________________________________________
> freebsd-database@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-database
> To unsubscribe, send any mail to "freebsd-database-unsubscribe@freebsd.or=
g"

--sm4nu43k4a2Rpi4c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE/evR5KUeW47UGY2kRAsZUAJ93EN1L+BK/Fs4u0mp42jZuOGX8nQCfUwWq
kGgXHKkNSS/T7tDwFjpnQ2o=
=xX+X
-----END PGP SIGNATURE-----

--sm4nu43k4a2Rpi4c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031001153626.GA34477>