How do I set the shared memory and semaphore Parameters

Hi, everyone:
Could someone help me on this? The Oracle Installation Guide
for Linux says these parameters need to be set, but does not say
how. Thanks in advance.
Jim
null

Lawrence Yeo (guest) wrote:
: Hi,
: Please refer to the Installation guide written by
: [email protected] at http://jordan.fortwayne.com/oracle/.
: I haven't successfully install oracle on my linux box, but I
: think this installation guide is pretty good, it guide you
step
: by step throught experience. There is an instruction on how
to
: set the parameter, but that require kernel re-compile though.
It seems this problem is getting discussed on a number of
different threads. Here is a reply I just posted on one of
those other threads:
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.
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.
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

Similar Messages

  • I have more than 3 instances running on the Linux box? How can I determine which shared memory and semaphores are associated with which instance?

    Pleace help me
    Thanks

    ohh yeah,
    Please check again
    SQL>oradebug setmypid
    SQL>oradebug ipc
    SQL>oradebug tracfile_name
    Thank you

  • How will i increase the shared memory of the graphic card of macbook pro 13-inch, early 2011 from 4gb memory?

    how will i increase the shared memory of the graphic card of macbook pro 13-inch, early 2011 from 4gb memory?

    The current version of Mavericks is 10.9.4. To update yours download and install OS X Mavericks 10.9.4 Update (Combo).
    You can upgrade RAM to the maximum your model will support. That would be:
    Maximum Memory
    16 GB (Actual) 8 GB (Apple)
    Memory Slots
    2 - 204-pin PC-10600 (1333 MHz) DDR3 SO-DIMM
    About OS X Memory Management and Usage
    Using Activity Monitor to read System Memory & determine how much RAM is used
    OS X Mavericks- About Activity Monitor
    Adding RAM only makes it possible to run more programs concurrently.  It doesn't speed up the computer nor make games run faster.  What it can do is prevent the system from having to use disk-based VM when it runs out of RAM because you are trying to run too many applications concurrently or using applications that are extremely RAM dependent.  It will improve the performance of applications that run mostly in RAM or when loading programs.

  • Image: How can I set the inner shadow and inner glow

    Hi
    How can I set the inner shadow and inner glow of a picture in a graphic frame? Any ideas which boss is to use?
    is there anywhere an example?
    Thanks
    Hans

    Hi<br /><br />I try to change the attributes (inner shadow and inner glow) using the following code:<br /><br />int CTest::test(UIDRef uidRefPageItem)<br />{<br />  int                                       iErr = ERR_NO;<br />  int                                       iReturn = -1;<br />  UID                                       uidColor = -1;<br />  IXPAttributeSuite::AttributeList          oAttrList;<br />  IXPAttributeSuite::AttributeTypeAndValue  oAttribute;<br /><br />  do {<br />    // Interface atrribute utils<br />    Utils<IXPAttributeUtils> ipAttributeUtils;<br />    // Set attribute list<br />    {<br />      IXPAttributeSuite::AttributeTypeAndValue  oAttribute(IXPAttributeSuite::kContentInnerShadowApply, kTrue);<br />      oAttrList.push_back(oAttribute);<br />    }<br />    {<br />      IXPAttributeSuite::AttributeTypeAndValue  oAttribute(IXPAttributeSuite::kContentInnerShadowBlendMode, kPMBlendNormal);<br />      oAttrList.push_back(oAttribute);<br />    }<br />    {<br />      IXPAttributeSuite::AttributeTypeAndValue  oAttribute(IXPAttributeSuite::kContentInnerShadowOpacity, 50.0);<br />      oAttrList.push_back(oAttribute);<br />    }<br />    UIDList uidList(uidRefPageItem);<br />    // Kommando ausführen<br />    iReturn = ipAttributeUtils->ApplyAttributesToPageItems(oAttrList, uidList);<br />    if (iReturn != kSuccess) {<br />      iErr = -1;<br />      break;<br />    }<br />  } while (kFalse);<br />  return iErr;<br />}<br /><br />iReturn is success, but this code doesn't change the attributes for an inner shadow.<br /><br />- What could be wrong?<br /><br />- Is it right to use the uid reference from the page item or is it neccessary to use the uid refernece of the image?<br /><br />Thanks for the support.<br /><br />Kind regards<br />Hans

  • How can I set the Lock Model and data structure ?

    Hi ,
    I just have two questions about JE:
    1) Is there some method for me to set the lock mode level , such as record lock, page lock and database lock in JE?
    2) I learned that there are Btree and Hash,etc , data structures , How can I set the data structure when using JE ?
    Thanks in advance !
    Chris

    I think you're confusing our DB (C-based product) with JE. JE does not have lock mode levels, page locks (it does not have pages), or database locks. JE only has the BTREE method, it does not have the HASH method. For JE, please be sure to reference the JE doc page:
    http://www.oracle.com/technology/documentation/berkeley-db/je/index.html
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can we set the column size and height dynamically

    Hi All,
    I have a requirement where i am designing rtf for excel output.Here i have a column where the height of that particular column must get reset dynamically according to the data that's getting populated.
    Thankq in advance.

    I had the same problem and I finally found that you can't set a form bean.
    There is no methods to do this.
    The only way is to make it a dynamic form bean, but i haven't investigated it.
    Now I use normal beans to move data between pages.
    Sorry if it's not what you want. If you have another solution let me know.

  • My new Firefox ver 29 always starts maximized how do i set the window size and not maximized?

    I had reinstall my Windows 7 (win 7 pro 64bit)
    so i had to reinstall firefox as well, installed ver 27 and updated it to version 29
    now when i start firefox it will start maximized and i want to set the window size when it starts,
    why the size of the window will not change and it will start maximized all the time?

    # In Firefox, type ''about:support'' into the address bar and press Enter.
    # Click the Show Folder button. A Windows Explorer window opens.
    # Right-click the Firefox taskbar icon and choose either Close All Windows or Close Window.
    # In the Windows Explorer window that opened earlier, delete the ''localstore.rdf'' file.
    # If you have Firefox pinned to the taskbar, right-click the taskbar icon, then right-click the Firefox icon in the menu that pops up and choose Properties.
    #* If you have a desktop shortcut, simply right-click it and choose Properties.
    # Click the Shortcut tab in the Properties window.
    # Make sure Run is set to "Normal window".

  • How do you clean the entire memory and start over

    how do you clean off the memory in order to start over

    Why are you asking on the Apple forums?

  • How can I set the file name and folder for output to PDF from another application?

    I am developing an application in Microsoft Access where the printed reports are to be saved in PDF format for archive purposes. I can send the output to Adobe X, but the default file name is the Access report name and the folder selected is the one last used.
    What I need to do is to create the file with a specific name (which changes for each run) and to a specific folder (which also changes for each run).
    The language I'm using is Visual Basic for Applications which is located in an Access form that controls the report production.
    Any suggestions, please?

    Got it - many thanks.

  • On a Mac Book Pro, 0S X iMovie 10.0.2 in iMovie how do I set the "to city" and "from" city on a map

    I am working on a movie project in iMovie.   I have moved a "map" onto my movie.  What do I click on to bring up
    the from location  to the destination city?

    Hey Esteroredhead,
    Thanks for the question. The following resource may answer your question:
    iMovie (2013): Add animated travel maps and backgrounds
    http://support.apple.com/kb/PH14706
    Modify an animated travel map
    You can change the route and style of the animated travel map in your movie.
    1. Select the animated map, then click the Adjust button in the toolbar.
    The adjustments bar appears above the viewer, including the animated travel map controls.
    2. Do any of the following:
              - To create a route: Choose a start location and end location from the route pop-up menus.
              Note:   You can enter a custom name for a location in the “Name to display on map” text field.
              - To change the look of the animated travel map: Choose an option from the Style pop-up menu.
              - To reverse the route: Click the swap button.
    To remove the route changes: Click the Reset button to the right of the Style pop-up menu.
    Thanks,
    Matt M.

  • Setting the shared templates location by Deploying Office 365 Midsized Business "using a network share" from a on-premise location

    I found the question "Deploy Office 365 pro plus using a network share or from a on-premise locaiton" the most useful of the resources
    on MS yet - but I am having difficulties getting the files to download for a local deployment.
    The root of the issue, that I cannot find anywhere, is how do I set the shared templates location for users in the organization.  First I thought a GPO, but I cannot find that setting in the GPO in MS.
    Then I thought modifying the REG- but it is in a binary key which could include other information I may not want modified(Or does it matter?)
    Then I looked for ways to download the deployment but launching from an elevated prompt as IT (Domain level) returns a useless error to paraphrase- 'sorry MSOffice didn't install- do you have enough disk space'.
    I have downloaded the GPO objects, but not installed them, likely I will need those later though.
    Just want to path all the users to a central repository of office/excel/access/outlook templates in addition to their local templates. Concise help in steps or sites that have solved the issue are Greatly appreciated : )

    Hi,
    you can use the GPO ADMX templates to configure the "Workgroup templates path".
    This actually configures a registry setting named: "sharedtemplates".
    The registry value/type/data is:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\office\15.0\common\general
    Name: sharedtemplates
    Type: REG_EXPAND_SZ (Expandable String Value)
    Data: <UNC path to folder>
    From the GPO reference workbook/sheet, for Office:
    http://social.technet.microsoft.com/wiki/contents/articles/4976.selected-content-relating-to-group-policy-administrative-templates-adm-and-admx.aspx
    Filename: office15.admx 
    Scope: User 
    Path: Microsoft Office 2013\Shared paths 
    Policy Setting Name: Workgroup templates path 
    Supported on: At least Windows Server 2008 R2 or Windows 7 
    Category: Shared paths 
    Explain Text: Specifies the location of workgroup templates. 
    Registry Key: HKCU\software\policies\microsoft\office\15.0\common\general!sharedtemplates
    Note: it is supported to populate this setting, with a UNC path, but not with a web path.
    e.g.: \\server01\shared\templates <this is valid>
    e.g.: http://server01/shared/templates <this is not valid>
    This constraint (for web URIs) can be difficult to work around. If you are using SharePoint, and think WebDAV might work, it doesn't seem to work for us :(
    Of course, if you have SharePoint, there are much better ways to handle document templates, but, our users are familiar with this File -> New -> from template type of method...
    It can also be set manually by a user:
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Setting the blank f5 and f6 keys for just the bluetooth keyboard?

    Hello,
    I just got the apple bluetooth wireless keyboard for my mac book pro. I use it for when my computer is linked to my tv.
    I am wondering, how do I set the blank f5 and f6 keys to something? My mbp model is older so all the function keys are layed out differently (the audio levels are f4 and f5 instead of f11 and f12)
    I want to keep my laptop function keys exactly how they are. Its just the f5 and f6 on the bluetooth I want to change. I cant seem to figure out how to do it in the preferences. Also, it looks like theres no way to choose just the wireless for this situation?
    Please help!
    Thanks
    - Mike

    Hello Mike:
    I am wondering, how do I set the blank f5 and f6 keys to something? My mbp model is older so all the function keys are layed out differently (the audio levels are f4 and f5 instead of f11 and f12)
    I believe you would have to write a routine to have those keys recognized for specific purposes. I do not do that, so I cannot give any guidance.
    Barry

  • I'm trying to set up Family Sharing. My settings show that the people I chose are there but I don't see any shared information. How do I access the shared info?

    I'm trying to set up Family Sharing. My settings show that the people I chose are there but I don't see any shared information. How do I access the shared info? All computers are using Yosemite 10.10.1 and are new 13" MacBook Pros.

    Hi wmcknigh,
    Welcome to Apple Support Communities.
    The article below should help you resolve the issue with shared content not appearing after setting up Family sharing on the MacBook Pros.
    If you don't see your family's shared content - Apple Support
    Cheers,
    -Jason

  • I have an A2300 camera and don't know how to use it. How do you set the time/date.

    I am a novice at this.  I can take pictures, buy can't find them. Does the cd that came with the camera show how to 
    operate the camera. What is the function key for and how do you use it.
    Any help would be appreciated.
    Thanks,
    Tross.

    Hello Tross!
    When you take images, provided that you have a memory card inserted, they are saved direct to the card.  They can be accessed in camera by going into the Playback menu.  There is a CD that has an instruction manual on it that does show you how to use the camera.  If you do not have this, you can download the manual here.
    The Function/ Set button serves two main functions.  One, it displays a small menu where you set the shooting mode and image quality options.  Second, all setting that need to be confirmed are done with the Function/ Set button. 
    Changing the date and time settings
    1. Press the Menu button.
    3. The Tools Menu appears.  Go to Date and Time.
    4. Next, operate the date and time screen:
     Set the year, month, date, and time.
     Change the year, month, and date.
    - Set the daylight saving time (one hour is added to the current time).
    5.  After the settings are completed, press the ) button.
    We hope this helps answer your questions and that you enjoy the camera.  If you need to contact us immediately, please feel free to contact us through the web site.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • HT2688 How do I set the password for my iTunes Library Home Sharing?

    I have a new Macbook and I'd like to access my library from my old one via Home Sharing. The library appears in my iTunes, but when I go to enter my Apple ID password, it says that the password is incorrect. Home Sharing is enabled on the old computer. What else could the password be/how do I set the password on my old computer? 

    What password did you define on the computer where the library actually exists?  It could be your Apple ID password but that wouldn't be very smart.
    Just turn off the password for homesharing unless you actually need it.
    Edit > Preferences > Sharing > either uncheck the option to require a password or simply change it.

Maybe you are looking for

  • RDS Error on windows

    Hi, I have just played with RDS on my Mac and been very impressed with it actually working (i currently use Homesite and been trying to make the move for years with no success as problems like the following keep popping up). So i thought id give it a

  • SQL LOADER USAGE WITH D2K

    Hi, Can we use SQL Loader with Forms and Reports 6i? Do i need to download SQL Loader separately? How do we use it? Thanks and regards, Nitin Koshy

  • DNS Packet Filtering Within BM3.9

    Hi I hope you can help - now i think i know the answer to this (No!), but i really need some functionality within ZCM10 working ok for patches. See :- here But as we use BM3.9 which does not allow DNS filtering am i to understand its not possible to

  • Posting a full years worth but only display current date

    i am wondering how i go about posting my rss feed for the whole year but only allow itunes to read the current date? i understand from research that it takes the most current date and uses that as the first. but if i wanted to display September's 06

  • 8700c bluetooth won't enable

    good afternoon all! i have an 8700c that i have unlocked after Ebay purchase to run Tmobil as my carrier. I have used my bluetooth in the past to pair with my GPS and the like. however, after a recent DM upgrade (6.0) i noticed that i cannot enable b