Operating System - HP-UX
1752754 Members
4893 Online
108789 Solutions
New Discussion юеВ

Re: shared memory more than 2.75GB

 
suchetan
New Member

shared memory more than 2.75GB

I am finding it difficult to set shared memory more than 2.75 GB on HP-UX 11.0 for sybase 11.9.2.. Is there any patch which will aleast help me to assign 3.5 or more memory or is there any workaround.
Regards
suchetan
5 REPLIES 5
harry d brown jr
Honored Contributor

Re: shared memory more than 2.75GB

Are you running 32bit or 64bit???

live free or die
harry
Live Free or Die
suchetan
New Member

Re: shared memory more than 2.75GB

It is a 32 bit sybase 11.9.2

Regards
G. Vrijhoeven
Honored Contributor

Re: shared memory more than 2.75GB

Hi,

shmmax
shmmax specifies system-wide maximum allowable shared memory segment size.

Acceptable Values:
Minimum
2048 (2 Kbytes)
Maximum
0x40000000 (1024 Mbytes) on 32-bit systems
Maximum 1 Tbyte on 64-bit systems
Default
0x04000000 (64 Mbytes)
Specify integer value. For more information, see Specifying Parameter Values.

The value used cannot exceed maximum available swap space. For minimum and maximum allowable values, as well as default value for any given system, refer to values in /etc/conf/master.d/* files.

check out:

http://docs.hp.com/hpux/onlinedocs/os/KCparam.ShMmax.html

Hope this will help,

Gideon
Bill Hassell
Honored Contributor

Re: shared memory more than 2.75GB

There are severe restrictions on 32 bit programs as far as addressability for shared memory. 'Normal' programs are limited to 940 megs maximum. Using EXEC_MAGIC, SHARE_MAGIC and other options for compiling a 32-bit program, you can go as high as 2.75Gb, but no more. This has always been (and will always be) a limit for 32bit executables.

All of the restrictions are removed with 64bit executables (well, the executable is limited to about 8,000 gigabytes of RAM but I'm sure that's enough for now).


Bill Hassell, sysadmin
Sandip Ghosh
Honored Contributor

Re: shared memory more than 2.75GB

2.75 GB is the limitation of 32 bit Operating System. If you are having more than 4GB RAM in the system you can try to implement memory windows to utilise the memory.

Sandip
Good Luck!!!