1847196 Members
4423 Online
110263 Solutions
New Discussion

Re: Shared Memory

 
SOLVED
Go to solution
AyoungK
Advisor

Shared Memory

On one of our, the Shared Memory support suddenly got disabled (nobody knows how/why).

When I do a ipcs -m, I get the following response,
$ ipcs -m
IPC status from /dev/kmem as of Tue Oct 22 11:13:48 2002
Shared Memory facility not in system.

I increased shmmax to (4L*1024*1024*1024), but still doesn't work.

Please help.

Thanks,
Kimberly Kim
11 REPLIES 11
A. Clay Stephenson
Acclaimed Contributor

Re: Shared Memory

Check to see if the kernel parameter shmem is set to 0. If so, no shared memory code will be included in the kernel.
If it ain't broke, I can fix that.
keith persons
Valued Contributor

Re: Shared Memory

Kimberly,

May want to check and make sure shmem is enabled in the kernel. It should be by default but it may have been disabled. You can use one of several methods to verify, whichever you prefer, sam, kmtune if available, pr sysdef, you'll want to make sure shmem is set to 1.

Keith
AyoungK
Advisor

Re: Shared Memory

It's set to 1.

Kimberly
A. Clay Stephenson
Acclaimed Contributor

Re: Shared Memory

Here is another guess: /stand/vmunix does not match /dev/kmem. That happens when a new kernel has been moved into place but the system has not be rebooted. That condition can cause all sorts of very wierd problems. I also assume that all the other shxxx values are at least reasonable. I suggest that you compare shxxx with their counterparts on another box. I also assume that with your large shmax setting that this is a 64-bit OS.
If it ain't broke, I can fix that.
AyoungK
Advisor

Re: Shared Memory

The system rebooted after the change but still
doesn't work. I even compared kernel paramaters with same type of system but not much diferrence on the settings.

Kimberly
A. Clay Stephenson
Acclaimed Contributor

Re: Shared Memory

Kimberly,

Humor me for the moment and clobber the formula. I have a funny feeling that we are dealing with an integer overflow in the evaluation.

Please set it to 1GB (1073741824); that is a known safe value for both 32-bit and 64-bit OS's. You may be behind on SAM patches and that is why this box is having trouble.

If this is 11.11, there is a patch PHKL_24032 that allows shmmax settings of over 1GB in SAM.
If it ain't broke, I can fix that.
AyoungK
Advisor

Re: Shared Memory

It's 11.20 & ia64.

Kimberly
Jeff Schussele
Honored Contributor
Solution

Re: Shared Memory

Hi Kimberly,

I know this may sound silly, but I've seen it before.....
Is it possible that you have NO shared memory segments in use at this time?
If not, this is the message you'll see.
Is the server up & doing it's normal, full load of work?

You might try firing up a couple of glance sessions both CLUI & GUI & a couple of other resource intensive routines & then check again.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Keith Clark
Valued Contributor

Re: Shared Memory

Hi Kimberly,

Can you post the output of kmadmin -s?

Thanks,

Keith
AyoungK
Advisor

Re: Shared Memory

The output of kmadmin -s

No module is registered.

For Jeff - the system rebooted yesterday and
currently no user on the machine.
System is up and running normal
but no activity at all.

Kimberly
AyoungK
Advisor

Re: Shared Memory

It's working now. Like Jeff said, there's no shared memory segments in use at that time.
After few users logged in on the machine, it
started to use.

Thanks everyone,
Kimberly