Temps on /dev/shm
I'd like to know if there are any temp directories besides /tmp and /var/tmp I can/could/should mount to a tmpfs and how I would go on about doing this. For starters I don't even know how big it's got to be and if I have to do this via fstab or some kind of bind.
Thanks for your input.
Thank you for your input! Is there a reason why you propose 250M? On gentoo I had the problem with big compiles that /var/tmp quickly ran out of space (at least with OOo), I don't want that again. So if I realize that I might need more space on a given compile, taken that arch uses /var/tmp for the build process, could I just assign more RAM to it (on reboot and, of course, after the process ran out of space lol)?
Besides, why the profiles folder, does that promote fragmentation, too? What happens to my FF settings and plugins and such?
I'm asking all this for two reasons, one being speed, the other less fragmentation. At first I thought I'll just give each a partition, as I always did on my installs. But when I read that I could just point it all to shm it was more appealing. I'm not saying that I'll immidiately fiddle with my own compiles, since it's been a while that my hdd has met the penguin, I need to reeducate myself. Arch will be my new home, since the-compile-everything-no-matter-if-it-even-needs-more-rice motto was just too much for my taste. Extra speed where it's needed makes more sense to me. End of rant, hehe.
Last edited by p2501 (2009-07-25 15:55:05)
Similar Messages
-
/dev/shm not release space after delete file.
when I remove file from /dev/shm, the available space of shm still not increase.
Is it having a command for shrinking shm ?http://www.linuxquestions.org/questions … on-806387/
Edit: Even the wiki has a thing or two on this subject https://wiki.archlinux.org/index.php//dev/shm
Last edited by karol (2011-05-29 10:22:27) -
/dev/shm on Oracle Linux 6.x to run Oracle 11g R2 - manual configuration?
Hello
We are building a server to run Oracle 11g R2 database (11.2.0.3 x64) on Oracle Linux 6.2 with UEK R2.
Our preference is to use AMM to have Oracle 11g R2 manage memory. We may impose some minium SGA and PGA memory allocations but basically aim to use MEMORY_TARGET to manage overall memory.
By default Linux makes the size of /dev/shm ~50% of server physical RAM, as far as I can tell.
Here is the /etc/fstab entry created by the installation:
tmpfs /dev/shm tmpfs defaults 0 0
Given this Linux server will only run Oracle 11g R2 database and some monitoring software, almost application code will run on the server. The application code will run on the separate application server and is Java based.
Can I change the */etc/fstab* entry for /dev/shm to manually increase the size to take up ~80-90% of the server physical RAM ? Is it a good idea?
The server is 64-bit, the RAM = 64 GB, so I am thinking to manually make /dev/shm to be = ~55GB, leaving ~8GB for other purposes.
Right now it's about 32GB (50%?) if I leave the /dev/shm 'defaults' on.
many thanksthanks,
I have read the doc (what little there is on this topic).
I have asked on the database forum......
just FYI - below is the proof:
SQL> show parameter mem
NAME TYPE VALUE
hi_shared_memory_address integer 0
memory_max_target big integer 4G
memory_target big integer 0
shared_memory_address integer 0
SQL> show parameter ga
NAME TYPE VALUE
lock_sga boolean FALSE
pga_aggregate_target big integer 1600M
pre_page_sga boolean FALSE
sga_max_size big integer 3G
sga_target big integer 1600M
still does not work.
And I cant change memory_max_target = 0 because I get error on startup:
SQL> alter system set memory_max_target=0 scope=spfile;
System altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORA-01078: failure in processing system parameters
ORA-00843: Parameter not taking MEMORY_MAX_TARGET into account
ORA-00849: SGA_TARGET 3221225472 cannot be set to more than MEMORY_MAX_TARGET 0.
BUT if memory_max_target is > 0 then alert log says hugepages can not be used
it feels like catch-22.....
thanks
Edited by: yurib on Jun 1, 2012 4:53 PM -
PRKC-1031: error checking free space for /dev/shm
Dear,
hope someone can help me with this error.
install oracle 11g on linux OUL5 2 nodes cluster.
the cluster is fine. when install database, i always have this error. did increase /dev/shm to 2G but still get this error.and it would not let me continue.
the specific Prerequisite checks were fine.only failed on swap
Linux rac11g1 2.6.18-92.1.13.0.1.el5PAE #1 SMP
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
22282108 8542032 12589920 41% /
/dev/hda1 101086 40264 55603 42% /boot
tmpfs 2097152 0 2097152 0% /dev/shm
/dev/mapper/VolGroup01-LogVol01
25189484 769252 23140644 4% /u01
Thanks in advance.Hi
you are quite welcome, so you don't any issues with the user equiv part during the cluvfy controls?
how many instances are you running on your server that hosts ASM?
More than 1 then read that: Did you change your shm values in the kernel ? Please check those values in 2.6 Configuring Kernel Parameters
64 bits: http://download.oracle.com/docs/cd/B19306_01/install.102/b15667/pre_install.htm#i1011296
32 bits: http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref264
Note that you have to increase : semmni, semmns,shmmni should be multiplied by # of instances, SHMMAX should be set to avail memory
Can you please give us your values from your server please?
Your physical memory :
grep MemTotal /proc/meminfo
And also the result of
ipcs -l
Edited by: Hub on Oct 24, 2008 11:07 PM -
Compile in /dev/shm?
Hello,
I have an SSD installed and followed the instructions on wiki page: https://wiki.archlinux.org/index.php/SSD
Now I'm in heavy developement for a project, using gwt. How can I ensure that if I compile my Application, that it takes place in /dev/shm or some other place in vm?https://wiki.archlinux.org/index.php/Makepkg.conf
https://wiki.archlinux.org/index.php//dev/shm -
/dev/shm not mounted /dev busy
Recently I was trying out a boot disk I had made, and basically, I switched it off several times due to it booting the completely wrong kernel.
Now, I'm getting to the stage "Checking File systems" and then comes up [Failed]. I then get a message saying Reboot required, and that it will reboot in 15 seconds, just a few seconds before it reboots I get "/dev/shm not mounted, /dev busy" or something similar.
I've booted up my sysresccd, ran "fsck.ext4 -fcv /dev/sda2" to force a check and scan for any bad blocks, it came up clean, then I rebooted and got the same error, so I copied the kernel and system.map over to /boot to make sure there's no corruption and reinstalled initscripts and util-linux-ng, rebooted, same error.
Tried different kernels, I've checked fstab and menu.lst, no problems there, so I still don't get why I still get the same problem.
Anybody know of any fix other than reinstalling arch?
EDIT: Editing /etc/rc.sysinit and commenting out the fsck part made it work, finding out why fsck failed now.
Last edited by compgenius999 (2010-03-03 19:21:35)anybody?
-
[SOLVED] Trying to allocate more ram to /dev/shm
I want to allocate more than 50% ram to '/dev/shm'.
In the wiki it says to edit '/etc/fstab' and add the size parameter but I know that '/etc/fstab' no longer mounts '/dev/shm', '/etc/rc.sysinit' does.
Is it safe to add the '/dev/shm' entry in to '/etc/fstab or should I edit '/etc/rc.sysinit' now?
Thanks for any responses
Last edited by pluckypigeon (2012-10-01 23:28:04)You should add an entry to /etc/fstab.
rc.sysinit (or systemd) will indeed mount /dev/shm with standard options in early boot, but then rc.sysinit (or systemd) will call /usr/lib/systemd/systemd-remount-fs, which will remount all the api filesystems (such as /dev/shm) that have entries in fstab, with the correct options specified there. -
JOXSHM files in /dev/shm
I have a bunch of old files with names like JOXSHM_EXT_0_DEMDB_121208837 in the /dev/shm folder. I believe these are suppose to be removed when the database is shutdown. The DEMDB instance has been down for months. Do I have to reboot to remove these or is it safe to delete them?
I am running 11.2 on REHL 5uptime
10:36:01 up 229 days, 1:16, 3 users, load average: 0.46, 0.49, 0.45 -
Question about 11gR2 Grid, RAC, /dev/shm and Automatic Memory Management
Hello,
i've recently installed grid and rdbms software 11.2.0.2 on a two node Oracle Linux cluster with 128gb ram each node.
I'm using ASM to store data and ocr and I'm testing Automatic Memory Management.
When I finished Grid+RDBMS installation I've seen that /dev/shm size is 64gb (half of my total RAM).
I've created a database with dbca and when I was asked to choose if I wanted to use AMM I've noticed that I could
allocate only about 60gb for Oracle. If I chose more than 90gb I got an error saying:
Using Automatic Memory Management requires 60gb available in my two nodes.
The current available space in the two nodes is only 30gb and 30gb.
If you want to use AMM you should either free up some space in /dev/shm
or reduce the memory allocated to Oracle
I was wondering when (during the installation or the settings of kernel parameters) did I define the space of /dev/shm ?
Since I have 128gb of RAM wouldn't it be better to use more than 64gb of ram for my /dev/shm tmpfs partition ?
Is there a limit or a ratio for best practice for my RAM and the /dev/shm ?
thanks in advance.user9051299 wrote:
Is the "half of the RAM size" a kernel's default value or Oracle's ? Neither. There are a number of unique factors that determine the best memory size and fit for Oracle - including just how much memory is effectively available (i.e. how much is needed for other services and processes).
And from what I understand i don't "break" any Oracle's best practice by increasing the /dev/shm right ?Correct. (at least none that I'm aware of, and none that I have read in Oracle's RAC Starter Kit documentation). -
Getting error while installing on Linux, but cannot find log detail
Hi,
I;m installing 11.g on Linux 64 and Oracle Installer spewed error saying that my system doesn't meet minimum requirement. I looked at the temp directory /dev/shm where it got installed, I found InstallActions[timeStamp].log:
Using paramFile: /usr/local/temp/database/install/oraparam.ini
Checking Temp space: must be greater than 120 MB. Actual 1974 MB Passed
Checking swap space: must be greater than 150 MB. Actual 8192 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
The commandline for unzip:
/usr/local/temp/database/install/unzip -qqqo ../stage/Components/oracle.jdk/1.5.0.17.0/1/DataFiles/\*.jar -d /dev/shm/OraInstall2011-01-12_11-13-19AM
Using the umask value '022' available from oraparam.ini
Execvp of the child jre : the cmdline is /dev/shm/OraInstall2011-01-12_11-13-19AM/jdk/jre/bin/java, and the argv is
/dev/shm/OraInstall2011-01-12_11-13-19AM/jdk/jre/bin/java
-Doracle.installer.library_loc=/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/lib/linux
-Doracle.installer.oui_loc=/dev/shm/OraInstall2011-01-12_11-13-19AM/oui
-Doracle.installer.bootstrap=TRUE
-Doracle.installer.startup_location=/usr/local/temp/database/install
-Doracle.installer.jre_loc=/dev/shm/OraInstall2011-01-12_11-13-19AM/jdk/jre
-Doracle.installer.nlsEnabled="TRUE"
-Doracle.installer.prereqConfigLoc=
-Doracle.installer.unixVersion=2.6.29.6
-mx150m
-cp
/dev/shm/OraInstall2011-01-12_11-13-19AM::/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/remoteinterfaces.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/OraPrereqChecks.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/instdb.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/OraPrereq.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/ssh.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/installcommons_1.0.0b.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/prov_fixup.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/orai18n-utility.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/jsch.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/orai18n-mapping.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/cvu.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/emocmutl.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/instcommon.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/OraInstaller.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/oneclick.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/xmlparserv2.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/share.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/OraInstallerNet.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/emCfg.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/emocmutl.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/OraPrereq.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/jsch.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/ssh.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/remoteinterfaces.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/http_client.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatch.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchactions.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchprereq.jar:../stage/Components/oracle.swd.opatch/11.2.0.1.0/1/DataFiles/jlib/opatchutil.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/OraCheckPoint.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstImages.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_de.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_es.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_fr.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_it.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_ja.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_ko.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_pt_BR.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_zh_CN.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/InstHelp_zh_TW.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/oracle_ice.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/help4.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/help4-nls.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/ewt3.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/ewt3-swingaccess.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/ewt3-nls.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/swingaccess.jar::/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/jewt4.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/jewt4-nls.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/orai18n-collation.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/orai18n-mapping.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/ojmisc.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/xml.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/srvm.jar:/dev/shm/OraInstall2011-01-12_11-13-19AM/oui/jlib/srvmasm.jar
oracle.install.ivw.db.driver.DBInstaller
-scratchPath
/dev/shm/OraInstall2011-01-12_11-13-19AM
-sourceLoc
/usr/local/temp/database/install/../stage/products.xml
-sourceType
network
-timestamp
2011-01-12_11-13-19AM
INFO: Loading data from: jar:file:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Loading beanstore from jar:file:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Restoring class oracle.install.driver.oui.ConfigCmdMappings from jar:file:/dev/shm/OraInstall2011-01-12_11-13-19AM/ext/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/resource/ConfigCommandMappings.xml
INFO: Verifying target environment...
INFO: Checking whether the IP address of the localhost could be determined...
SEVERE: Unexpected runtime-error while verifying whether the target environment is supported by CVU or not..
Refer associated stacktrace #oracle.install.driver.oui.OUISetupDriver:13
INFO: Completed verification of target environment.
WARNING: Verification of target environment returned with errors.
WARNING: [WARNING] [INS-13001] Environment does not meet minimum requirements.
CAUSE: Minimum requirements were not met for this environment
ACTION: Either check the logs for more information or check the supported configurations for this product..
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:16
INFO: Advice is WITHDRAW
WARNING: Advised to shutdown the installer due to target environment verification errors.
INFO: Adding ExitStatus PREREQ_FAILURE to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -3
INFO: Shutdown Oracle Database 11g Release 2 InstallerIn what location can I find the detail of the error? Could anybody point me out where I missed?
best regards,
Valerie
Edited by: Valerie Debonair on Jan 11, 2011 8:29 PMIs it the file that I showed above? and this is the part of it:
WARNING: Verification of target environment returned with errors.
WARNING: [WARNING] [INS-13001] Environment does not meet minimum requirements.
CAUSE: Minimum requirements were not met for this environment
ACTION: Either check the logs for more information or check the supported configurations for this product..
Refer associated stacktrace #oracle.install.commons.util.exception.DefaultErrorAdvisor:16
INFO: Advice is WITHDRAW
WARNING: Advised to shutdown the installer due to target environment verification errors.
INFO: Adding ExitStatus PREREQ_FAILURE to the exit status set
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -3
INFO: Shutdown Oracle Database 11g Release 2 Installer -
Problem in installaing 10g(10.2.0) dev suit on linux 4EL
hi all
i have completed the RPM installation and required configuration on linux for installing oracle 10g(1.2.0) dev suit on linux but when i run setup it returns error
can anybody help me , I shall be higjly thnkfull bc it is very imp for me.
[root@oracleserver pkg2]# Disk1/runInstaller
The OUI Screen may take around 5 to 30 seconds to come up depending upon system performance. Please Wait .......
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-2.1, redhat-3, redhat-4, SuSE-8, SuSE-9 or UnitedLinux-1.0
Passed
All installer requirements met.
Checking Temp space: must be greater than 400 MB. Actual 14942 MB Passed
Checking swap space: must be greater than 1536 MB. Actual 2000MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Checking if CPU speed is above 450 MHz. Actual 2794 MHz Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-04-24_12-05-25PM. Please wait ...
Error in writing to directory /tmp/OraInstall2008-04-24_12-05-25PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
then i checked spaces
[root@oracleserver pkg2]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 22G 5.5G 15G 28% /
none 502M 0 502M 0% /dev/shm
/dev/sda5 15G 2.1G 13G 14% /ddrive
/dev/sda6 20G 8.0G 12G 41% /edrive
/dev/sda7 5.9G 559M 5.4G 10% /fdrive
[root@oracleserver pkg2]# df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 22G 5.5G 15G 28% /
[root@oracleserver tmp]# ll
drwx------ 2 oracle oinstall 4096 Apr 24 10:44 gconfd-oracle
drwx------ 3 root root 4096 Apr 24 11:30 gconfd-root
drwx------ 2 root root 4096 Apr 24 11:30 keyring-LYfCYY
srwxr-xr-x 1 oracle oinstall 0 Apr 24 10:28 mapping-oracle
srwxr-xr-x 1 root root 0 Apr 24 11:31 mapping-root
drwxrwx--- 3 oracle oinstall 4096 Apr 24 10:36 OraInstall2008-04-24_10-36-30AM
drwxrwx--- 3 oracle oinstall 4096 Apr 24 10:37 OraInstall2008-04-24_10-37-27AM
drwxrwx--- 3 root root 4096 Apr 24 11:31 OraInstall2008-04-24_12-05-25PM.
drwx------ 2 root root 4096 Apr 24 11:32 orbit-root
drwx------ 2 root root 4096 Apr 24 11:30 ssh-ONJshz4863
-rw------- 1 oracle oinstall 0 Apr 22 11:40 t2lGX3GiqC
-rw------- 1 root root 917 Apr 24 11:31 xses-root.GtGWyn
regards
farnawHi werner
thnks aging for ur cooperation
I EXECUTED THE COMMAND HERE IS THE OUTPUT
[oracle@oracleserver pkg2]$ Disk1/runInstaller -debug
The OUI Screen may take around 5 to 30 seconds to come up depending upon system performance. Please Wait .......
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-2.1, redhat-3, redhat-4, SuSE-8, SuSE-9 or UnitedLinux-1.0
Passed
All installer requirements met.
Checking Temp space: must be greater than 400 MB. Actual 14940 MB Passed
Checking swap space: must be greater than 1536 MB. Actual 2000MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Checking if CPU speed is above 450 MHz. Actual 2793 MHz Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2008-04-24_02-06-02PM.
Please wait ...unzip: cannot find ../stage/Components/oracle.swd.jre/1.4.2.0.4/1/DataFiles/*.jar, ../stage/Components/oracle.swd.jre/1.4.2.0.4/1/DataFiles/*.jar.zip or ../stage/Components/oracle.swd.jre/1.4.2.0.4/1/DataFiles/*.jar.ZIP.
No zipfiles found.
Error in writing to directory /tmp/OraInstall2008-04-24_02-06-02PM. Please ensure that this directory is writable and has atleast 60 MB of disk space. Installation cannot continue.
: Success
pzl help if any
Regard
Farnaw -
Hi...
here I am using oracle 10g on RHEL 5. it was running properly. But few days ago I noticed that my oracle applications become slow. I have deleted some backup file which I took on weekly basis. I suspect that this slowness may because of the oracle temporary files. Can anyone advice me how to delete oracle temporary files. Is this deletion can occur any errors to my oracle services. Here is the overview of my file system and disk uses.
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p3 109G 97G 6.7G 94% /
/dev/cciss/c0d0p1 487M 31M 432M 7% /boot
tmpfs 16G 0 16G 0% /dev/shm
/dev/mapper/SANSCR1-SANSCR2 591G 367G 195G 66% /opt/SANSCR2
none 16G 104K 16G 1% /var/lib/xenstoredGirish Sharma wrote:
Wow... Within 9 minutes you have posted in 6 threads all MOS notes....
Great... But how you are finding these ? Please share with us too...
RegardsNot to be harsh, but there's no contest to flood the forum in a minimum of time with dozens of MOS notes. And whether a MOS note can help time to time, most of the time it looks like RTFM or totally wrong (obviously haven't been read and does not match the OP's need - after all, who can read 6 notes in 9 minutes to know if that applies to the OP's case).
For instance here, it would be much better to take a little bit more time and continue to ask for investigation, as already done earlier by other posters.
Why and how the OP 'suspect' the root cause of the slowness of database would somehow come from the temp file ? Or, how delete/recreate tempfile would help to solve an unknown slowness problem ? etc...
Unless there's something I don't see here, I really don't get the point of throwing up a note about tempfile. Would it be based on just a feeling instead of facts ?
And of course, since this is the only response that the OP was waiting for (even if this is not the one it should be), that response has been grateful with 5 points... what about the future readers ?
Nicolas. -
I have a physical disk that I can see from multipath -ll that shows up as such
# multipath -ll
3600c0ff00012f4878be35c5401000000 dm-115 HP,P2000G3 FC/iSCSI
size=410G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 7:0:0:49 sdcs 70:0 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
`- 10:0:0:49 sdcr 69:240 active ready running
That particular is visible in the OVMM Gui as a physical disk that I can present to one of my VMs but currently its not presented to any of them.
I have about 50 physical LUNs that my Oracle VM server can see. I believe I can see all of them from a fdisk -l, but "dm-115" (which is from the multipath above) doesnt show up.
This disk has 3 usable partitions on it, plus a Swap.
I want to mount the 3rd partition temporarily on the OVM server itself and I receive
# mount /dev/mapper/3600c0ff00012f4878be35c5401000000p3 /mnt
mount: you must specify the filesystem type
If I present the disk to a VM and then try to mount the /dev/xvdx3 partition -it of course works. (x3 - represents the 3rd partition on what ever letter position the disk shows up as)
Is this possible?Its more of the correct syntax. Like I can not seem to figure out how to translate the /dev/mapper path above into what fdisk -l shows. Perhaps if I knew how fdisk and multipath can be cross referenced I could mount the partition.
I had already tried what you suggested. Here is the output if I present the disk to a VM and then mount the 3rd partition.
# fdisk -l
Disk /dev/xvdh: 439.9 GB, 439999987712 bytes
255 heads, 63 sectors/track, 53493 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/xvdh1 * 1 13 104391 83 Linux
/dev/xvdh2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/xvdh3 2103 27783 206282632+ 83 Linux
/dev/xvdh4 27784 30394 20972857+ 5 Extended
/dev/xvdh5 27784 30394 20972826 83 Linux
# mount /dev/xvdh3 /mnt <-- no error
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda3 197G 112G 75G 60% /
/dev/xvda5 20G 1011M 18G 6% /var
/dev/xvda1 99M 32M 63M 34% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
/dev/xvdh3 191G 58G 124G 32% /mnt <-- mounted just fine
Its ext3 partition
# df -T
/dev/xvdh3
ext3 199822096 60465024 129042944 32% /mnt
Now if I go to my vm.cfg file, I can see the disk that is presented.
My disk line contains
disk = [...'phy:/dev/mapper/3600c0ff00012f4878be35c5401000000,xvdh,w', ...]
Multipath shows that disk and says "dm-115" but that does not translate on fdisk
# multipath -ll
3600c0ff00012f4878be35c5401000000 dm-115 HP,P2000G3 FC/iSCSI
size=410G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 7:0:0:49 sdcs 70:0 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
`- 10:0:0:49 sdcr 69:240 active ready running
I have around 50 disks on this server, but the ones of the same size from fdisk -l from the server shows me many.
# fdisk -l
Disk /dev/sdp: 439.9 GB, 439999987712 bytes
255 heads, 63 sectors/track, 53493 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdp1 * 1 13 104391 83 Linux
/dev/sdp2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/sdp3 2103 27783 206282632+ 83 Linux
/dev/sdp4 27784 30394 20972857+ 5 Extended
/dev/sdp5 27784 30394 20972826 83 Linux
Disk /dev/sdab: 439.9 GB, 439956406272 bytes
255 heads, 63 sectors/track, 53488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdab1 * 1 13 104391 83 Linux
/dev/sdab2 14 1318 10482412+ 82 Linux swap / Solaris
/dev/sdab3 1319 27783 212580112+ 83 Linux
/dev/sdab4 27784 30394 20972857+ 5 Extended
/dev/sdab5 27784 30394 20972826 83 Linux
Disk /dev/sdac: 439.9 GB, 439956406272 bytes
255 heads, 63 sectors/track, 53488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdac1 * 1 13 104391 83 Linux
/dev/sdac2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/sdac3 2103 27783 206282632+ 83 Linux
/dev/sdac4 27784 30394 20972857+ 5 Extended
/dev/sdac5 27784 30394 20972826 83 Linux
Disk /dev/sdad: 439.9 GB, 439956406272 bytes
255 heads, 63 sectors/track, 53488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdad1 * 1 13 104391 83 Linux
/dev/sdad2 14 1318 10482412+ 82 Linux swap / Solaris
/dev/sdad3 1319 27783 212580112+ 83 Linux
/dev/sdad4 27784 30394 20972857+ 5 Extended
/dev/sdad5 27784 30394 20972826 83 Linux
Disk /dev/sdae: 439.9 GB, 439956406272 bytes
255 heads, 63 sectors/track, 53488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdae1 * 1 13 104391 83 Linux
/dev/sdae2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/sdae3 2103 27783 206282632+ 83 Linux
/dev/sdae4 27784 30394 20972857+ 5 Extended
/dev/sdae5 27784 30394 20972826 83 Linux
Disk /dev/sdaf: 439.9 GB, 439999987712 bytes
255 heads, 63 sectors/track, 53493 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdaf1 * 1 13 104391 83 Linux
/dev/sdaf2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/sdaf3 2103 27783 206282632+ 83 Linux
/dev/sdaf4 27784 30394 20972857+ 5 Extended
/dev/sdaf5 27784 30394 20972826 83 Linux
Disk /dev/sdag: 439.9 GB, 439999987712 bytes
255 heads, 63 sectors/track, 53493 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdag1 * 1 13 104391 83 Linux
/dev/sdag2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/sdag3 2103 27783 206282632+ 83 Linux
/dev/sdag4 27784 30394 20972857+ 5 Extended
/dev/sdag5 27784 30394 20972826 83 Linux
Disk /dev/dm-13: 439.9 GB, 439999987712 bytes
255 heads, 63 sectors/track, 53493 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-13p1 * 1 13 104391 83 Linux
/dev/dm-13p2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/dm-13p3 2103 27783 206282632+ 83 Linux
/dev/dm-13p4 27784 30394 20972857+ 5 Extended
/dev/dm-13p5 27784 30394 20972826 83 Linux
Disk /dev/dm-25: 439.9 GB, 439956406272 bytes
255 heads, 63 sectors/track, 53488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-25p1 * 1 13 104391 83 Linux
/dev/dm-25p2 14 1318 10482412+ 82 Linux swap / Solaris
/dev/dm-25p3 1319 27783 212580112+ 83 Linux
/dev/dm-25p4 27784 30394 20972857+ 5 Extended
/dev/dm-25p5 27784 30394 20972826 83 Linux
Disk /dev/dm-26: 439.9 GB, 439956406272 bytes
255 heads, 63 sectors/track, 53488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-26p1 * 1 13 104391 83 Linux
/dev/dm-26p2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/dm-26p3 2103 27783 206282632+ 83 Linux
/dev/dm-26p4 27784 30394 20972857+ 5 Extended
/dev/dm-26p5 27784 30394 20972826 83 Linux
Disk /dev/dm-27: 439.9 GB, 439956406272 bytes
255 heads, 63 sectors/track, 53488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-27p1 * 1 13 104391 83 Linux
/dev/dm-27p2 14 1318 10482412+ 82 Linux swap / Solaris
/dev/dm-27p3 1319 27783 212580112+ 83 Linux
/dev/dm-27p4 27784 30394 20972857+ 5 Extended
/dev/dm-27p5 27784 30394 20972826 83 Linux
Disk /dev/dm-28: 439.9 GB, 439956406272 bytes
255 heads, 63 sectors/track, 53488 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-28p1 * 1 13 104391 83 Linux
/dev/dm-28p2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/dm-28p3 2103 27783 206282632+ 83 Linux
/dev/dm-28p4 27784 30394 20972857+ 5 Extended
/dev/dm-28p5 27784 30394 20972826 83 Linux
Disk /dev/dm-29: 439.9 GB, 439999987712 bytes
255 heads, 63 sectors/track, 53493 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-29p1 * 1 13 104391 83 Linux
/dev/dm-29p2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/dm-29p3 2103 27783 206282632+ 83 Linux
/dev/dm-29p4 27784 30394 20972857+ 5 Extended
/dev/dm-29p5 27784 30394 20972826 83 Linux
Disk /dev/dm-30: 439.9 GB, 439999987712 bytes
255 heads, 63 sectors/track, 53493 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-30p1 * 1 13 104391 83 Linux
/dev/dm-30p2 14 2102 16779892+ 82 Linux swap / Solaris
/dev/dm-30p3 2103 27783 206282632+ 83 Linux
/dev/dm-30p4 27784 30394 20972857+ 5 Extended
/dev/dm-30p5 27784 30394 20972826 83 Linux
How to translate the /dev/mapper address into the correct fdisk, I think I can then mount it.
If I try the same command as before with the -t option it gives me this error.
# mount -t ext3 /dev/mapper/3600c0ff00012f48791975b5401000000p3 /mnt
mount: special device /dev/mapper/3600c0ff00012f48791975b5401000000p3 does not exist
I know I am close here, and feel it should be possible, I am just missing something.
Thanks for any help -
Mount: /dev/sda2 already mounted or /u01 busy
Installed new OELinux4.7 with disk partitions but unable to to mount these
[oracle@localhost sbin]$ ./fdisk -l (give no results)
[root@localhost /]# mount /dev/sda3 /u01
mount: /dev/sda3 already mounted or /u01 busy
[root@localhost /]# cd /sbin
*[root@localhost sbin]# ./fdisk -l*
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 19 152586 83 Linux
/dev/sda2 20 2630 20972857+ 8e Linux LVM
/dev/sda3 2631 5241 20972857+ 8e Linux LVM
/dev/sda4 5242 60801 446285700 5 Extended
/dev/sda5 5242 7852 20972826 8e Linux LVM
/dev/sda6 7853 10463 20972826 8e Linux LVM
/dev/sda7 10464 13074 20972826 8e Linux LVM
*[root@localhost sbin]# df -h*
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol01
20G 3.5G 16G 19% /
/dev/sda1 145M 15M 123M 11% /boot
none 3.0G 0 3.0G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol02
20G 78M 19G 1% /home
[root@localhost /]# mount /dev/sda2 /u01
mount: /dev/sda2 already mounted or /u01 busy
[root@localhost /]#On a system without LVM, a filesystem is created inside a partition. fdisk is used to list partitions on disks. Because the filesystems are inside the partitions, you can use the name of parition to mount it.
On a system with LVM, a filesystem is created inside a logical volume, not in a partition. The partitions (fdisk -l) are used as physical volumes (pvdisplay), which are added to a volume group (vgdisplay), in which a logical volume can be created (lvdisplay). In the logical volume a filesystem is created. Because of this, only the logical volumes can be used to mount the filesystem.
LVM adds an abstraction layer between filesystems and partitions. This is extremely handy because it's easy to add a disk (which is made physical volume) to a volume group which makes space available, which can be added to any logical volume in the volume group. When that's done, the filesystem in the logical volume can be enlarged with resize2fs, even online. Without LVM, it's not possible or very hard at best to do that. -
ORA-29516: Bulk load of method failed; insufficient shm-object space
Hello,
Just installed 11.2.0.1.0 on CentOS 5.5 64-bit. All dependencies satisfied, installation/linking went without a problem.
Server has 32GB RAM, using AMM with target set at 29GB, no swapping is occuring.
No matter what i do when loading Java code (loadjava with JARs or "create and compile java source") I keep getting the error:
ORA-29516: Error in module Aurora: Assertion failure at joez.c:3311
Bulk load of method java/lang/Object.<init> failed; insufficient shm-object space
Checked shm-related kernel params, all seems to be normal:
# Controls the maximum size of a message, in bytes
kernel.msgmnb = 65536
# Controls the default maxmimum size of a mesage queue
kernel.msgmax = 65536
# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages
kernel.shmall = 4294967296
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
Please help.Hi there,
I've stumbled into exactly the same issue for 11g. After I start the database up and I ran loadjava on an externally
compiled class (Hello.class in my instance) I got the following error:
Error while testing for existence of dbms_java.handleMd5
ORA-29516: Aurora assertion failure: Assertion failure at joez.c:3311
Bulk load of method java/lang/Object.<init> failed; insufficient shm-object space
ORA-06512: at "SYS.DBMS_JAVA", line 679
Error while creating class Hello
ORA-29516: Aurora assertion failure: Assertion failure at joez.c:3311
Bulk load of method java/lang/Object.<init> failed; insufficient shm-object space
ORA-06512: at line 1
The following operations failed
class Hello: creation (createFailed)
exiting : Failures occurred during processing
After this, I checked the trace file and saw the following error message:
peshmmap_Create_Memory_Map:
Map_Length = 4096
Map_Protection = 7
Flags = 1
File_Offset = 0
mmap failed with error 1
error message:Operation not permitted
ORA-04035: unable to allocate 4096 bytes of shared memory in shared object cache "JOXSHM" of size "134217728"
peshmmap_Create_Memory_Map:
Map_Length = 4096
Map_Protection = 7
Flags = 1
File_Offset = 0
mmap failed with error 1
error message:Operation not permitted
ORA-04035: unable to allocate 4096 bytes of shared memory in shared object cache "JOXSHM" of size "134217728"
Assertion failure at joez.c:3311
Bulk load of method java/lang/Object.<init> failed; insufficient shm-object space
It seems as though that "JOXSHM" of size "134217728" (which is 128MB) corresponds to the java_pool_size setting in my init.ora file:
memory_target=1000M
memory_max_target=2000M
java_pool_size=128M
shared_pool_size=256M
Whenever I change that size it propagates to the trace file. I also picked up that only 592MB of shm memory gets used. My df -h dump:
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 39G 34G 4.6G 89% /
udev 10M 288K 9.8M 3% /dev
/dev/sda5 63M 43M 21M 69% /boot
/dev/sda4 59G 45G 11G 81% /mnt/data
shm 2.0G 592M 1.5G 29% /dev/shm
The only way in which I could get loadjava to work was to remove java from the database by calling the rmjvm.sql script.
After this I installed java again by calling the initjvm.sql script. I noticed that after these scripts my shm-memory usage
increased to about 624MB which is 32MB larger than before:
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 39G 34G 4.6G 89% /
udev 10M 288K 9.8M 3% /dev
/dev/sda5 63M 43M 21M 69% /boot
/dev/sda4 59G 45G 11G 81% /mnt/data
shm 2.0G 624M 1.4G 31% /dev/shm
However, after I stopped the database and started it again my Java was broken again and calling loadjava produced
the same error message as before. The shm memory usage would also return to 592MB again. Is there something I
need to do in terms of persisting the changes that initjvm and rmjvm does to the database? Or is there something else
wrong that I'm overlooking like the memory management settings or something?
Regards,
Wiehann
Maybe you are looking for
-
Home Sharing: Half loading and skipping problems
Hello all Firstly, thank you to those that are reading this with a view to helping, and to those that will, hopefully, reply. I am looking at getting my iTunes library shared in my home. My current set up is simple: 2011 MBP, iPhones, iPad, all music
-
Adobe requires an ID account to install software on a single computer. However I have a portable Mac as well as a desktop system. Can I install another copy with the monthly paid installation on the second computer or do I need to buy another seat wi
-
Help needed in linked lists...
I have been working on this computer assignment lately but I still don't understand linked lists yet..I did an assignment on array based implementation and now I am supposed to do the same thing in linked list implementation.. I need help on how to c
-
How to bundle ODP with my app?
I wrote a utility in .NET with ODP for a customer. The packages works on my development machine because I have OADC and ODP here. But the customer doesn't have that, and if he wants to install it he needs to go through some arduous process to get app
-
Computer running windows XP Could not update OS of iPhone 5 from 6.0 to 6.1.2. Download process hang after only 1% Download Internet Security software Norton Antivirus. Could Norton prevent the download?