1836521 Members
2798 Online
110101 Solutions
New Discussion

Re: SHMMAX max memory

 
SOLVED
Go to solution
rudy_3
Occasional Advisor

SHMMAX max memory

i have on my system 5 gb and i want to assign to sybase database 4 GB but i need to change SHMMAX to more then 4GB but it is not happening how can i make the memory usage bigger
good
15 REPLIES 15
Peter Godron
Honored Contributor
Solution

Re: SHMMAX max memory

rudy,
as you don't mention OS level, possible solution (11.11):
PHKL_30196

RAC_1
Honored Contributor

Re: SHMMAX max memory

What version of OS? What version of Sybase 32/64 bit?
There is no substitute to HARDWORK
rudy_3
Occasional Advisor

Re: SHMMAX max memory

sorry about that
11.11
good
rudy_3
Occasional Advisor

Re: SHMMAX max memory

sybase 64 b
good
Peter Godron
Honored Contributor

Re: SHMMAX max memory

rudy,
another patch found:
PHKL_24032
seems there is whole raft of them out there
rudy_3
Occasional Advisor

Re: SHMMAX max memory

do u think a full system bk is needed or not really ??
good
Peter Godron
Honored Contributor

Re: SHMMAX max memory

rudy,
first ensure that these are the correct patches for your OS and that all the symtoms match. Then it depends on the criticality of the server, but normally you can back out a patch if you really need to.
RAC_1
Honored Contributor

Re: SHMMAX max memory

Full system backup not required. But make sure that you are backing up old kernel.
cp /stand/vmunix /stand/vmunix.old
cp /stand/system /stand/system.old
cp -r /stand/dlkm /stand/dlkm.old
There is no substitute to HARDWORK
rudy_3
Occasional Advisor

Re: SHMMAX max memory

is it possible to bother you to send me the proper procedure of backing up the kernel and the system if you dont mind and what are the proper files to backup and the proper procedure to recover if you dont mind
good
RAC_1
Honored Contributor

Re: SHMMAX max memory

Back up procedure is just about backing up old kernel files as mentioned above. Recovernig from old kernel will be as follows.

FROM ISL prompt, boot from old kernel.

hpux /stand/old_kernel_file_name.

Once you boot, you can move old files into place and start from there.
There is no substitute to HARDWORK
rudy_3
Occasional Advisor

Re: SHMMAX max memory

do u think any kmtune to do the settings or no
i applied patch 4302 but no luck i am searching for the other patch PHKL_30196
cant seem to find it
good
Ninad_1
Honored Contributor

Re: SHMMAX max memory

Rudy,

What version of sybase database are you using ? Have you checked if there are restrictions in that version of sybase of how much max shared memory can be used. I am not famaliar with sybase, but I remember hearing from a DBA that some 8.x version of Oracle had a limitation of SGA size max limitation of 4 GB or something - so thought of suggesting you do check.

Regards,
Ninad
RAC_1
Honored Contributor

Re: SHMMAX max memory

Patch is there.

http://www1.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.pdb|patch.breadcrumb.search|&patchid=PHKL_30196&context=hpux:800:11:11

Also, how did you try setting shmmax to 4GB? Through SAM or through command line?
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: SHMMAX max memory

Shalom rudy,

You need to fully patch your system prior to configuring sybase.

Here is a SHMMAX rule of thumb.

The maximum usable setting for this paramter is 25 percent of memory. Memory in this case is defined as RAM plus swap.

Certain Oracle products require the SHMMAX setting to be set to 100% of physical RAM otherwise they won't install. The OS lets you do this and then proceeds to ignore settings higher than 25% of RAM.

The patche noted above permits you to set the settings for SHMMAX to where you need. SHMMAX is a dynamic kernel parameter with 11i and can be set without rebooting the system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rudy_3
Occasional Advisor

Re: SHMMAX max memory

hi thanks to all but the patch PHKL_30196 has solved the case i only still have one question how did u find out about the patch that it was about the problem

thanks
good