Operating System - HP-UX
1754321 Members
3262 Online
108813 Solutions
New Discussion юеВ

Problem clearing shared memory segments on HP 10.20

 
Alyx Chavis_1
New Member

Problem clearing shared memory segments on HP 10.20

We have a system with two Informix instances. When the second one has to be
taken down one or more of the shared memory segments will not clear. This
prevents Informix from coming back on-line because it cannot access the memory
it needs. We end up having to reboot the machine to clear the segments. It is
not a situation where a shemaphore has remained and the segment cannot be
removed with ipcrm. It cannot be traced back to a active process either. My
thought is the O/S is not letting the segment go when all processes have been
removed. Has anyone encountered this problem and/or is there a related patch
or bug?

Thanks,
Alyx
2 REPLIES 2
Simon Waters_2
Occasional Advisor

Re: Problem clearing shared memory segments on HP 10.20

I didn't think the OS did clear shared memory, merely because all the processes
referencing it had died.

I thought that it had to be explicitly deallocated, or removed as you
described.
Julio Garcia_4
New Member

Re: Problem clearing shared memory segments on HP 10.20

Excuseme my poor english.
I have I-DSA 7.24.
When you have two instances of informix, you should to identify the segment of
shared memory of very instance, revise the page 12-12 of the manual
Informix-Online Dynamyc Server Administrator's Guide, Volume 1 Version 7.1 and
then remove all the segments similar to the calculate value according to manual
using ipcrm -m.