ipcs -m displaying empty

I am trying to run myApplication which allocates Some amount of shared memory at startup.

It failed because not available shared memory are available.

But when i ran,

 
ipcs -m

it is displaying empty(i.e no shared memory allocated in system.)

Why "ipcs -m" is displaying empty ?

How to know that realy shared memory are not available in system(AIX) ?

Is your application 32bit or 64bit? If it ever runs you could check with svmon -P <pid> and check for the 64-bit column if there is a Y or a N.

Afaik 32-bit applications can have up to 10 or 11 shared memory segments per process. To increase this you can try exporting EXTSHM=on before you start your app.

Did you check you ulimits? Maybe increase those for memory or set them to unlimited (-1) just to try out if you still get that problem. Need to relog when doing this.

Even on a box where nothing is running but plain AIX I get some output with ipcs -m.
Did it write an error report entry?

---------- Post updated at 11:26 AM ---------- Previous update was at 11:13 AM ----------

Please post the output of

oslevel -s

too, thanks.

Hi,

  • My system is 64 bit.

  • linit is set to unlimited.

  • setenv EXTSHM=on (EXTSHM is enables with on)

  • where to check that is has written any error report ?

  • Output of,
    >oslevel -s
    >5300-04-00

errpt | more

For details:

errpt -a -j<ID-FROM1stCOLUMN-IN-HERE> |more

What app is it? Something self written?

Hi,
I ran it.
It is giving something like this
......
BA431EB7 0713134109 P S SRC SOFTWARE PROGRAM ERROR

All are similar.

But ipcs should give some output not empty. right ?

I have another AIX system there it is coming fine.

Any other place i need to check.

---------- Post updated at 02:05 PM ---------- Previous update was at 01:25 PM ----------

Hi,

I did googleing.

I am facing same problem.

Check this page,
http://www.pseriestech.org/forum/aix-for-power-systems/no-output-for-ipcs-command-4508.html

Did you try the stuff they suggested there? Your OS level is somewhat low. You should update your TL anyway; they mention that in the thread too. So maybe TL11 SP(?) or whatever is currently recommended by IBM.

Does ipcs without a parameter give no output at all too in your case?
Yes, a plain ipcs should always show something at all.

Did you try that too?