Jesus Centella
> I would like to resolve a problem:
> Message in /informix/online.log :
> shmat: [EINVAL][22]:shared memory base adress illegal
> using 0xd0000000, needs 0xffffffff
> Anybody knows the problem and the solution? (Possible bad parameters)
> In informix or AIx? I don?t know .....
> Thanks Thanks
I have had the same problem with AIX 4.2.1 and Informix OnLine 7.22UC2.
The solution was to increase the size of new shared memory segments
because on AIX their is a limit of 10 shared memory segments. I don't
know if is possible to change this limit. But it was easier to me just
to change the SHMADD parameter i the onconfig file and then recycle
the Informix Server. You can also increase the SHMVIRTSIZE parameter
to prevent the Informix Server to make to many new shared memory
segments.
Make onstat -g seg -- and count the numbers of shared memory segments .
Make onmode -F -- free unuseed shared memory segments
From onconfig :
SHMBASE 0x30000000 c Shared memory base address
SHMVIRTSIZE 8000 c initial virtual shared memory segment
SHMADD 4096 c Size of new shared memory segments (Kbyte)
SHMTOTAL 0 c Total shared memory (Kbytes). 0=>unlimited
Hope this will help you.
Bjarne W. Jensen
Alm. Brand
Denmark