Solaris 10, Oracle 10g and ORA-27102 out of memory

After much STFW'ing, RTFM'ing and experimenting I finally got Oracle 10g to start a database on a SunBlade 100 with 512MB of memory and Solaris 10. As most of the replies on the web about error 27102 "out of memory" address solutions in Solaris 8 and 9, I thought I should post a clear description of the solution here.
Unlike earlier releases of Solaris, most of the system parameters needed to run Oracle are already set properly, so the only one you need is the maximum shared memory parameter. In earlier versions this was called SHMMAX and was set by editing the /etc/system file and rebooting. With Solaris 10 you set this by modifying a "Resource Control Value". You can do this temporarily by using prctl, but that is lost at reboot so you will need to add the command to the oracle user's .profile. The other option is to create a default project for the oracle user:
projadd -U oracle -K "project.max-shm-memory=(priv,2048MB,deny)" user.oraclewhat this does:
- makes a project named "user.oracle" with the user oracle as it's only member.
- because the name was of the form "user.username" it becomes the oracle user's default project.
- the value of the maximum shared memory is set to 2gb, you might want to use a larger value here if you have more memory and swap.
- no reboot is needed, the user will get the new value at their next login.

thanks buddy. I was in this same tricky situation. and ur post solved my prblem.
Is this a bug with solaris 10.
Later i discovered.. on Oracle documentation that.. there r sum parameters that needed to be taken care while pre-installation of Oracle binaries.
Here is the excerpts.
The Oracle installer recognizes kernel parameters set using this method, but it is now deprecated in favour of resource control projects, explained below.
As the root user, issue the following command.
projadd oracle
Append the following line to the "/etc/user_attr" file.
oracle::::project=oracle
If you've performed a default installation, it is likely that the only kernel parameter you need to alter is "max-shm-memory". To check the current value issue the following command.
# prctl -n project.max-shm-memory -i project oracle
project: 100: oracle
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
project.max-shm-memory
        privileged       254MB      -   deny
        system          16.0EB    max   deny     
To reset this value, make sure at least one session is logged in as the oracle user, then from the root user issue the following commands.
# prctl -n project.max-shm-memory -v 4gb -r -i project oracle
# projmod -s -K "project.max-shm-memory=(priv,4gb,deny)" oracle
The first dynamically resets the value, while the second makes changes to the "/etc/project" file so the value is persistent between reboots.
# cat /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
oracle:100::::project.max-shm-memory=(priv,4294967296,deny)
The Oracle installer seems incapable of recognising kernel parameter set using resource control projects, but if you ignore the warnings the installation completes successfully.Even this method works.
Regards
Monu Koshy

Similar Messages

  • Dbca failure (9i install, Solaris64):cant find oratab, and ORA-27102 out of memory

    Trying to install 9i Enterprise Edition on Solaris 9 (64 bit), get two messages during running Database Configuration Assistant:
    "/var/opt/oracle/oratab file not found"
    followed later by
    "ORA-27102 out of memory"
    1. I searched the entire system (all drives, directories) but no such file oratab.
    2. ?
    What to do?
    Thanks,
    Joe

    Yes, the missing oratab problem was solved by running root.sh
    Had been missed on first install attempt.
    Thanks for your help!
    Hi,
    i think is some problem with installation coz oratab is a file created by root.sh and updated by the Database Configuration Assistant when creating
    a database.so you required oratab in /var/opt/oracle in solaris as database configure assistance lookup there for oratab.
    either copy this file from somewhere and try or try to reinstall.
    reply me the following question:
    1)which user and group you use to install oracle
    2)check is root.sh avilable in your $ORACLE_HOME or/and in $ORACLE_HOME/install/util.
    Yogi
    [email protected]

  • 10g XE: ORA-27102: out of memory, Linux Error: 28: No space left on device

    Hi,
    I just installed oracle-xe-10.2.0.1-1.0.i386.rpm on a virtual CentOS box. After I run "/etc/init.d/oracle-xe configure", only listener is running, not the instance itself and $ORACLE_HOME/config/log/CloneRmanRestore.log says
    ORA-27102: out of memory
    Linux Error: 28: No space left on device
    According to installation requirements (http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25144/toc.htm) I checked
    RAM and swap:
    [root@56 ~]# free -m
    total used free shared buffers cached
    Mem: 7961 7453 507 0 39 923
    -/+ buffers/cache: 6491 1470
    Swap: 16378 7012 9366
    Available disk space:
    [root@56 ~]# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/vzfs 2.9G 969M 1.9G 34% /
    Kernel params:
    [root@56 ~]# sysctl -a | egrep 'sem|shm'
    error: "Operation not permitted" reading key "kernel.cap-bound"
    kernel.sem = 250 32000 100 128
    kernel.shmmni = 4096
    kernel.shmall = 2097152
    kernel.shmmax = 536870912
    So it all looks to be OK.
    Any ideas what can be wrong?
    Thanks,
    Radek

    rskokan wrote:
    The distro version is "CentOS release 5.4 (Final)".
    Unfortunately the wmem/rmem params can't be changed, as I learned it's a limitation of the virtual hosting, Virtuozzo. Anyway they are "just" for network setting, not for RAM.Yes - but worthy of noting once you run into your next problem. :-)
    >
    Couldn't be the problem that I really don't have enough disk space? Only 1.9 GB free.It's unlikely.
    I suspect that the SHMMAX setting needs to be increased to 1/2 physical RAM, as described in the doc I referenced.
    I suspect the installer is looking at the physical RAM and guessing the target SGA size based on that. It would therefore assume, for DB creation, that it should crank the SGA to around 700MB (1GB max, leave some for PGA, but use some SGA because of SHared Server for APEX)

  • Windows 64-Bit Oracle DBCA creating new Instance ORA-27102: out of memory

    Wondering has anyone encountered this?
    We are running Oracle 10 R2 running on Windows Server 2003 ( This database is on a 64-bit Platform)
    Memory capacity is 16 GB on the server.
    We are using DBCA to streamline db creation of the new “EDR” DB instance – here are a few different attempts we’ve done:
    (all have failed )
    FYI - during this installation we’ve monitored the memory allocation/usage of the Windows Server and there
    was about 13-14 GB Free
    The existing instance takes up less than 4GB of space.
    We tried following:
    1. Allocating 8GB of Memory to new EDR Instance without shutting down other Oracle Instance.
    2. Allocating 8GB of Memory to new EDR Instance and shutting down other Oracle Instance
    3. Rebooted Server keeping other oracle instance shutdown.
    4. After Reboot Allocated 8GB to new EDR Instance
    5. Attempted allocating less memory 2GB to new EDR instance
    6. Early this morning we also tried omitting backup scheduling as part of configuration for DBCA
    for that instance.
    Each time we received error in DBCA GUI during DB Creation at 2% completion
    ORA-27102: out of memory
    oraclehome\product\10.2.0\db_1\cfgtoollogs\dbca\EDR
    (cloneRmanRestore.log) first set of file created. (along with a RmanRestoreDatafile.sql, which failed (see log below)
    then halted install/creation of DB
    ORA-27102: out of memory
    OSD-00025: additional error information
    O/S-Error: (OS 1453) Insufficient quota to complete the requested service.
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    O/S-Error: (OS 1453) Insufficient quota to complete the requested service.
    select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
    ERROR at line 1:
    ORA-01034: ORACLE not available
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information
    ORA-27102: out of memory
    OSD-00025: additional error information

    After much effort it was discovered it was a setting during the installation of a parameter which caused this error. Using the TEMPLATE to create a new instance, you can setup parameters
    LOCK_SGA = TRUE
    causes this error. In addition if in our situation, even if we did not use the "template" created a barebones DB instance. Once the parameter is updated in SQL*Plus it will cause the datbase to be in a in operable state.
    You can start it up with a PFILE to fix it, In windows it required modifying the registry to FORCE the PFILE to load, by running on the commandline to use the PFILE it failed.
    Hope this helps someone in the future..
    ON WINDOWS DONT USE
    LOCK_SGA = TRUE
    It may work fine for Unix/LINUX OS? But in our current config it had problems.

  • Linux ORA-27102 out of memory

    A few days ago, some processes could not log in and got error message
    ORA-01034: ORACLE not available
    ORA-27102: out of memory
    Linux-x86_64 Error: 12: Cannot allocate memory
    After some time, the problem was suddenly gone. We had such issues already in the past.
    Is there a way to get/monitor actual memory usage ( a)what Oracle thinks it uses and b)what OS thinks Oracle uses)?
    Tools like ps and top seam to show shared memory incorrectly and RAM used may be completely wrong!? We currently only use 30G (memory_target) on a server having 72G. We intended to increase memory_target some time ago but did not implement the change due to ORA-27102 coming up from time.
    OS: SUSE SLES 64bit
    Oracle 11.2.0.2 64bit
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for Linux: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    cat /proc/meminfo
    MemTotal:       74306292 kB
    MemFree:          498240 kB
    Buffers:         5461300 kB
    Cached:         60442304 kB
    SwapCached:       185256 kB
    Active:         33642300 kB
    Inactive:       35066764 kB
    Active(anon):   20735148 kB
    Inactive(anon):  1302912 kB
    Active(file):   12907152 kB
    Inactive(file): 33763852 kB
    Unevictable:        5932 kB
    Mlocked:            5932 kB
    SwapTotal:       8388600 kB
    SwapFree:        7142712 kB
    Dirty:              2700 kB
    Writeback:             0 kB
    AnonPages:       2628540 kB
    Mapped:         19062944 kB
    Shmem:          19229668 kB
    Slab:            1968204 kB
    SReclaimable:    1781108 kB
    SUnreclaim:       187096 kB
    KernelStack:        5744 kB
    PageTables:      2071144 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:    45541744 kB
    Committed_AS:   24223804 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:      290600 kB
    VmallocChunk:   34321279204 kB
    HardwareCorrupted:     0 kB
    HugePages_Total:       0
    HugePages_Free:        0
    HugePages_Rsvd:        0
    HugePages_Surp:        0
    Hugepagesize:       2048 kB
    DirectMap4k:        6384 kB
    DirectMap2M:     2080768 kB
    DirectMap1G:    73400320 kBTop shows constantly values of high RAM usage.
    Mem:     72564M total,    65263M used,     7301M free,     3797M buffers
    There are no other processes. It's a pure DB server.Top shows the following process list
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    8067 oracle  20   0 30.3g  17g  17g S    0 24.8   4:11.50 oracle
    8075 oracle  20   0 30.3g  16g  16g S    0 22.8  40:26.79 oracle
    8071 oracle  20   0 30.3g  16g  16g S    0 22.8  42:03.30 oracle
    8087 oracle  20   0 30.3g 9.7g 9.7g S    0 13.6  10:35.84 oracle
    16561 oracle  20   0 30.3g 3.0g 3.0g S    0  4.3   0:42.38 oracle
    8095 oracle  20   0 30.3g 2.7g 2.7g S    0  3.8   6:45.29 oracle
    1229 oracle  20   0 30.3g 1.1g 1.1g S    0  1.6   0:32.12 oracle
    16570 oracle  20   0 30.3g 996m 992m S    0  1.4   0:05.02 oracle
    26773 oracle  20   0 30.3g 966m 962m S    0  1.3   0:14.90 oracle
    8099 oracle  20   0 30.3g 907m 906m S    0  1.3  27:40.60 oracle
      624 oracle  20   0 30.4g 737m 647m S    0  1.0   0:04.16 oracle
    8083 oracle  20   0 30.3g 733m 729m D    0  1.0  11:10.35 oracle
    2705 oracle  20   0 30.3g 695m 685m S    0  1.0   0:31.26 oracle
    13357 oracle  20   0 30.3g 692m 687m S    0  1.0   0:22.71 oracle
    SQL> show parameter memory
    NAME                                 TYPE                                         VALUE
    hi_shared_memory_address             integer                                      0
    memory_max_target                    big integer                                  30G
    memory_target                        big integer                                  30G
    shared_memory_address                integer                                      0
    SQL> show parameter sga
    NAME                                 TYPE                                         VALUE
    lock_sga                             boolean                                      FALSE
    pre_page_sga                         boolean                                      FALSE
    sga_max_size                         big integer                                  30G
    sga_target                           big integer                                  15G
    SQL> show parameter pga
    NAME                                 TYPE                                         VALUE
    pga_aggregate_target                 big integer                                  2500M
    ulimit -a
    core file size          (blocks, -c) 1
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 0
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 580443
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) 63160352
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) 8192
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 580443
    virtual memory          (kbytes, -v) 66155920
    file locks                      (-x) unlimitedEdited by: TimWong765 on Aug 29, 2012 9:26 PM

    Thanks for you reply. We may consider lock_sga=true (events like "latch: shared pool" do actually come up). The referenced thread had the problem during startup though. The problem occurred in our DB while the system was running - but maybe swapping/paging occurred exactly during that time!?
    Edited by: TimWong765 on Aug 29, 2012 9:59 PM

  • ORA-27102: out of memory. Faild to install oracle 10gR2 on Solaris 10

    Hi, I want to install oracle on my solaris machine. I have 2.5G RAM and more than 5G swap file. But the ORA-27102: out of memory error occurred at installing the Oracle Database Configuration Assistant step(Copying database files Creating and starting Oracle instance).
    The only warnings bellow:
    Checking kernel parameters
    Checking for BIT_SIZE=64; found BIT_SIZE=64. Passed
    Checking for shmsys:shminfo_shmmax=4294967295; found no entry. Failed <<<<
    Checking for shmsys:shminfo_shmmni=100; found no entry. Failed <<<<
    Checking for semsys:seminfo_semmni=100; found no entry. Failed <<<<
    Checking for semsys:seminfo_semmsl=256; found no entry. Failed <<<<
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The kernel parameters do not meet the minimum requirements (see above).
    What's the reason and how may I resolve it?
    Thanks!

    I set some kernel parameters like: set shmsys:shminfo_shmmax=4294967295 and so on. Restart the computer and run dbca+ and configure in advance mode. There's a stage require the size of flash_recover_segment of which the default size number is 2048M. WOW, out of memory on my pc of course.
    So I think it's the parameter value during the installation progress bring on the ORA-27102 problem. However, during the first installation, there's no prompt for me to enter the parameter; or I didn't see.

  • Oracle Error 'ORA-27102: out of memory' - Shared memory parameters correct.

    Advice please!
    We’ve recently shut down our Oracle test server in order to increase file system capacity.  When we rebooted some of the databases wouldn’t start up.  It started the first 4 instances and then errored out saying “ORA-27102: out of memory“.
    I’m pretty sure it’s nothing to do with the file system because we actually reverted back to the old file system and the databases still wouldn’t start.  I think it’s more likely that something’s gone awry whilst the databases were actually running, and the problem has only manifested itself once we stopped and restarted them.
    I have researched the error and forud this artical and similar:  http://var-adm.blogspot.co.uk/2013/04/adjust-solaris-10-shared-memory-to.html 
    Everything suggests that Oracle is trying to create a larger shared memory segment than is allowed.  The thing is, we’ve never changed our shared memory settings, and one minute it was working, the next it isn’t.  To confirm this I checked the shared memory, which is as follows:
    sswift4# prctl -n project.max-shm-memory $$
    process: 926: bash
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    project.max-shm-memory
            privileged      7.64GB      -   deny                                 -
            system          16.0EB    max   deny                                 -
    As suggested in the above article, I checked the alert log and found the ‘WARNING: EINVAL’ message which is as follows:
    WARNING: EINVAL creating segment of size 0x000000005e002000
    Converting this to decimal, it’s trying to create something of 1.5 GB, well within the shared memory settings, which suggests that this isn’t the problem.
    We are running Oracle 10g and 11g on Solaris 10 Sparc. The error does not seem to be instance specific, we have 8 instances on this box all with SGA max of 2000m. The server has 32GB of memory available.
    Any advice would be helpful.
    Thanks in advance.
    Debs

    Thanks for your quick responses - we have now resolved the issue.
    The shared memory value was set on the command line but not saved.
    Therefore once we rebooted it lost the configuration. this has been altered by our UNIX admin and all DBs have started without issue.
    Thanks
    Debs

  • Ora-27102: out of memory error on Solaris 10 SPARC zone install or Oracle10

    All
    I'm stuck!! Tried for days now ,and can't get this working.
    I"m getting the classic: "ora-27102: out of memory" error. However, my memory settings seem fine.
    I'm running Solaris 10 on a Zone, while installing Oracle 10.2.0.1.
    I've changed the max-memory to 6Gig's, but still, I get this error message.
    Could it be possible that this error message means something else entirely?
    Thank you for your assistance!!
    Anne

    Hi V
    Thanks for the response.
    I fixed the problem. Turns out it was because my physical memory for box is 16 gig, but my max-shm-memory was only at 6 GIG. I upped to 8 gig, and everything worked.
    I'm sure you were going to tell me to do just that! I found another post that explained it.
    Thanks!
    Anne

  • Oracle is not starting (ORA-27102: out of memory)

    Hi All,
    We have installed successfuly SAP Netweaver EHP1(SR1) (ABAP and Java)  with  SUNOS & Oracle10 on the same server.
    After installation we have stopped the java instance and tried to start but the database is not starting and it is showing the error
    SQL> startup
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Then we have added project in /etc/project
    NWJ:500:SAP System NWJ:nwjadm,oranwj::process.max-sem-nsems=(priv,2048,deny);project.max-sem-ids=(priv,1024,deny);project.max-shm-ids=(priv,256,deny);project.max-shm-memory=(priv,18446744073709551615,deny)
    but it doesn't resolve the issue.
    Even we have stopped the Abap instance including database but no use.
    Can any one provide the soluion ASAP.
    Regards,
    Venu

    Hello,
    I've hit this ORA-27102 several times when installing on Solaris 10. The problem was that SAPINST (which runs as root) runs its child processes under the root project, even though they have user ID ora<sid> or <sid>adm. Because the root project often has shared memory limited to 2 GB, Oracle fails with ORA-27102 if it needs more than 2 GB.
    I'm not quite sure that the above problem corrseponds with yours though. Is SAPINST finished and are you logged in as ora<sid> or <sid>adm and running SQLPLUS manually? If so, make sure that you are indeed running in the correct project. Commands that can help:
    id -p
    ps -e -o pid,comm,project | grep sqlplus
    Regards,
    Mark

  • Oracle 9i Database installation error ORA-27102: out of memory HELP

    Hello
    Appologies if this post has been answered already, or if I am meant to post some data capture to show what is the issue however i am a bit unsure what I need.
    I have downloaded oracle 9i for my university course as I need to have it to do some SQL and Forms building.
    I have had a lot of issues but I have battled through them - however now I am stuck on this one.
    I install Oracle and then the below:
    Install Oracle Database 9.2.0.1.0
    Personal Edition 2.80gb
    General Purpose
    I leave the defualt port
    Set my database name
    Select the location
    Character set etc
    then the database config assistant starts to install the new database at 46% i get the error on a pop up window :
    ORA-27102: out of memory
    How can I resolve this??
    I am a mainframe programmer and not at all in anyway a windows whizz - please oculd someone help a dummy understand??
    Again thank you all very much

    You have too few RAM on your machine, even you could successfully create an instance, it's going to slow as hell.
    When you run DBCA to create database, instead of actually creating the database you could choose to dump the SQL scripts and files used for database creation to a directory. This way will give you a chance to modify pfile and reduce the SGA parameter. I believe the default SGA of instance created by DBCA is already beyond your RAM limit.

  • ORA-27102: out of memory SVR4 Error: 12: Not enough space

    We got image copy of one of production server that runs on Solaris 9 and our SA guys restored and handed over to us (DBAs). There is only one database running on source server. I have to up the database on the new server. while startup the database I'm getting following error.
    ====================================================================
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Aug 6 16:36:14 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup
    ORA-27102: out of memory
    SVR4 Error: 12: Not enough space
    SQL>
    ====================================================================
    ABOUT THE SERVER AND DATABASE
    Server:
    uname -a
    SunOS ush** 5.9 Generic_Virtual sun4u sparc SUNW,T5240*
    Database: Oracle 10.2.0.1.0
    I'm giving the "top" command output below:
    Before attempt to start the database:
    load averages: 2.85, 9.39, 5.50 16:35:46
    31 processes: 30 sleeping, 1 on cpu
    CPU states: 98.9% idle, 0.7% user, 0.4% kernel, 0.0% iowait, 0.0% swap
    Memory: 52G real, 239G free, 49M swap in use, 16G swap free
    the moment I run the "startup" command
    load averages: 1.54, 7.88, 5.20 16:36:44
    33 processes: 31 sleeping, 2 on cpu
    CPU states: 98.8% idle, 0.0% user, 1.2% kernel, 0.0% iowait, 0.0% swap
    Memory: 52G real, 224G free, 15G swap in use, 771M swap free
    and I compared the Semaphores and Kernel Parameters in /etc/system . Both are Identical.
    and ulimit -a gives as below..
    root@ush**> ulimit -a*
    time(seconds) unlimited
    file(blocks) unlimited
    data(kbytes) unlimited
    stack(kbytes) 8192
    coredump(blocks) unlimited
    nofiles(descriptors) 256
    memory(kbytes) unlimited
    root@ush**>*
    and ipcs shows nothing as below:
    root@ush**> ipcs*
    IPC status from <running system> as of Fri Aug 6 19:45:06 PDT 2010
    T ID KEY MODE OWNER GROUP
    Message Queues:
    Shared Memory:
    Semaphores:
    Finally Alert Log gives nothing, but "instance starting"...
    Please let us know where else I should check for route cause ... Thank You.

    and I compared the Semaphores and Kernel Parameters in /etc/system . Both are Identical.are identical initSID,ora or spfile being used to start the DB.
    Clues indicate Oracle is requesting more shared memory than OS can provide.
    Do any additional clues exist within alert_SID.log file?

  • ORA-27102: out of memory SVR4 Error: 22: Invalid argument

    Hi all,
    I'm doing an install of a Solaris 10.2, Oracle 10.2 system. During the Create Database phase, I am getting;
    ORA-27102: out of memory SVR4 Error: 22: Invalid argument
    Doing some research, and reading through the details here:
    Link: [http://technopark02.blogspot.com/2006/09/solaris-10oracle-fixing-ora-27102-out.html]
    I think my issue is my SHM parameters, reinforced by the repeated entry in the Oracle Alert log:
    +WARNING: EINVAL creating segment of size 0x0000000085000000+*
    +fix shm parameters in /etc/system or equivalent+*
    when the create fails.
    I am not familar with Solaris' new project mechanism, although from what I have read, it seems to be set up properly.
    Here are my server details:
    # prtconf | grep Mem
    Memory size: 8192 Megabytes
    # prctl -n project.max-shm-memory -i project 200
    project: 200: QBI
    NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT
    project.max-shm-memory
            privileged      10.0EB      -   deny                                 -
            system          16.0EB    max   deny                                 -
    And as for Oracle:
    shared_pool_size = 1522029035
    shared_pool_reserved_size = 152202903
    pga_aggregate_target = 2705829396
    sga_max_size = 3439329280
    db_cache_size = 1159641169
    During the course of troubleshooting, I have:
    1 - Increased the amount of SHM allocated in the project. I have tried 16GB, 8 GB, 10 GB, 11GB etc, to no effect, so I reset it to 10GB (as seen above) and focused my efforts elsewhere.
    2. SHARED_POOL_SIZE - I have decreased this by roughly 75% from the original value, again to no effect.
    3. PGA and SGA sizes - I have increased these from the original values by an increment of 25%
    Following the advice from the referenced blog (which does a good job of explaining the logic behind the actions) I have determined that the Alert log error message is telling me that it is lacking
    2231369728
    (Hex conversion value, which I think I need to read as 2GB, not 100% sure)
    I've increased my project allocation, and the PGA sizes, did I just not do it enough?
    Any advice?
    Thanks for any input,
    Troy Shane

    Hi,
    check following sap note
    Note 546006 - Problems with Oracle due to operating system errors
    Note 743328 - Composite SAP note: ORA-27102
    regards,
    kaushal

  • ORA-27102: out of memory error associated with SGA increase.

    Hi members,
    We are using Oracle 10.2.0.3 on Windows 2003 Server 32-bit. The total RAM on the box is 32 GB. Current SGA is 1700M. PGA is 700M.
    The issue is with one query that is completely hanging when run on this windows database but it it running fine on Oracle 10.2.0.3 database on Solaris 10. SGA on Solaris is 3GB. PGA is 700M. The record counts of the tables that this query uses are same in both the databases.
    Even when no other queries are running in the windows database, this query still hangs. Is SGA increase recommended in this situations? I have already increased it to 1700M and the query still runs slow. I don't think SGA will improve it, and I asked the developer to tune the query. Please let me know smoe of your thoughts. Is 3GT, PAE, or AWE the recommended approach. I do not want to change them unless I tune the query..
    I tried to increase it to 3GB, just gave a try and as I expected I ran into the ora-27102 error, so I brought the SGA back to 1700M. What is the hard limit of SGA on Windows 2003 server 32-bit?
    ORA-27102: out of memory
    OSD-00029: additional error information
    O/S-Error: (OS 8) Not enough storage is available to process this command.
    All your suggestions will be appreciated.
    Regards.

    Everything I've been able to read points to enabling PAE. I'm only assuming its not enabled because you mentioned wanting to tune the query before looking into AWE, PAE, etc. I don't think oracle knows it has more than 4GB's of memory available or it wouldn't/shouldn't be complaining.
    I think once you enable PAE you will no longer get this error. Otherwise, I believe the limit is 2048MB
    I would agree that a query hanging on one DB and not on another is related to the amount of memory allocated. For testing, several of our databases have far less memory available then our production databases. Performance changes significantly...especially (obviously) with larger queries.

  • "ORA 27102 - out of memory" solution needed

    I have continued to receive the ORA 27102 out of memory error each time I try to install oracle 10g on Solaris 10. I have tried such modifications like "projadd -p 102 -c 'eBS benchmark' -U oracle -G dba -K 'project.max-shm-memory=(privileged,10G,deny)' OASB"
    but it still wont work. Can someone please tell me what to do?

    Priviet Jabbok
    First, to identify which Java are you using, issue the command which
    # which java
    /usr/bin/javaIn general this is a link to some Java version installed in your environment. In our environment, which is different from yours, because we have many versions of Java installed, we had something like that:
    # ls -lad /usr/j*
    lrwxrwxrwx   1 root     root          15 Mar 27  2008 /usr/java -> /usr/jdk/latest
    drwxr-xr-x   4 root     bin          512 Mar 27  2008 /usr/jdk
    # ls -lad /usr/jdk/latest
    lrwxrwxrwx   1 root     root          20 Mar 27  2008 /usr/jdk/latest -> /usr/jdk/jdk1.6.0_03
    # ls -la /usr/jdk
    lrwxrwxrwx   1 root     root          27 Jan  7  2008 /usr/jdk/entsys-j2se -> /usr/jdk/instances/jdk1.5.0
    drwxr-xr-x   5 root     bin          512 Jan  4  2008 /usr/jdk/instances
    lrwxrwxrwx   1 root     other          7 Dec 21  2007 /usr/jdk/j2sdk1.4.2_13 -> ../j2se
    lrwxrwxrwx   1 root     root          23 Jan  4  2008 /usr/jdk/j2se -> /usr/jdk/instances/j2se
    lrwxrwxrwx   1 root     other         18 Jan 10  2008 /usr/jdk/jdk1.5.0_13 -> instances/jdk1.5.0
    lrwxrwxrwx   1 root     other         18 Jan  4  2008 /usr/jdk/jdk1.6.0_03 -> instances/jdk1.6.0
    lrwxrwxrwx   1 root     root          20 Mar 27  2008 /usr/jdk/latest -> /usr/jdk/jdk1.6.0_03
    drwxr-xr-x   8 root     bin          512 Dec 21  2007 /usr/jdk/packagesBut this configuration is system wide,. If you want to use a specific version of Java for a particular application or profile, you can setup the shell varibale JAVA_HOME at .profile level. But, on your case, to install Oracle, use the CLI option poiting to the right version of java.
    Cheers
    --Andreas                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Database creation = ora-27102 out of memory

    Hi,
         I have a solaris sparc 9.5
    Memory size: 16384 Megabytes
         swapfile dev swaplo blocks free
    /dev/dsk/c1t0d0s1 32,25 16 1068464 1068464
         And when I try to create a database with the following configuration
         DUMMY AREA NAME SUM(BYTES)
    2 Shared Pool shared pool 603979776
    3 Large Pool large pool 352321536
    4 Java Pool java pool 33554432
    5 Redo Log Buffer log_buffer 787456
    6 Fixed SGA fixed_sga 731328
         =>     ora-27102 out of memory
         Help me please

    The error is reported by Oracle during allocation of the SGA and will happen
    in cases where the kernel parameter SHMMAX/SHM_MAX is not set high enough.
    The SHMMAX kernel parameter decides the maximum size of a shared memory segment
    that can be allocated in the system. Since Oracle implements SGA using shared
    memory, this parameter should be set appropriately. The value of the SHMMAX
    kernel parameter should be higher than the maximum of SGA sizes of the Oracle
    instances used in the server. In cases where the SHMMAX is smaller than the SGA
    size, Oracle tries to fit the entire SGA into a single shared memory segment,
    which will fail, and you will see the warning message in the alert.log.
    The recommended value for this parameter is 4294967295 (4 GB), or the size of
    physical memory, or half the size of physical memory, depending on platform.
    Setting the SHMMAX to recommended value in the kernel parameter configuration
    file and rebooting the server will get rid of the warning messages. See the
    platform specific Oracle installation guide for detailed information on how to
    modify the SHMMAX/SHM_MAX kernel parameter.
    General guidelines for SHMMAX on common platforms
    (check with your vendor for maximum settings):
    Platform Recommended value
    Solaris/Sun 4 GB or max sga whichever is higher

Maybe you are looking for

  • Unable to capture the submit button event in OAF

    Hi I am facing a problem extending the NavigationCO controller on "/oracle/apps/per/selfservice/review/webui/ReviewPG". I just want to throw some exception when the user clicks the submit button in the PFR. I have used the following code but i did no

  • Process Flow Error

    I ran into a problem with one of my process flows, within my staging area. I have not had this problem before. My process flow looks as follows: --- > Map2 --- > Map3 --- > Map4 Map1 --- > Fork --- > Map5 --- > AND --- > Map 9 --- > Map10 --- > Map11

  • GLOBAL HINTS

    Hi Oracle Experts This is regarding GLOBAL HINTS I have a situation where all my views are defined in the views schema say "my_view". And all my fact tables are created in another schema say "my_fact". They are all in the same database. so schema1 =

  • [SOLVED] makepkg of php fails, no useful error message

    I'm trying to use ABS to build PHP.  I run makepkg and the last lines are: checking whether build with IMAP works... no configure: error: build test failed. Please check the config.log for details. ==> ERROR: A failure occurred in build(). Aborting..

  • HT2472 zero kb available trying to run turbo tax on my mac desktop

    Help trying to download turbotax on my mac desk top, error message zero kb available.