* Summary: Increasing "shm-max" value on OSF/1 V3.0
@ 1995-03-08 0:05 joe
0 siblings, 0 replies; only message in thread
From: joe @ 1995-03-08 0:05 UTC (permalink / raw)
To: tru64-unix-managers
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 <lance berc>
Knut.Hellebo@nho.hydro.com
khan@informatik.fh-hamburg.de <Ronald Ali-Khan>
"Craig I. Hagan" <hagan@oec.com>
Bob Sloane <SLOANE@KUHUB.CC.UKANS.EDU>
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 |
| |
+-----------------------------------------------------------------------------+
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-03-08 0:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-08 0:05 Summary: Increasing "shm-max" value on OSF/1 V3.0 joe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox