Re: Q: SHMTOTAL
Posted in 2004
On Tue, 28 Sep 2004 02:58:13 -0400, Davorin Kremenjas wrote:
32bit processes on Solaris can only access/attach about 3.6 GB of shared
memory segments with no segment larger than 2 GB (or the OS configured
maximum segment size which may be smaller). I have a test prog if you
want to play. To use more than than you need to get a 64bit release.
Art S. Kagel
> IDS 9.40 UC3 (32-bit) on Solaris 9 (64-bit) on Sun Fire V480 with 4
> processors and 12 GB of RAM.
>
> Hello everyone.
>
> I'm testing a new Informix configuration just to see if I can use as much of
> a system resources as I have.
> But, there seems to be a problem with the total amount of memory 32-bit
> Informix can use. For example, the following parameters work fine:
> SHMVIRTSIZE 2097152 # 2 GB SHMADD 1048576 #
> 1 GB SHMTOTAL 3670016 # 3.5 GB>
> But, after changing SHMOTOTAL to 5 GB (SHMTOTAL 5242880) instance cannot
> initialize shared memory and I get the following message in Informix log:
> "Value of SHMTOTAL exceeds operating system limits".
>
> Previously I set kernel parameter shmmax to 3 GB so Informix can acquire big
> memory segments.
>
> At the moment I'm not sure if this is really OS limit or 32-bit Informix
> limit. If I set SHMTOTAL to zero will Informix really be able to use more
> than 4 GB of memory? Or should I migrate to 64-bit Informix?
>
> Thanks everyone.