Operating System - HP-UX
1752766 Members
5023 Online
108789 Solutions
New Discussion юеВ

Re: Shared memory does not exist

 
Dhanasekar_167
Occasional Visitor

Shared memory does not exist

Hi I have the error message "Shared memory does not exist" in one of our service running in HP-UX server, but there are no error relevant to shared memory in system error log. kindly let me know whether the shared memory issue will not be written in system error log

2 REPLIES 2
Patrick Wallek
Honored Contributor

Re: Shared memory does not exist

Was the error "shared memory realm does not exist"?  If so, then this means the particular shared memory segment your process is trying to use has been removed or was never actually created.

You may need to restart your service so it can recreate the shared memory segment it needs.

Bill Hassell
Honored Contributor

Re: Shared memory does not exist

Shared memory is a programming feature. One of your programs must request a memory segment that will be shared. When the segment is granted to the program, an ID number is provided and the segment can then be opened and used. This ID number must then be communicated to one or more other programs which can open the segment.

If the number is not communicated correctly to the other programs, or someone has removed the segment, then you'll create the situation described. This would only be logged in the system log if your programs reported the problem as it is not an HP-UX error. Shared memory segments can be removed by programs or by using the command: ipcrm

You'll need to contact your programmers to fix their code.



Bill Hassell, sysadmin