tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Shared memory problem with sybase
@ 1996-01-17 16:29 nam
  0 siblings, 0 replies; only message in thread
From: nam @ 1996-01-17 16:29 UTC (permalink / raw)
  To: tru64-unix-managers

Greetings,
	Thanks for the info about the shared memory.
	Here is a summary. Please forgive my lack of writing ability. 

Thanks To:
	sarasin@yosemite.cop.dec.com
	geray@ecs.umass.edu
	semery@BayNetworks.com
	semery@baynetworks.com
	philip@uvo.dec.com
	andreas@terra
	khan@informatik.fh-hamburg.de

Sybase 10 had this error if you set shmmax to a number greater than
67108864. If you are running 3.0 or later you can set shmmax in the 
/etc/sysconfigtab file, this way you do not need to do a kernel rebuild.
this has solved the problem.

first use sysconfig -q ipc to check the current value.
# sysconfig -q ipc
msg-max = 8192
msg-mnb = 16384
msg-mni = 64
msg-tql = 40
shm-max = 4194304
shm-min = 1
shm-mni = 128
shm-seg = 32


then edit /etc/sysconfigtab 
and add 

ipc:
	shm-max = 67108864

Then reboot your machine. Use sysconfig -q ipc to check your current value
of shm-max to make sure it was reset correctly then try to start sybase 
again.

or

Value may be set by adding the line in /sys/conf/SYSNAME:

shmmax	67108864
This is the solution that I used.



Refer to the SYBASE System Administration Guide  Supplement for DEC OSF/1, 
section 4 gives a recommendation for shmmax.



check for the shared memory files that sybase creates. Usually in the $SYBASE
directory. xxx.krg and xxx.srg. where xxx = sybase servername.
These may need to be deleted if sybase had crashed badly.


 ipcs - Reports Interprocess Communication (IPC) facility status
	this may give some info about shared memory usage.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-01-17 16:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-17 16:29 SUMMARY: Shared memory problem with sybase nam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox