From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075318306440.tru64-unix-managers.marc@archive.invalid> From: joe () resptk ! bhp ! com ! au Date: Wed, 08 Mar 1995 00:05:09 +0000 To: tru64-unix-managers Subject: Summary: Increasing "shm-max" value on OSF/1 V3.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075318306440 Hi all, In response to the original posting: >>I have been having trouble increasing the "shm-max" parameter for >>the OS kernal. >> >>I need to increase this value to get the SYBASE database server working. >> >>I have added in "/etc/sysconfigtab" the following lines: >> >>#---------------------------------------------------------------- >>ipc: >> shm-max = 2147483648 >>#---------------------------------------------------------------- >> >>When the kernal reboots it reads this file and gives the response - >> >> shared mem parameter must be >= 0 >> >>SYBASE support know of this problem where the shared mem parameter seems to >>be taken as negative. They suggest to build the kernel manually and not >>use 'doconfig'. Though the problem persists. >> >>Running the follwoing command 'sysconfig -q ipc' still shows the shm-max value >>as the default. >> >>Has anyone had this problem or know of it, help in this matter will be >>greatly appreciated as we need the database up like last week. >> Thanks to follwing who responded so quickly: berc@pa.dec.com Knut.Hellebo@nho.hydro.com khan@informatik.fh-hamburg.de "Craig I. Hagan" Bob Sloane Most suggenstions were to place the following line into the /sys/conf/HOSTNAME file: shmmax 2147483648 and run 'doconfig -c HOSTNAME'. This seems to work and the SYBASE database server runs but there is still a problem in that issuing the command "sysconfig -q ipc" shows the follwing shm-max = -2147483648 which I don't think should be a negative number. Bob Sloane gave the following response: >>Hmmm. Just guessing, but that is one larger than can be represented in >>32 bits. Try 2147483647 and see if it likes that better. I then tried placing the following in '/etc/sysconfigtab': ipc: shm-max = 2147483647 Rebuilding the kernel without the shmmax parameter in /sys/conf/HOSTNAME file and rebooting the system, the sysconfigtab file was read properly. The 'sysconfig -q ipc' showed : shm-max = 2147483647 which looks right and the SYBASE server boots up. By this I assume the shm-max parameter is read as a 32bit signed number by the kernal at boot time. Thanks again to all who responded. Joe +-----------------------------------------------------------------------------+ | | | Joe Spanicek | | /\/\ Research Officer | | / / /\ Process Engineering R & D | | / / / \ | | / / / /\ \ BHP Research - Port Kembla Labs | | \ \/ / / / P.O Box 77, Port Kembla, NSW Australia 2505 | | \ / / / Fax: +61 (42) 756120 (reception at BHP Research) | | \/\/\/ Tel: +61 (42) 756148 (reception at BHP Research) | | Direct Fax: +61 (42) 756524 (Current location) | | Direct Tel: +61 (42) 756111 Ext: 4502 (Current location) | | Email: joe@resptk.bhp.com.au | | | +-----------------------------------------------------------------------------+