Operating System - HP-UX
1833127 Members
3354 Online
110051 Solutions
New Discussion

Re: Measuring shared memory

 
SOLVED
Go to solution
Simon R Wootton
Regular Advisor

Measuring shared memory

Running HP11i on an RP7410 machine. Following the recent installation of Data Protector on the above machine, it appears that I'm running out of shared memory and therefore unable to open the application. Sometimes, I'm unable to run SAM and get the same error messages, but closing some of the system applications (eg. test systems) allows me to run SAM successfully.

The error messages were diagnosed by a seperate forum question and I have now increased the amount of shared memory on the machine from 128Mb to 160Mb. Unfortunately, I am still unable to run Data Protector.

Is there any way to measure the amount of shared memory being used by the machine in real time ? Also, is there anything else I can do to release shared memory to try and run Data Protector without having to increase it further which means another reboot on a machine that runs 24x7 ??

All help will be rewarded, thanks in advance.

Regards
Simon
8 REPLIES 8
Alex Glennie
Honored Contributor
Solution

Re: Measuring shared memory

I'd try the following it might work :

omnisv.sh -stop

/opt/omni/lbin/crs -clshm
/opt/omni/lbin/crs -shutdown
omnisv.sh -start

as to measurement : glance ? or shminfo (hp utility - would require a call to local Response Centre)
Simon R Wootton
Regular Advisor

Re: Measuring shared memory

Thanks for the reply Alex, can you please advise what these commands do before I issue them on a live server ?

Regards
Simon
Sanjiv Sharma_1
Honored Contributor

Re: Measuring shared memory

Hi Simon,

Please check this document:
http://www.openview.hp.com/sso/ecare/getsupportdoc?docid=OV-EN015876

hth.
Everything is possible
Sanjiv Sharma_1
Honored Contributor

Re: Measuring shared memory

Hi Simon,

You can issue these commands on your live server w/o any concern. These commands will clear the shared memory and start the Data Protector.
Everything is possible
Simon R Wootton
Regular Advisor

Re: Measuring shared memory

Hi Sanjiv

Thanks for the response. You say the commands clear shared memory - what about the other live applications using the shared memory - will they be affected ??

Regards
Simon
Geoff Wild
Honored Contributor

Re: Measuring shared memory

You can do a
ipcs -m
to Display information about active shared memory segments.

man ipcs for more info.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Alex Glennie
Honored Contributor

Re: Measuring shared memory

as to other live applications ... no affect just clears out/down the shared memory in use by DP/OBII in the case of memory leaks etc ...

appologies been busy today
Sundar_7
Honored Contributor

Re: Measuring shared memory

Hi Simon,

Download the attached shminfo.sh which can be used to accurately determine the shared memory segments in use.

Sundar.
Learn What to do ,How to do and more importantly When to do ?