Operating System - HP-UX
1753819 Members
8918 Online
108805 Solutions
New Discussion юеВ

Re: HPUX 11i (11.11) shmmax setup problem

 
SOLVED
Go to solution
FTSE SysAdmin
Frequent Advisor

HPUX 11i (11.11) shmmax setup problem

Hi,

I'm most probably missing something or getting old and forgetting elementary things while under stress :)

So, I'm trying to increase the shared memory up to 7Gb (of a rp3440 that has 8Gb of RAM).

And for some reason SAM does not allow me to set shmmax up to 7516192768, and it says that, the max allowed is 1073741824.

If there are someone that would kindly give me a hand point me at the right direction (and before I get this box and throw it up from 12th floor)... I'll really be greateful :)

Here are the details:

The OS is HP-UX 11i (11.11) Enterprise

swapinfo -tm details
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 16384 0 16384 0% 0 - 1 /dev/vg00/lvol2
reserve - 242 -242
total 16384 242 16142 1% - 0 -

/stand/system

* Tunable parameters

STRMSGSZ 65535
dnlc_hash_locks 512
max_thread_proc 512
maxdsiz_64bit 1073741824
maxfiles 2048
maxfiles_lim 2060
maxssiz 0X800000
maxssiz_64bit 0X800000
maxswapchunks 8684
maxtsiz 0X4000000
maxtsiz_64bit 1073741824
maxuprc 597
maxusers 200
maxvgs 80
msgmni 664
msgseg 26560
msgssz 128
msgtql 6640
nfile (15*NPROC+2048)
nflocks 664
ninode (8*NPROC+2048)
nstrpty 60
nstrtel 200
nswapdev 25
semmni 3320
semmns 6640
semmnu 660
semume 64
shmmax 1073741824
shmmni 512
shmseg 300
swapmem_on 0
swchunk 4096
unlockable_mem 2000

Many thanks
Miguel Ribeiro
6 REPLIES 6
Sandman!
Honored Contributor

Re: HPUX 11i (11.11) shmmax setup problem

That's correct as the size of a single shared memory segment cannot be more than 1GB.

cheers!
Don Morris_1
Honored Contributor
Solution

Re: HPUX 11i (11.11) shmmax setup problem

Sounds like you need PHKL_30196: s700_800 11.11 64-bit SHMMAX maximum,enable ShmemExtensions.

This is JAGad46609.

Don Morris_1
Honored Contributor

Re: HPUX 11i (11.11) shmmax setup problem

(Off topic a bit) Sandman: That's only true for shared memory segments in 32-bit space. On a 64-bit machine/64-bit kernel, shared segments created in 64-bit space (above 4Gb) can be created up to the full value of shmmax.
FTSE SysAdmin
Frequent Advisor

Re: HPUX 11i (11.11) shmmax setup problem

Sandman,

I got other machines with the same kernel settings as showed above, where I use values from 8 to 12Gb on shmmax.

Don Morris,

Its a good point, I'll need to look at that patch.
Because I never had this issue before. (And yes its 64bit system)

Thanks

Miguel Ribeiro
FTSE SysAdmin
Frequent Advisor

Re: HPUX 11i (11.11) shmmax setup problem

as feedback and to close this topic.

The patch solved the issue, now shmmax has 7Gb assigned.

Many Thanks Sandman and Don Morris
Miguel Ribeiro
FTSE SysAdmin
Frequent Advisor

Re: HPUX 11i (11.11) shmmax setup problem

topic closed
Miguel Ribeiro