Increasing kernel parameters Solaris

Hi,
actually i have these parameters and i need to increase them. Which will be the next values to be entered for those ones. Im using solaris 10 , oracle 10gR2.04.
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmni=2500
set semsys:seminfo_semmsl=1000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=2500
Thx

Hi here i have answer for your query
if you want to set kernel parameters on solaris means
open the system file as vi /etc/system
and type the following at the end of file
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmni=2500
set semsys:seminfo_semmsl=1000
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmseg=10
set semsys:seminfo_semmns=2500
save and exit
reboot your system
now your kernel parameters changed
okkkkkk

Similar Messages

  • Unable to set  kernel parameters using solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

  • Unable to set kernel parameters using Reource Control in solaris 10

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx

  • Calculating Kernel parameters for Oracle 11g R2 db on solaris 10u9

    Hi Everyone,
    I have query regarding calculating the kernel parameters for deploying oracle 11g R2 db on solaris 10 v 5.10 update 09 machine , we have Ram size of 64gb.
    My question is how to calculate shared memory ,shared memory identifiers,semaphores, semaphores identiifiers for creating resource control for the project(user.oracle).
    And how to fine out the available semphore values allocated in system..
    Thanks in Advance.
    Edited by: 898979 on Dec 15, 2011 10:24 PM

    Hi;
    For those setting mention in installation guide which is already shared previous post.
    I suggest also see:
    Oracle Database on Unix AIX,HP-UX,Linux,Mac OS X,Solaris,Tru64 Unix Operating Systems Installation and Configuration Requirements Quick Reference (8.0.5 to 11.2) [ID 169706.1]
    Regard
    Helios

  • Kernel parameters in solaris 9

    Can some one list some important tunable kernel parameters in solaris 9. Or a document to go through
    Thanks
    Naras

    have a look at : - http://docs.sun.com/db/doc/816-7137?q=tunable&s=t
    you can alaways come back to us if you have any questions about a specific tunable.
    - Saurabh Mishra

  • Setting IPCS kernel parameters in Solaris 9

    I'm trying to install Oracle 9i on Solaris 9 but it fails during the database instance startup phase of the installation. The error message that I get relates to a failure in shmget. I read the Oracle docs and other docs and this is how I set the parameters in /etc/system:
    set semsys:semmni=100
    set semsys:semmns=1024
    set semsys:semmsl=256
    set shmsys:shmmax=4294967295
    set shmsys:shmmin=1
    set shmsys:shmmni=100
    set shmsys:shmseg=10
    I noticed that the semaphore and shared memory modules are not loaded when the system boots up, instead they are only loaded when the semget or shmget commands are called by dbca. When I execute the command sysdef I notice that these kernel parameters are set to the default values not the values that I specified in /etc/system. I am new to Solaris so could someone with an expertise in it point me in the right direction.
    Thanks in advance.

    have a look at : - http://docs.sun.com/db/doc/816-7137?q=tunable&s=t
    you can alaways come back to us if you have any questions about a specific tunable.
    - Saurabh Mishra

  • Kernel parameters -maximum threads per process

    How can we change the kernel parameters also how can we increase the maximum number of threads allowed .
    How can we increase maimum perocess per used id .

    There is no kernel parameter limiting the maximum
    number of threads allowed. If you are talking about
    user level threads, you will run into virtual address
    space limitations at about 3000 for a process
    assuming 32-bit address space and default
    stack size of 1M per thread, and assuming you are
    not using the alternate thread library (see threads(3thr))
    or Solaris 9. If you need more than this many
    threads at the same time, I suspect you are doing something
    incorrectly. Otherwise, try using a smaller stack size
    per thread. If you are running on Solaris 9, or using
    the alternate thread library, both give you a 1x1
    thread model, i.e., each user thread has a corresponding
    kernel entity (lwp). In this case, you will cause
    your machine to hang by eating up all available
    space for lwp's. In either case, the question should be:
    "how do I limit the number of threads per process?", since
    there is currently no limitation other than space.
    In Solaris 9, you can use resource management to
    limit the number of lwp's (and therefore user threads)
    per process.

  • Unable to set kernel parameters using Reource Control

    HI,
    I'm trying to install DB2 8.2 on solaris 10.the problem i'm encountering in installation is unable to set MSGMAX and MSGMNB kernel parameters. I tried setting the new replacement parameter process.max-msq-qbytes through projects->Resource Control from the management console.but still uinable to set the parameters.
    Can anyone help me in setting the above kernel parameters.
    Its not possible to set it thru /etc/system.
    thanx
    guru

    I finally had some time to find the actual syntax for tuning process.max-msq-qbytes and process.max-msg-messages. prctl will change those paramaters for an existing process.
    As a proof of concept I changed process.max-msg-messages to a 64k. process 2221 is my shell.
    prctl -n process.max-msg-messages  -r -v 64k 2221
    bash-3.00# prctl 2221
    process: 2221: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -And now to make this persist across reboots...
    So long as I'm experimenting, I'll use projadd and add a new project which just includes me and not the rest of the users in the group staff.
    bash-3.00# projadd -p 115 -U testuser \
    -K "process.max-msg-messages=(priv,64K,deny)" \
    -K "process.max-msg-qbytes=(priv,64K,deny)" \
    user.me This creates the following /etc/project:
    (note the last line is all on one line in the real file minus the \.)
    placer% cat /etc/project
    system:0::::
    user.root:1::::
    noproject:2::::
    default:3::::
    group.staff:10::::
    user.me:115::testme::\
    process.max-msg-messages=(priv,64000,deny);process.max-msg-qbytes=(priv,65536,deny)After a reboot I checked the values by loging in under my user and running prctl.
    placer% prctl $$
    process: 419: -csh
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    process.max-port-events
            privileged      65.5K       -   deny                                 -
            system          2.15G     max   deny                                 -
    process.max-msg-messages
            privileged      64.0K       -   deny                                 -
            system          4.29G     max   deny                                 -
    process.max-msg-qbytes
            privileged      64.0KB      -   deny                                 -
            system          4.00GB    max   deny                                 -
    process.max-sem-ops
            privileged        512       -   deny                                 -
            system          2.15G     max   deny                                 -
    ...Solaris 10 has different tunables and default values from 8 and 9. It's default tunables should be good for most applications per a given system's hardware. There are some great blog articles, and discussions on opensolaris.org and blogs.sun.com on tuning that explain the intent of tuning and why we shouldn't have to tune.
    Cheers,
    ~~sa

  • Problems Installing Oracle 10GR2 & kernel parameters

    Hi there,
    I'm trying to install Oracle 10G on a new Solaris10 machine. After extensivley reading the oracle install guide and proceeding my install failed with an out of memory error.
    Ive read the posts regarding many similar problems and to set the kernel parameters in /etc/system. My question for the experts is:
    1). Is there a problem with the oracle install scripts and it not recognising the new features in Solaris?
    2). Is there a more deep-rooted problem with oracle and solaris?
    ANY help/advice would be much appreciated. There are hundreds of posts like this on the web and surely someone must have the answer? I mean surely oracle did not hack /etc/system to get their install to work did they??
    Nibs

    It IS a terrible experince to install oracle 10g on solaris 10. Tell us your system configuration and your installation step. For I have installed three times and each time a different problem. Suggest you go to oracle forum to get more help.

  • Reg: Kernel Parameters White paper

    Hi Gurus,
    Can any one tell me the importance of kernel parameters with respect to oracle database installation.
    Thanks & Regards
    Azim

    There is some Oracle specific info at [Solaris Internals and Performance FAQ|http://www.solarisinternals.com/wiki/index.php/Solaris_Internals_and_Performance_FAQ]
    Are you looking to solve a problem(s) or just avoid them?
    have a good day,
    Glen

  • Where are the Linux kernel parameters?

    I have successfully installed ORACLE on red hat linux 5.0
    even though I didn't set the kernel parameters.
    On Solaris these parameters can be set in the /etc/system file.
    Where do you set SHMMAX and the kernel parameters in linux?
    I could not find a similar file.
    Please enlighten me.
    Thank You
    Be careful with environment variables!
    run the root.sh script after installation!
    null

    Frank Westheider (guest) wrote:
    : Mark Lee (guest) wrote:
    : : I have successfully installed ORACLE on red hat linux 5.0
    : : even though I didn't set the kernel parameters.
    : : On Solaris these parameters can be set in the /etc/system
    file.
    : : Where do you set SHMMAX and the kernel parameters in linux?
    : : I could not find a similar file.
    : : Please enlighten me.
    : : Thank You
    : : Be careful with environment variables!
    : : run the root.sh script after installation!
    : Hi Mark.
    : You have to install the Kernel-Sources and Include-Files.
    : Just look in
    : /usr/include/asm/*shm*.h
    : and change the parameters. After this re-create the kernel with
    : cd /usr/src/linux
    : make clean && make dep && make && make modules && make
    : modules_install
    : and install the kernel-file (lilo/bootlin....).
    : Ciao
    : Frank Westheider
    You might want to follow this thread (it's on the previous page
    of threads):
    Kernel Parameters?
    From: Bolen Coogler (guest)
    Email: [email protected]
    Date: Mon Oct 26 16:00 CST 1998
    The Oracle install instructions mention setting various kernel
    parameters, such as:
    SHMMAX 4294967296 (0x100000000)
    SHMMIN 1
    SHMMNI 100
    SHMSEG 10
    SEMMNS 200
    SEMMNI 70
    SEMMSL
    While setting these parameters is VERY important in HP/UX or
    Solaris, I haven't the slightest idea if this is really applies
    to Linux. Does anyone know if tweaking these and other kernel
    parameters matters in Linux? If so, where do you make these kind
    of changes? (/usr/src/linux/include/linux/<something>.h ?)
    My initial impression is the Oracle on Linux documentation is
    converted Solaris boilerplate (i.e. %s/Solaris/Linux/g).
    null

  • Getting kernel parameters at runtime

    I know it is possible to obtain kernel parameters such as semume using /usr/sbin/sysdef, but I am curious as to whether there is a way to obtain these values from a C program.
    Can anyone point me in the right direction?

    I believe the right direction is to ask Solaris Forums - Kernel also:
    http://forum.sun.com/forum.jspa?forumID=10
    This thread is mostly about the issues with C compiler itself.

  • Checking kernel parameters at runtime

    I know it is possible to obtain kernel parameters such as semume using /usr/sbin/sysdef, but I am curious as to whether there is a way to obtain these values from a C program without making a system() call.
    Can anyone point me in the right direction?

    I know it is possible to obtain kernel parameters
    such as semume using /usr/sbin/sysdef, but I am
    curious as to whether there is a way to obtain these
    values from a C program without making a system()
    call.
    Can anyone point me in the right direction?Are you sure you are posting to the right forum ? This one is for
    compilers on Linux.
    And you're obviously asking about Solaris interfaces.
    Thanks,
    Roman.

  • Configure Kernel Parameters on Solaris10 for oracle10g

    Hi all:
    Before install oracle,we need configure Kernel Parameters in /etc/systme,such as shmsys:shminfo_shmmax,but accroding solaris document:Solaris Tunable Parameters Reference Manual,they have removed some parameters used by oracle,such as semsys:seminfo_semvmx.I'm confused by that manual,if i still change this params,the ORA-03113 error will appear when i create database.Can anyone help me about this?Thank you for Your attations!

    Hi,
    Try out this thread
    Re: Installing OCS 10g R1 on Solaris 10
    Bye

  • Kernel parameters problem (512 mb RAM)

    Hi,
    I've installed Oracle on RedHat 5.2 (2.0.36) on a machine with
    512 mb memory.
    First I've recompiled the kernel how Oracle says and basing in
    some documents (like
    http://jordan.fortwayne.com/oracle/oralinux.html). Of course I've
    saved a copy of the old kernel. The linux was ok, the command
    ipcs -l shows the new values of the kernel parameters, but Oracle
    didn't start. I've restored the copy of the kernel, the ipcs -l
    shows the old values and now Oracle is running, with a SGA of
    almost 300 mb.
    Is there some problem in that? Will the machine loose performance
    because the miminum values of the kernel parameters?
    Best regards,
    Ari
    null

    Ari Arantes (guest) wrote:
    : Hi,
    : I've installed Oracle on RedHat 5.2 (2.0.36) on a machine with
    : 512 mb memory.
    : First I've recompiled the kernel how Oracle says and basing in
    : some documents (like
    : http://jordan.fortwayne.com/oracle/oralinux.html). Of course
    I've
    : saved a copy of the old kernel. The linux was ok, the command
    : ipcs -l shows the new values of the kernel parameters, but
    Oracle
    : didn't start. I've restored the copy of the kernel, the ipcs -
    l
    : shows the old values and now Oracle is running, with a SGA of
    : almost 300 mb.
    : Is there some problem in that? Will the machine loose
    performance
    : because the miminum values of the kernel parameters?
    : Best regards,
    : Ari
    I have a setup similar to yours (384 MB instead of 512 MB),
    and I spent some time looking at the parameters.
    You CANNOT use the value for SHMMAX from the Oracle manual!
    As it says at http://jordan.fortwayne.com/oracle/oralinux.html
    "Should you decided to change these parameters, if you set
    the SHMMAX to what Oracle says, you are telling the system
    to allow a shared memory segment to grow as large as 4 Gigs.
    Many users have reported problems setting the value this
    high."
    Sounds like you are another one of those users, eh?
    If you read on down, the guy who wrote that web page never
    used over 128 MB for SHMMAX. I'd take a strong hint from that.
    =====
    Oracle wants you to use 4GB-1 as the SHMMAX value. That
    equates to (1<<32)-1. As we shall see, that is not allowed
    without "breaking the rules" for the i386 architecture.
    If you carefully read through the header file, you will find
    out that the **actual maximum value** for SHMMAX is 256 MB.
    You can tell this two ways. Take a look at the file at:
    /usr/src/linux/include/asm/shmparam.h
    Near the top of the file is:
    /* address range for shared memory attaches if
    no address passed to shmat() */
    #define SHM_RANGE_START 0x50000000
    #define SHM_RANGE_END 0x60000000
    Note that the above is 256 MB (0x10000000), or (1<<28). This
    is one potential source of trouble. I don't know if some other
    files someplace else in the kernel specify uses for address
    ranges adjacent to the above range, which I take to be the
    "practical maximum" without redefining that range. Personally,
    I wouldn't want to mess with the above unless I **really**
    knew what I was doing (and I'll be the first to admit I don't).
    =====
    Farther down you will see some more lines (not together)
    that look like this:
    #define SHMID_BITS 7
    #define SHMIDX_BITS 15
    * SHMID_BITS + SHMIDX_BITS must be <= 24 on the i386 and
    * SHMMAX <= (PAGE_SIZE << SHMIDX_BITS).
    #define SHMMAX 0x2000000 /* max shared seg
    size (bytes) */
    Now, 7 + 15 is 22, so you could go up a couple of bits if you
    had to. To avoid making the table any larger, I would suggest:
    #define SHMIDX_BITS 17
    But, 17 turns out to produce a result larger than the "practical
    maximum" (256 MB) above. To see why takes a little more
    explaining.
    And if you don't change this at all, then the maximum possible
    value for SHMMAX is 4096 [the PAGE_SIZE) << 15 [_SHM_IDX_BITS],
    or rather (1<<27).
    Now, that is exactly half of the (1<<28) "practical maximum" I
    mentioned above.
    So, if you always want the maximum amount of shared memory,
    then change the definition of SHMMAX to the following:
    #define SHMMAX (PAGE_SIZE<<_SHM_IDX_BITS) /* max shared seg
    size (bytes) */
    That gives you 128 MB in and of itself (as compared with 32 MB
    as Red Hat 5.2 is delivered).
    If you want the full 256 MB that is allowed for in the memory
    map, then you need to also change:
    #define SHMIDX_BITS 16
    The above value is **exactly** what is recommended on the web
    page you were following (above).
    If you want to keep going up, you will need to change the
    memory space allocated for shared memory as defined by
    SHM_RANGE_START and SHM_RANGE_END, something I advise against.
    =====
    Even on a machine with 512 MB of "real" memory, I find it hard
    to believe that there would be any substantial benefit to
    having a maximum shared memory space greater than 256 MB. The
    reason is that Oracle can use multiple shared memory spaces.
    It requires a minimum of ten (10), according to the installation
    manual, but the Red Hat 5.2 distribution supplies SHMMNI (128)
    of them. That will allow each Oracle process to have a total
    of up to 32 GB of shared memory (128 times 256 MB) and all it
    asks for is 40 GB (10 times 4 GB), so it has plenty, IMHO.
    =====
    Let me say a few more words about the web page you were using
    for configuration advice. That person actually **reduced** the
    amount of shared memory segments by specifying **lower values**
    for SHMMNI and SHMSEG (not to mention the semaphores).
    I'd **STRONGLY** recommend **NOT CHANGING** those other values!
    Its my understanding that Oracle can make up for the smaller
    maximum shared memory segment size by using more shared memory
    segments. So, if you reduce those, you are essentially shooting
    yourself in the foot by taking away what you are giving with
    increasing the maximum segment size.
    =====
    Good luck, and may this farce be with you!
    null

Maybe you are looking for

  • Report with bind variables

    Hi, I apologize in advance for the newbie question. I would like to create a report report_b with a "vertical report exclude null values" template which will show only one record. This report will be called from another report with a default template

  • Adobe Air Programs do not play, even after reinstall. Install issue(s)?

    Program seems to install correctly; however, it will not play any Air programs. Flash works fine. Would really like to get this annoyance corrected! Thanks. MS Windows Vista Home Premium SP2 Pentium Dual-Core CPU T4200 @ 2.00GHz, 3.0GB RAM [2010-05-3

  • Installing jdk1.3 in solaris 2.6

    Hi, I would like to install jdk 1.3 into my solaris 2.6 machine. I have downloaded j2sdk-1_3_1_05-solaris-sparc[1].tar.Z and installed the packages into my system. after the installation, I have redirected the softlink from /usr/java to /usr/j2se. Or

  • Maximum size param in file channel

    Hello All, What is the parameter to mention in the sender communication channel to restrict huge files I remember there is a paramter that can be configured in channel Maximum File Size Can someone tell me the exact syntax for that THanks, Regards, M

  • Current install CD can no longer install Arch?

    After a lot of distro hopping, I've come back to Arch, but I have met a rude surprise: the install CD doesn't seem to work any more. If I try to do an FTP install, then on displaying the available package groups, the installer displays the string "Er