Operating System - HP-UX
1831356 Members
3197 Online
110024 Solutions
New Discussion

Re: Shared Memory and Sybase ASE

 
Chris Busch
New Member

Shared Memory and Sybase ASE

We are trying to bring up 2 instances of Sybase ASE 11.9.2 on HPUX 11.x The kernal parameters are set as follows:

shmmax 3000000000
shmmni 512
shmseg 512

We can allocate 1 GB of memory to each instance individually, but get a memory unavailable error when we try to bring them up simultaneously.

1 REPLY 1
Satish Y
Trusted Contributor

Re: Shared Memory and Sybase ASE

It seems after shut down of one ASE the processes are unable to get killed and not releasing shared memory.
Try,

1) Increase shared memory(shmmax) to max value.

2) Shutdown ASE

3) Run command:
#ipcs -ma
on UNIX box take the shmid for corresponding ASE UNIX process from above cmd output.


4) Then run:
#ipcrm
which clears the shared memory defunc process of sybase ASE.

5) Then bring up servers.
Difference between good and the best is only a little effort