SHMMAX kernel parameter

Hello -
I'm running Oracle 10g R2 on Solaris 10. Does anyone know how to set the shmmax kernel parameter? According to Oracle documention, all kernel parms have been deprecated except for shmmax, but I believe this is stored and set in a different location on Solaris 10.
Thanks

A lot of kernel parameters, including SHMMAX, were replaced in Solaris 10 by resource controls.
you can check
Metalink note 317257.1
and
Installing OCS 10g R1 on Solaris 10
Mike

Similar Messages

  • Confirm that SHMMAX kernel parameter is set datastore size

    Hi,
    I'm getting below exception when i'm trying to create datastore. The error is complaining about failure to create shared memory segment.
    I did go through the T-10 documentation and various post on this forum, and have made sure that the OS and the DSN settings are as per the recommended values. The values meets(or rather exceeds) the minimum values.
    The values are based on below formulas:
    kernel.shmmax (in bytes) = Should be >= PermSize + TempSize + LogBufMB +~50MB overhead
    kernel.shmall (in pages) = Should be >= ceil ( SHMMAX / PAGE_SIZE)
    SwapTotal (in KB) = Swap space should generally be at least 1.5x total physical memory size. It should be sufficient to allow allocation of a large enough shared memory segment
    TempSize (in MB) = Should be >= 40 MB + ceiling( PermSize / 8 MB)
    I have pasted below following things. Please, can any one help me resolve this issue.
    - exception in ttmessg.log
    - output of cat /etc/sysctl.conf
    - sys.odbc.ini datastore configuration
    - cat /proc/meminfo
    - Swap space
    - output of ttstatus
    - output of ttversion
    [oracle@ttnode1 info]$ ttdaemonadmin -stop
    TimesTen Daemon stopped.
    [oracle@ttnode1 info]$ ttdaemonadmin -start
    TimesTen Daemon startup OK.
    [oracle@ttnode1 info]$ ttisql "dsn=tt"
    Copyright (c) 1996-2011, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    connect "dsn=tt";
    *836: Cannot create data store shared-memory segment, error 22*
    The command failed.
    Done
    The exception in ttmesg.log
    [oracle@ttnode1 info]$ tail -f ttmesg.log
    2013-01-14 17:42:49.98 Warn: : 6533: TimesTen Daemon Release 11.2.2.4.0.tt started.
    2013-01-14 17:42:59.45 Err : : 6533: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x0200778b
    2013-01-14 17:42:59.45 Err : : 6533: -- OS reports invalid shared segment size
    2013-01-14 17:42:59.45 Err : : 6533: -- Confirm that SHMMAX kernel parameter is set > datastore size
    2013-01-14 17:45:32.67 Warn: : 6533: request id check 'MKB9+MF7V7DybTjglCEC/10d5/N7FCEFtayvZF4a9xQ=' failed (-5)
    2013-01-14 17:47:18.45 Warn: : 6533: request id check 'u6GF7bBtmRQCXKYMAWa7LhwCv1GtIG8HXdW0GLRLHEU=' failed (-5)
    2013-01-14 17:47:41.62 Warn: : 6533: request id check 'nNAzUc/plNUStN85qP9htbsz/E5psODMEeRYLmE/n50=' failed (-5)
    2013-01-14 23:15:34.58 Warn: : 8590: TimesTen Daemon Release 11.2.2.4.0.tt started.
    2013-01-14 23:15:43.44 Err : : 8590: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294
    2013-01-14 23:15:43.44 Err : : 8590: -- OS reports invalid shared segment size
    2013-01-14 23:15:43.44 Err : : 8590: -- Confirm that SHMMAX kernel parameter is set > datastore size
    2013-01-14 23:16:11.23 Warn: : 8590: request id check 'v4TJ+ZyP3KRvGxfkguLgxNyRUdtfw/MMFrvR2tWMUBk=' failed (-5)
    2013-01-14 23:18:01.34 Warn: : 8590: request id check 'p4DVyvW75Fjlo3dQ5f8OFbk4qpolqj8gFyQhqfW4ekQ=' failed (-5)
    2013-01-14 23:19:50.28 Warn: : 8590: request id check 'DPQ8gSYcljQtkuvx6ccI5a5OGcjXklItV4Mj3Cf0DmA=' failed (-5)
    2013-01-14 23:41:01.97 Warn: : 8820: TimesTen Daemon Release 11.2.2.4.0.tt started.
    *2013-01-14 23:41:10.10 Err : : 8820: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294*
    *2013-01-14 23:41:10.10 Err : : 8820: -- OS reports invalid shared segment size*
    *2013-01-14 23:41:10.10 Err : : 8820: -- Confirm that SHMMAX kernel parameter is set > datastore size*
    2013-01-14 23:42:20.31 Warn: : 8820: request id check 'sHRtjK5AUKI/RYPN6Mf6ivOPeGVFysbXT4eU9dfBZPw=' failed (-5)
    2013-01-14 23:43:24.14 Warn: : 8905: TimesTen Daemon Release 11.2.2.4.0.tt started.
    2013-01-14 23:43:29.64 Err : : 8905: TT14000: TimesTen daemon internal error: Error 22 creating shared segment, KEY 0x02008294
    2013-01-14 23:43:29.64 Err : : 8905: -- OS reports invalid shared segment size
    2013-01-14 23:43:29.64 Err : : 8905: -- Confirm that SHMMAX kernel parameter is set > datastore size
    Here is the OS setting.
    *[oracle@ttnode1 ~]$ cat /etc/sysctl.conf*
    # Kernel sysctl configuration file for Red Hat Linux
    # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and
    # sysctl.conf(5) for more details.
    # Controls IP packet forwarding
    net.ipv4.ip_forward = 0
    # Controls source route verification
    net.ipv4.conf.default.rp_filter = 1
    # Do not accept source routing
    net.ipv4.conf.default.accept_source_route = 0
    # Controls the System Request debugging functionality of the kernel
    kernel.sysrq = 0
    # Controls whether core dumps will append the PID to the core filename
    # Useful for debugging multi-threaded applications
    kernel.core_uses_pid = 1
    # Controls the use of TCP syncookies
    net.ipv4.tcp_syncookies = 1
    # Controls the maximum size of a message, in bytes
    kernel.msgmnb = 65536
    # Controls the default maxmimum size of a mesage queue
    kernel.msgmax = 65536
    # Controls the maximum shared segment size, in bytes
    kernel.shmmax = 68719476736
    # Controls the maximum number of shared memory segments, in pages
    kernel.shmall = 4294967296
    Here's the DSN setting
    * Datastore configuration in sys.odbc.ini file*
    *[oracle@ttnode1 info]$ grep -v ^# sys.odbc.ini | sed '/^ *$/d'
    [ODBC Data Sources]
    TT=TimesTen 11.2.2 Driver
    [TT]
    Driver=/home/oracle/TimesTen/tt/lib/libtten.so
    DataStore=/home/oracle/TimesTen/tt/info/DStore/itt_11224
    DatabaseCharacterSet=AL32UTF8
    PermSize=128
    TempSize=96
    ReplicationApplyOrdering=0
    ReplicationParallelism=4
    LogBufParallelism=4
    LogBufMB=32
    LogFileSize=32
    LogFlushMethod=2
    *[ice@ttnode1 ~]$ cat /proc/meminfo*
    MemTotal: 3865624 kB
    MemFree: 2287936 kB
    Buffers: 9744 kB
    Cached: 189340 kB
    SwapCached: 62588 kB
    Active: 739244 kB
    Inactive: 796816 kB
    HighTotal: 0 kB
    HighFree: 0 kB
    LowTotal: 3865624 kB
    LowFree: 2287936 kB
    SwapTotal: 2031608 kB
    SwapFree: 1755480 kB
    Dirty: 316 kB
    Writeback: 0 kB
    AnonPages: 1310800 kB
    Mapped: 24260 kB
    Slab: 12952 kB
    PageTables: 8712 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    CommitLimit: 3964420 kB
    Committed_AS: 2886040 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed: 1616 kB
    VmallocChunk: 34359736599 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    Hugepagesize: 2048 kB
    *[ice@ttnode1 ~]$ grep SwapTotal /proc/meminfo*
    SwapTotal: 4128752 kB
    Earlier the swap space was 2031608 KB, but snice it shuold be 1.5 times the physical memory, i bumped it up to its current value
    *[oracle@ttnode1 info]$ ttstatus*
    TimesTen status report as of Mon Jan 14 17:47:32 2013
    Daemon pid 6533 port 53398 instance tt
    TimesTen server pid 6550 started on port 53399
    Accessible by group oinstall
    End of report
    *[oracle@ttnode1 info]$ ttversion*
    TimesTen Release 11.2.2.4.0 (64 bit Linux/x86_64) (tt:53398) 2012-09-24T08:28:05Z
    Instance admin: oracle
    Instance home directory: /homankse/oracle/TimesTen/tt
    Group owner: oinstall
    Daemon home directory: /home/oracle/TimesTen/tt/info
    Thanks,
    Ved

    Hi,
    On continuing my debugging steps, if checked the limits for IPC facility.
    ipcs -m -l
    ------ Shared Memory Limits --------
    max number of segments = 4096
    max seg size (kbytes) = 32768
    max total shared memory (kbytes) = 8388608
    min seg size (bytes) = 1
    This says that "max number of segments = 4096", where as the kernel parameter is defined as "kernel.shmall = 4294967296".
    Am i correct in understanding that "max number of segments" is same as "kernel.shmall" and the values should be same.
    Also, it says that "max seg size (kbytes) = 32768" ie around 32MB, where as the kernel parameter is defined as "kernel.shmmax = 68719476736" i.e around 64BG.
    and since, the DSN is requesting to create shared memory segment of 128MB, which is greater that 32MB(as per max seg size (kbytes) = 32768), Timesten is throwing the error.
    Thanks everyone for helping me out.
    _ved                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Maximu Shared Memory (shmmax kernel parameter)

    Hi,
    in all Unix Installation documents...
    shmmax kernel parameter to be set as the Half of the Physical RAM.
    per suppose...if we have 6 GB Ram...cant we increase the SGA size to 5 GB........does it make sense...or any other ....this is the Apps Database with 10g..no other database on this machine....
    anywork arounds .....

    It depends on your exact Unix OS and if your database is 32 or 64 bit. I would not advise setting SGA to 5GB on a 6 GB machine as you leave almost nothing for the OS, nor PGA/UGA shadow processes. If you have more than like 10 connections, I would set the SGA to no more than 2 or 3 GB, then have a 1 GB pga_aggregate_target.

  • Kernel parameter tuning in Solaris 10

    Hi Guru's
    Can you any one help me to find the some good docs for Solaris kernel tuning. How to change the kernel parameter online?
    How to do kernel tuning in online and what is the purposre of /etc/system and sysdef command.
    How I can search for exisiting kernel value.
    Thanks in advance.
    Jimbe

    There is interesting info at [Solaris Internals|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals] .
    have a good day,
    Glen

  • Rlim_fd_max Kernel Parameter on Solaris 9

    I am trying to install Oracle Application Server 10g Release 2 on Solaris 9. The installation errors out on the "Select Configuration Options" screen with the following error:
    "Oracle Application Server 10g Web Cache requires the Kernel Parameter rlim_fd_max to be set to a value of 65536 or higher. Please set rlim_fd_max to 65536 or higher, reboot the machine and restart the installation".
    I checked the value of the set rlim_fd_max Kernel Parameter prior to starting the install and it is set to 65536. Does anyone know why I'm getting this error? Thanks in advance!

    I was able to get an answer by opening a SR with Metalink. The problem was that even though the rlim_fd_max default on Solaris 9 is 65536, it must be in the /etc/system file. Must be the installer looks at the file to determine that it is set correctly. So, adding set rlim_fd_max=65536 and set rlim_fd_cur=1024 to the /etc/system file fixed the problem.

  • Oracle 10g on solaris 10 : kernel parameter warning

    I am installing oracle 10g on Solaris 10.
    I have a warning on kernel parameter missing (shminfo_shmmax for example) during the system check.
    I understood that with the 10 version of solaris these parameters are replaced by ressources control and I have checked them. They are correctly setted.
    Need I do something before continue the install to release the warning or can I bypass this issue and continue the install as I have no warning ?
    Thanks for your answers.
    Sorry for my english.

    You are right. Since Solaris 10 kernel parameters settings in /etc/system is obsolete and some parameters are deprecated.
    The steps how to configure required parameters you can find in my paper (step #1.): http://ivan.kartik.sk/oracle/install_ora10gR2_solaris.html
    I bypass this issue and continue the install as I have no warning You can safely bypass this issue during installation process but you should set these parameters after installation.

  • Determining OS Kernel parameter settings in HP ITANIUM

    Hi
    Can any one help me out to determine the depedant OS kernel parameters settings in HP IA-64 for Oracle database 10.2.0.4 after increasing the processes parameter value in the database level .
    As after increasing the processes parameter to 10000 , we are getting n number of issues related to one or the other OS kernel parameter , so we want to take one single downtime and settle all the issues.
    Regards,
    Phani Kumar P

    Hi
    Acutally we already increased the processes parameter to 10000 by modifying nproc value to 30000 , now we are receiving issues respect to database as below and inturn there is problem in getting connected to the database giving ora-12502 error
    Errors in file /ora/newdump/ACEPROD/udump/aceprod1_ora_4712.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-27504: IPC error creating OSD context
    ORA-27300: OS system dependent operation:bind failed with status: 227
    ORA-27301: OS failure message: Can't assign requested address
    ORA-27302: failure occurred at: sskgxpcre3
    kkjcre1p: unable to spawn jobq slave process
    Tue Jan 5 18:28:57 2010
    Errors in file /ora/newdump/ACEPROD/bdump/aceprod1_cjq0_20387.trc:
    So now we want to fix the issues by setting optimal values for OS Kernel parameter for NPROC value equals 30000.
    Regards,
    Phani Kumar p
    +919948677317

  • What is the resource control corresponding to each kernel parameter

    Hi
    I am trying to prepare (i.e. tune) a Solaris 10 instance for an Oracle 10g install using a Solaris 10 project.
    I am new to using Solaris 10 project resource controls so I might get some of this totally wrong.
    I know all of the "old" kernel parameter names: what each represents and its' required value and I know some of the corresponding resource controls but not all of them.
    That is I do not know the resource control corresponding to each and all of the kernel parameters.
    e.g. I know:
    semsys:seminfo_semmsl == process.max-sem-nsems == The maximum number of sempahores that can be in one semaphore set
    shmsys:shminfo_shmmax == project.max-shm-memory == The maximum size(in bytes) of a single shared memory segment
    shmsys:shminfo_shmmni == project.max-shm-ids == The number of shared memory identifiers
    But I do not know, for example, what resource control corresponds to:
    semsys:seminfo_semmns == The number of semaphores in the system
    Is there a list somewhere of the resource control corresponding to each of the kernel parameters ?
    I know I can set some kernel parameters in /etc/system but that should only be used for system - wide kernel parameters, right ?
    I know there are project, process, task and zone classes of resource controls.
    Can a resource control of any and all of these types be set in a project ?
    Are zone resource controls equivalent to system-wide resource controls ?
    Are there corresponding resource controls to all kernel parameters e.g. such as noexec_user_stack ?
    I have set noexec_user_stack in /etc/system.
    And finally - just to be sure - using a project makes the resource control values permanent, right ?
    Thanks
    Brett.

    Hi;
    Please check below which could be helpful for your issue:
    Kernel setup for Solaris 10 using project files [ID 429191.1]
    Regard
    Helios

  • Kernel parameter for zones

    Hi everybody,
    I trying to install Oracle Application server in solaris native zone. I am getting the following error " Oracle application Server 10g Web Cache requires the kernel parameter rlim_fd_max to be set to a valuse of 65536 or higher. Please set rlim_fs_max to 65536 or higher , reboot the machine asn restart the installation.
    but the value is already set to same value
    $ ulimit -Hn
    65536
    Any idea how set this value for zone ?
    Thanks
    John

    Sorry, doubled response
    Edited by: brusell on Jun 10, 2010 4:24 AM

  • Installing OCS 10g on RHEL 3 (Upd 4) failing kernel parameter checks

    Hi all,
    I am preparing for upgrading my OCS 9.0.4.2 to 10g. While running the Universal Installer it fails within the kernel parameter checks. It complains about two parameters that cannot find in /proc/sys/kernel. The two parameters are: hardnofiles and softnofiles. I don't have any idea what those could be, anyone out there who can tell me what this means?
    Thanks,
    Stephan
    Message was edited by:
    sbudach

    check out /etc/security/limits.conf you should add values to the bottom of that file as shown in the install guide.
    This is what I have in mine;
    * soft nproc 2047
    * hard nproc 16384
    * soft nofile 1024
    * hard nofile 65536
    Cheers.
    Ben

  • Kernel Parameter Update

    Best Friends
    Recently added new hardware to a production server, before I had:
    06 cpu
    24 Gb Mem
    Now you have:
    08 cpu
    32Gb Mem
    After that, evaluate SGA Delk increase server area was very small, the area now has 8GB SGA
    The parameters to increase in this activity increased SGA were:
                                                         Before      Now
    sga_max_size                               03Gb      08Gb
    db_cache_size                              02Gb      04Gb
    SHARED_POOL_SIZE                    816Mb    2.4Gb
    shared_pool_reserved_size          84Mb      245 Mb
    What I'm not clear is the following,:
    After increasing CPU and memory on the server and then adjust these parameters of the SGA, I have to adjust or increase any kernel parameter value??

    Hi Friends,
    That's the point, I know the parameters needed depending on the SAP installation should have some defaults.
    But here, after increasing CPU and memory, there is also some connection to increase certain parameters at the kernel level?
    I do not know.
    So my consuls, if I increase some kernel parameters.
    Thank you for your attention

  • Could not update  the kernel parameter when oracle 10g  Installation.

    Hi,
    I tried to update ip_local_port_range in sysctl.conf file.
    vi /etc/sysctl.conf
    net.ipv4.ip_local_port_range=1024 65000
    After changing the value i executed following command,
    sysctl -p
    Error : Unknown error 22 setting key 'net.ipv4.ip_local_port_range'
    Please help

    You didn't specify if you are on a linux based OS, it looks like you are, but it would be so kind on your side if you clearly specify the OS version and which DB version you are planning to install.
    When I perform installations of DB10gR2 on OEL4/OEL5 or RHEL4/RHEL5 i issue this commands:
    echo net.ipv4.ip_local_port_range = 1024 65000 >> /etc/sysctl.conf
    Once the kernel parameter have been set, the kernel must be re-read with the /sbin/sysctl -p command.
    ~ Madrid
    http://hrivera99.blogspot.com

  • How to setup HPUX kernel parameter for ulimit ?

    Dear ,I have a problem on HPUX for installation of Essbase. The error is come from "ulimit -s 32000". How to tune kernel parameter ? I had checked every documents. No one said about it.Thanks !Vincent Lu

    You are right, table is GL_PERIOD_SETS
    For Accounting Calender info typically the PERIOD_SET_NAME is used
    for Accounting Calendar name

  • RH Linux vm.swappiness kernel parameter

    The linux kernel parameter vm.swappiness affects the tendency of the OS to swap. It has a range from 0 to 100, with 0 causing swapping to occur only when needed and 100 to swap more aggressively. The default setting is 60.
    There is little information available regarding an appropriate setting for this for Oracle RAC nodes. Do any of you have experience with swappiness? I have seen a few articles which recommend setting it to zero (0).
    Best regards,
    Bill

    Our systems administrator have inquired about this parameter. I am not fixated on this and do not suffer from compulsive tuning disorder.
    You, on the other hand, are obviously compulsive about too many of the wrong things. I'm sure everyone loves working with you...

  • Maxuproc kernel parameter

    Hi,
    I need to modify maxuproc kernel parameter in linux (Red hat).
    Please assist.
    Thanks,

    This is a Oracle forum, not a linux forum. Please close that post and open a new one in the correct forum.

Maybe you are looking for

  • XSI RAW to Aperture via DNG

    I have a question concerning the Adobe DNG Converter. I would like to use it as long as there is no Xsi support in Aperture. In the Converter preferences there is an option to "embed original". Can I safely use it for imports into AP and delete the o

  • Photo stream is not enabled

    Problem: My photo stream on my PC is not uploading photos from my iPad and iPod. I get the message "Photo Stream is not enabled. Sign into iCloud to view Photo Stream"  When i go to iCloud in Control Panel, I am signed into iCloud on my PC (with Wind

  • F.27 A/R Periodic Account Statement

    Dear experts, I am running transaction F.27 but when i try to print, i can`t get any output. Could someone advise what could be causing this problem. Thank you for all your support. J Thomson

  • Gateway host and gateway service query

    Hi Friends,       Happy new year all.         Im working on <b>sap-siebel</b> integration,in rfc(sm59) destinations -TCP/IP connections ....     I need to give Program and gateway options in sap system.plz let me know where can i find the gateway hos

  • Can anyone explain me what is netweaver

    Hi All, what is netweaver....can anyone explain me.. cheers, Raghavesh