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
[-- Attachment #1 --] 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 memory 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 default, 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 think 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 system but get the following error messages on building a db server ... > > 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 > > I've trawled the web and seen other posts and suggestions to the effect that shared memory settings can be changed. > However, not for 5.1 > > I don't see any obviously useful options in the GENERIC/NOTES files for kernel recompilation. > > 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.org" [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE/evR5KUeW47UGY2kRAsZUAJ93EN1L+BK/Fs4u0mp42jZuOGX8nQCfUwWq kGgXHKkNSS/T7tDwFjpnQ2o= =xX+X -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031001153626.GA34477>
