This is a discussion on extended shared memory within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, I do have a problem running my app cause it needs more than 11 shared memory segments, therefore ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| aixtest wrote: > Hi, > > I do have a problem running my app cause it needs more than 11 shared > memory segments, therefore I've set the env EXTSHM=ON according to the > man shmat with no effect. Anyone a suggestion what might be wrong. > > regards > Just a suggestion. Including what call is failing, what parameters you are passing to it and what error you are getting would make your post much more lively and interesting. -- Jason |
| |||
| aixtest wrote: > Hi, > > I do have a problem running my app cause it needs more than 11 shared > memory segments, therefore I've set the env EXTSHM=ON according to the > man shmat with no effect. Anyone a suggestion what might be wrong. > > regards > EXTSHM, AFAIK, doesn't give you more segments. It allows more attaches to succeed, packing the shared memory regions/etc into the available space. If you're working with 11 256 MB segments, you've taken up all the space available. On AIX 5.2, you can try using the DSA feature to free up segments 13 and 15, but you are still limited to the size of the 32-bit address space, which allows 3.25 GB of shared memory regions. No more. (Read up on LDR_CNTRL=MAXDATA=xxxxxxxx/DSA for more info. -- Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE __________________________________________________ ______________________ |
| ||||
| set SHMLBA_EXTSHM=1024 or some other value > 11 "Gary R. Hook" <nospam@nospammers.net> wrote in message news:v9vWa.11891$z52.3596@newssvr22.news.prodigy.c om... > aixtest wrote: > > Hi, > > > > I do have a problem running my app cause it needs more than 11 shared > > memory segments, therefore I've set the env EXTSHM=ON according to the > > man shmat with no effect. Anyone a suggestion what might be wrong. > > > > regards > > > EXTSHM, AFAIK, doesn't give you more segments. It allows more > attaches to succeed, packing the shared memory regions/etc into > the available space. If you're working with 11 256 MB segments, > you've taken up all the space available. > > On AIX 5.2, you can try using the DSA feature to free up segments > 13 and 15, but you are still limited to the size of the 32-bit > address space, which allows 3.25 GB of shared memory regions. > No more. (Read up on LDR_CNTRL=MAXDATA=xxxxxxxx/DSA for more > info. > > -- > Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE > __________________________________________________ ______________________ > |