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)
Similar Messages
-
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 ShaneHi,
check following sap note
Note 546006 - Problems with Oracle due to operating system errors
Note 743328 - Composite SAP note: ORA-27102
regards,
kaushal -
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 -
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 PMThanks 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
I have a Iinux X86 64bit server with Oracle 10.1. The RAM is 16G, and there are 12 databases running on it, each with 600M SGA and 100M PGA. I encounter following error when try to start a new instance:
SQL*Plus: Release 10.1.0.4.0 - Production on Mon Jul 23 09:47:42 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup nomount
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
SQL> !oerr ora 27102
27102, 00000, "out of memory"
// *Cause: Out of memory
// *Action: Consult the trace file for details
SQL>
Following is the setting in /etc/sysctl.conf
# Oracle Setup
kernel.sem = 250 32000 100 128
kernel.shmmax = 8589934592
kernel.shmmni = 4096
kernel.shmall = 2097152
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
Thanks in advance.Output from "free" and "ipcs" command will be also helpful.
Message was edited by:
Ivan Kartik
I have changed the post because I have posted totally wrong info (maybe I need some cofee break).
SHMMAX is settings for max size of shared memory segment.
So Terry's post/answer is relevant to this problem. -
ORA-27102: out of memory - cannot start RAC node
I have a test 2 node RAC system 10.2.0.4 RHEL5 64 bit. 32 GB RAM on each node, nothing else running on these servers. I was playing around with different parameter settings, specifically setting up ASMM and I upped my SGA_TARGET and SGA_MAX_SIZE and changed the STATISTICS_LEVEL=typical. I previously had SGA_TARGET and SGA_MAX set to 1536M and upped it to 8GB on the first node (only):
alter system set SGA_MAX_SIZE=8G scope=spfile SID='NODE1';
alter system set SGA_TARGET=8G scope=spfile SID='NODE1';After trying to restart the first node via SRVCTL (it didn't, simply saying that the node couldn't start), and attempting to restart the node stand-alone connected via sqlplus as sys, I get the following errors:
SQL> startup nomount
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on deviceThe alert log just has the following:
Starting ORACLE instance (normal)
Mon Mar 8 17:03:52 2010
Starting ORACLE instance (normal)And there aren't really any relevant trace files. Top looks fine, memory isn't over-allocated.
I'm sure this has something to do with shmmax and my other kernel settings which I stupidly forgot to check and read up on before upping the SGA_TARGET. At this point, I just want to go back to my original settings of 1536 M - but since I'm not able to start the instance even in nomount, and am using SPFILE and not pfiles, I'm not sure how to do that. Any help is appreciated. This is a test system and I have no automated backups going at the present time.You're most likely correct - I have been running without issue with the existing kernel params and SGA set to 1536M - but at this point, I just want to get back to my original settings to start the first node, then do additional research on the kernel params and SGA settings. So, any help in setting the SGA back to what I had previously would be most appreciated.
Here are my kernel params:
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65500
net.core.rmem_default = 1048576
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max =1048536 -
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,
VenuHello,
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 -
Create database fails with ORA-27102 -out of memory
Hi,
I have Solaris 10 server with 16 GB ram. On it there are 10 databases (8 of them 9.2.0.7, and 2 of them 10.2.0.4) running -but they have small SGAs -300 mb each (some even smaller 200 mb or so). Now I have to create two more database on it. When I try to create the db, it fails with the error:
Connected to an idle instance.
ORA-27102: out of memory
SVR4 Error: 22: Invalid argument
And alert log has meesages as below:
Starting ORACLE instance (normal)
Tue May 26 07:37:39 2009
WARNING: EINVAL creating segment of size 0x0000000029002000
fix shm parameters in /etc/system or equivalent
Also see the output of this command :
prctl -n project.max-shm-memory -i project user.root
project: 1: user.root
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 3.92GB - deny -
system 16.0EB max deny -
Now I tried to change this with this command (as suggested in installation guide):
prctl -n project.max-shm-memory -v 8gb -r -i project user.root
but still I get teh same error. So I refer to Metalink document 399895.1. It says that manually change the settings in /etc/system. this needs a reboot and I got premission to do this reboot tomorrow. But my question is: What are the values that I should be putting in this file?+As suggested in the note, should I put the below values? -
For example, a sample value (mentioned in the note) are: for /etc/system entry setting SHMMAX = 6GB.
set shmsys:shminfo_shmmax=6442450944
set semsys:seminfo_semmni=1024
set semsys:seminfo_semmsl=1024
set shmsys:shminfo_shmmni=100
or should I put some other values (for all the parameters like semmni, semmsl etc) ? I am not clear which values I should be specifying.
Thanks
Edited by: orausern on May 26, 2009 7:24 AM
Edited by: orausern on May 26, 2009 7:27 AMWow! your help comes like an angles' helping hand! thank you so much. I am not very knowledgable on solaris so a few questions :
Currently there is no project set up for oracle on this server, so the steps I need to do -to make the changes permanent are:
# projadd -c "Oracle" 'user.oracle'
# projmod -s -K "project.max-shm-memory=(privileged,8GB,deny)" 'user.oracle'
correct?
thanks a lot again -
Linux-x86_64 Error: 28: No space left on device
10gR2 (10.2.0.3)
RHEL 4 AS 64-bit
Hi All,
After I created my RAC database with DBCA, I tried to connect to the database and got the following error:
SQL> startup
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
SQL> startup pfile='/opt/app/oracle/product/10.2.0/db_1/dbs/initFPRCPROD.ora'
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
SQL> startup mount pfile='/opt/app/oracle/product/10.2.0/db_1/dbs/initFPRCPROD.ora'
ORA-27102: out of memory
Linux-x86_64 Error: 28: No space left on device
I also tried to do what the following person did:
ORA-27102: out of memory
But changing the SHMALL kernel parameter still didn't change anything...I still got the error.
Any ideas?
Thank you.(Duplicate thread)
ORA- 27102 out of memory and Linux Error: 28: No space left on device -
While creating DB using DBCA getting ORA-27102: out of memory in Linux
Hi All,
I am working on 11.2.0.3 oracle Redhat linux. I am getting error "ORA-27102: out of memory" while creating a new database using dbca
Below are the DB ans OS details. Please check it and let me know what i need to do to overcome this issue.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
$uname -a
Linux greenlantern1a 2.6.18-92.1.17.0.1.el5 #1 SMP Tue Nov 4 17:10:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
$cat /etc/sysctl.conf
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
$free -g
total used free shared buffers cached
Mem: 94 44 49 0 0 31
-/+ buffers/cache: 12 81
Swap: 140 6 133
$ulimit -l
32
$ipcs -lm
Shared Memory Limits
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
Also created a trace file under trace loction and it suggesting to changes shm parameter value. but i am not sure which parameter (shmmax or shmall) and value i need to modify.
below are trace file info
Trace file /u02/app/oracle/diag/rdbms/beaconpt/beaconpt/trace/beaconpt_ora_9324.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u02/app/oracle/product/11.2.0.3
System name: Linux
Node name: greenlantern1a
Release: 2.6.18-92.1.17.0.1.el5
Version: #1 SMP Tue Nov 4 17:10:53 EST 2008
Machine: x86_64
Instance name: beaconpt
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Unix process pid: 9324, image: oracle@greenlantern1a
*** 2012-02-02 11:09:53.539
Switching to regular size pages for segment size 33554432
Switching to regular size pages for segment size 4261412864
skgm warning: ENOSPC creating segment of size 00000000fe000000
fix shm parameters in /etc/system or equivalent
Please let me what are the kernel parameter values i need to chage to work this.
Thanks in advance.Yes it is same question, but i didn't have any solution there and still looking for some help. the solution it was provided in the last post is not working and getting the same error even with less thn 20% of memory. Please let me know how to overcome this issue.
Thanks -
ORA-27102: out of memory, when I try to increase the SGA in 10gR2 linux 64
Hi, I´m trying to increase sga_max_size parameter, but when I startup the DB the following error is appears:
ORA-27102: out of memory...The maximun value is 3.6 Gb Approximately, if I increase this value, the DB not start and is appears this error.
My DB version is 10.2.0.4.0
My OS: Enterprise Linux Enterprise Linux AS release 4 (October Update 6)
The linux Kernel: 2.6.9-67.0.0.0.1.ELsmp x86_64 GNU/Linux
Physical memory: 14 GB
My init.ora:
orcl10.__db_cache_size=2113929216
orcl10.__java_pool_size=33554432
orcl10.__large_pool_size=16777216
orcl10.__shared_pool_size=301989888
orcl10.__streams_pool_size=16777216
*.audit_file_dest='/home/oracle/product/bbdd/admin/orcl10/adump'
*.background_dump_dest='/home/oracle/product/bbdd/admin/orcl10/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/home/oracle/product/oradata/orcl10/control01.ctl','/home/oracle/product/oradata/orcl10/control02.ctl','/home/oracle/product/oradata/orcl10/
control03.ctl'
*.core_dump_dest='/home/oracle/product/bbdd/admin/orcl10/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl10'
*.db_recovery_file_dest='/home/oracle/product/bbdd/flash_recovery_area'
*.db_recovery_file_dest_size=96636764160
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl10XDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=830472192
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.session_cached_cursors=50
*.sga_max_size=3670016000
*.sga_target=3670016000
*.shared_pool_size=267386880
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/home/oracle/product/bbdd/admin/orcl10/udump'
My sysctl.conf
# Kernel sysctl configuration file for Enterprise 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
#Parametros del kernel para rac-oracle
kernel.shmall = 2097152
kernel.shmmax = 10737418240
kernel.shmmni = 4096
# semaforos: senmsl semmns semopm semmni
kernel.sem = 256 32000 100 128
#kernel.msgmnb = 65535
#kernel.msgmni = 2878
#kernel.msgmax = 8192
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
I need any idea for how to resolve this problem, thank you
Edited by: cehache on 10-mar-2011 11:50sorry, the previously init.ora is old, this is the actual init.ora file and the shared_pool_size=0:
orcl10.__db_cache_size=3271557120
orcl10.__java_pool_size=33554432
orcl10.__large_pool_size=16777216
orcl10.__shared_pool_size=335544320
orcl10.__streams_pool_size=0
*.audit_file_dest='/home/oracle/product/bbdd/admin/orcl10/adump'
*.background_dump_dest='/home/oracle/product/bbdd/admin/orcl10/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/home/oracle/product/oradata/orcl10/control01.ctl','/home/oracle/product/oradata/orcl10/control02.ctl','/home/oracle/product/oradata/orcl10/
control03.ctl'
*.core_dump_dest='/home/oracle/product/bbdd/admin/orcl10/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='orcl10'
*.db_recovery_file_dest='/home/oracle/product/bbdd/flash_recovery_area'
*.db_recovery_file_dest_size=96636764160
*.dispatchers='(PROTOCOL=TCP) (SERVICE=orcl10XDB)'
*.job_queue_processes=10
*.open_cursors=300
*.pga_aggregate_target=2147483648
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.session_cached_cursors=50
*.sga_max_size=3670016000
*.sga_target=3670016000
*.shared_pool_size=0
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/home/oracle/product/bbdd/admin/orcl10/udump'
this is the result of free command:
[oracle@edubi dbs]$ free
total used free shared buffers cached
Mem: 14366428 13844616 521812 0 65468 11599248
-/+ buffers/cache: 2179900 12186528
Swap: 10482404 44200 10438204
the result of cat /proc/meminfo:
[oracle@edubi dbs]$ cat /proc/meminfo
MemTotal: 14366428 kB
MemFree: 123396 kB
Buffers: 67076 kB
Cached: 11823056 kB
SwapCached: 1504 kB
Active: 9671280 kB
Inactive: 3965444 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 14366428 kB
LowFree: 123396 kB
SwapTotal: 10482404 kB
SwapFree: 10438432 kB
Dirty: 868 kB
Writeback: 56 kB
Mapped: 5582756 kB
Slab: 350380 kB
CommitLimit: 17665616 kB
Committed_AS: 13194688 kB
PageTables: 212384 kB
VmallocTotal: 536870911 kB
VmallocUsed: 267732 kB
VmallocChunk: 536603127 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
the result of vmstat command;
[oracle@edubi dbs]$ vmstat
procs -----------memory---------- ---swap-- -----io---- system ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
1 1 43896 58332 67220 11686176 0 0 166 195 15 10 2 0 94 3
thank you -
Getting ORA-27102: out of memory while creating DB using DBCA
Hi All,
I am working on 11.2.0.3 oracle version and linux OS. I am trying to create a new database using dbca and getting error "ORA-27102: out of memory".
Please find the DB version and OS level parameters info below and let me know what i need to do to overcome this issue.
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
$uname -a
Linux greenlantern1a 2.6.18-92.1.17.0.1.el5 #1 SMP Tue Nov 4 17:10:53 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
$cat /etc/sysctl.conf
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 4194304
net.core.wmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_max = 1048576
fs.file-max = 6815744
fs.aio-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500
$free -g
total used free shared buffers cached
Mem: 94 44 49 0 0 31
-/+ buffers/cache: 12 81
Swap: 140 6 133
$ulimit -l
32
$ipcs -lm
------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4194303
max total shared memory (kbytes) = 8388608
min seg size (bytes) = 1
Please let me know for any other details.
Thanks in advance.Ok, first, let's set aside the issue of hugepages for a moment. (Personally, IMHO, if you're doing manual memory mangement, and you're not using hugepages, you're doing it wrong.)
Anyhow, looking at your SHM parameters:
kernel.shmall = 2097152
kernel.shmmax = 4294967295
kernel.shmmni = 4096
Let's take those in reverse order:
1.) shmmni - This is the max number of shared memory segments you can have on your system, regardless of the size of each segment.
2.) shmmax - Contrary to popular belief, this is NOT the max amount of shared memory you can allocate system wide! This is the max size, in bytes of a single shared memory segment. You currently have it set to 4GB-1. This is probably fine. Even if you wanted an SGA larger than 4GB, having shmmax set to this wouldn't hurt you. Oracle would simply allocate multiple shared memory segments, until it had allocated enough memory for the SGA. There's really no harm there, unless this parameter is set really low, causing a huge number of tiny shared memory segments to be allocated.
3.) shmall - This is the real shared memory segment limit. This number is the total amount of shared memory you're permitted to allocate, system wide, expressed in pages. Pagesize here is the native OS pagesize, which is 4096 bytes, so, this is 2097152 * 4096 = 8589934592, or, 8GB. So, 8GB is the maximum amount of memory that can currnetly be allocated to shared memory, on your machine.
So, having said all that, you haven't mentioned how many, if any, other Oracle databases are running on the server or their sizes. Secondly, we have no idea what memory sizing parameters you have set on the database that you're trying to create, that's getting the error.
So, if you can provide more details, in terms of how many other databases are already on this server, and their SGA sizes, and the parameters you've chosen for the database that's failing to create, perhaps we can help more.
Finally, if you're not using SGA_TARGET or MEMORY_TARGET, you really need to take the time to configure hugepages. Particularly if you've got a server that has as much memory as you do, and you're planning to have non-trivially sized SGA (10s of GB), then you really want to configure hugepages.
Hope that helps,
-Mark -
ORA-27102: out of memory (while creation of drsite problem)
Hi all,
I am trying to create DRSITE at remote location, but whilw using the pfile of primary server i am getting the error ORA-27102: out of memory we are using Oracle 9.2 and RHEL and another is that in the primary server we are haing oracle 9.2.0.8 and at the drsite we are using oracle 9.2.0.6,actually aour patch got corrupted that's why we are using oracle 9.2.0.6, because of the differences os the patch creating a problem.....but i dno't think so..pls correct me if i am wrong
SQL> conn sys/pwd as sysdba
Connected to an idle instance.
SQL> startup nomount pfile='/u01/initicai.ora';
ORA-27102: out of memory
SQL>we are haing total 8gb memory out of which we using 6gb for oracle i.e
[oracle@icdb u01]$ cat /proc/meminfo
MemTotal: 8175080 kB
MemFree: 39912 kB
Buffers: 33116 kB
Cached: 7780188 kB
SwapCached: 32 kB
Active: 78716 kB
Inactive: 7761396 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 8175080 kB
LowFree: 39912 kB
SwapTotal: 16779884 kB
SwapFree: 16779660 kB
Dirty: 28 kB
Writeback: 0 kB
Mapped: 48356 kB
Slab: 265028 kB
CommitLimit: 20867424 kB
Committed_AS: 61372 kB
PageTables: 2300 kB
VmallocTotal: 536870911 kB
VmallocUsed: 271252 kB
VmallocChunk: 536599163 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB
and
[oracle@icdb u01]$ 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
kernel.shmall=2097152
kernel.shmmax=6187593113
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max =65536
net.ipv4.ip_local_port_range = 1024 65000
[oracle@icdb u01]$and bash profile is
PATH=$PATH:$HOME/bin
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=$ORACLE_BASE/product/9.2.0
ORACLE_SID=ic
LD_LIBRARY_PATH=$ORACLE_HOME/lib:$ORACLE_HOME/lib32
PATH=$PATH:$ORACLE_HOME/bin
export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH
export PATH
unset USERNAME
~
~please suggest me...init file
[oracle@icdb u01]$ cat initicai.ora
*.aq_tm_processes=1
*.background_dump_dest='/u01/app/oracle/admin/ic/bdump'
*.compatible='9.2.0.0.0'
*.control_files='/bkp/data/ctl/control03.ctl'
*.core_dump_dest='/u01/app/oracle/admin/ic/cdump'
*.db_block_size=8192
*.db_cache_size=4294967296
*.db_domain=''
*.db_file_multiblock_read_count=16
*.db_name='icai'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=icaiXDB)'
*.fast_start_mttr_target=300
*.hash_join_enabled=TRUE
*.instance_name='icai'
*.java_pool_size=157286400
*.job_queue_processes=20
*.large_pool_size=104857600
*.open_cursors=300
*.pga_aggregate_target=938860800
*.processes=1000
*.query_rewrite_enabled='FALSE'
*.remote_login_passwordfile='EXCLUSIVE'
*.shared_pool_size=818103808
*.sort_area_size=524288
*.star_transformation_enabled='FALSE'
*.timed_statistics=TRUE
*.undo_management='AUTO'
*.undo_retention=10800
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/u01/app/oracle/admin/ic/udump'
#log_archive_dest='/bkp/arch/ic_'
Log_archive_start=True
sga_max_size=6444442450944
log_archive_dest_1='location=/bkp/arch/ mandatory'
log_archive_dest_2='service=prim optional reopen=15'
log_archive_dest_state_1=enable
remote_archive_enable=true
standby_archive_dest='/arch/ic/ic_'
standby_file_management=auto
[oracle@icdb u01]$Edited by: user00726 on Nov 11, 2009 10:27 PM -
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.
DebsThanks 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
Maybe you are looking for
-
Forms Library Not Working Correctly in Records Center
Greetings, I have a scenario where I have created a form library in a records center. This form library has the same InfoPath form published to it as is in the primary collaborative site. In the collaborative site, based on certain conditions, a wo
-
Multicam sync issues on export
Hi all, I wonder if anyone else is having this problem. I'm editing a 2-camera multicam shoot in Final Cut (5.0.4). We shot DVCPRO HD 720p24 on the HVX-200. Everything works fine in Final Cut, but when I export, either Automatic Duck to After Effects
-
How do i get windows7 to recognize my mouse ands keyboard
i made a windowspartition on a iMac. I installed the windowshelpfiles, but now windows doesn't recognize my mouse and keyboard. Not the usb-mouse and keyboard and neither the wireless apple-keyboard en trackpad. Any suggestions that give me a chance
-
Hotkey Features Integration not detected by update retriever / system Update
Hi Lenovo I suspect there might be an error in your metadata for the package 81vu13ww "Hotkey Features Integration" It is not offered through systemupdate or update retriever. in the update retriever program folder i have been looking at the file "C:
-
Adjustment brush causes Lightroom to quit
I have Lightroom 4 and just updated it to the most recent version last night. I run it on a Mac OSX. Everytime I try to use the adjustment brush, Lightroom unexpectedly quits. I never experienced this problem until today. How do I resolve the issu