Solaris: Increase the swap space
Hi all,
I am the developer, not the DBA, but actually should make some DBA-job.
On our solaris server I should increase the swap space, but I don't know how to make this...
From time to time I get the following error message in system log files:
WARNING: Sorry, no swap space to grow stack for pid 21209 (oracle)After this the database write the ORA-04030 and ORA-07445 errors in the alertlog and restarts.
Here are some data from our system:
oracle@dbs:/etc# ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 10
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 29995
virtual memory (kbytes, -v) unlimited
oracle@dbs:~# /usr/sbin/prtconf | grep "Memory size"
Memory size: 16384 Megabytes
oracle@dbs:~# swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d60 85,60 16 16790384 15262496
oracle@dbs:~# swap -s
total: 12874104k bytes allocated + 1090112k reserved = 13964216k used, 6825384k available
oracle@dbs:~# top -d1 | grep "total swap"
Memory: 16G phys mem, 972M free mem, 8198M total swap, 7465M free swap
SQL> select * from v$pgastat;
NAME VALUE UNIT
aggregate PGA target parameter 629145600 bytes
aggregate PGA auto target 39321600 bytes
global memory bound 104857600 bytes
total PGA inuse 4089538560 bytes
total PGA allocated 4612293632 bytes
maximum PGA allocated 4746773504 bytes
total freeable PGA memory 359464960 bytes
process count 183
max processes count 198
PGA memory freed back to OS 1.8291E+12 bytes
total PGA used for auto workareas 7504896 bytes
maximum PGA used for auto workareas 108168192 bytes
total PGA used for manual workareas 0 bytes
maximum PGA used for manual workareas 542720 bytes
over allocation count 13757980
bytes processed 2.1787E+13 bytes
extra bytes read/written 3.3085E+11 bytes
cache hit percentage 98.5 percent
recompute count (total) 13774288
SQL> select sum(value)
2 from v$sesstat s, v$statname n
3 where s.statistic# = n.statistic#
4 and n.name like '%ga_memory';
SUM(VALUE)
9401696912Need your help.
Many thanks!
Check what is using the memory and if that is necessary.
1. can you safely shrink the SGA ? you would need to check the AWR reports, or recommended sizes.
2. can you safely shrink the PGA ? you would need to check the AWR reports, or recommended sizes)
3. can you reduce the number of processes ? (are there lots of idle processes ?)
4. can you tune sql to use less memory ?
If you can't reduce allocated memory, check if you can add RAM to the server / container.
If you still think you need to increase swap, you may need to add another disk (what is /dev/md/dsk/d60 ?). You can easily google for the Solaris commands to add swap, but if you are not familiar with this process I would not recommend you do it by yourself. Ask Oracle Support to provide the commands, and TEST them on a DEV box, followed by reboots etc to confirm it works.
Similar Messages
-
How can i increase the swap space in solaris 11
On Solaris 10 I use to select how much swap space i need while installing
On Solaris 11 it does it automatically? if it does, how can increase the swapYou can easily create a ZFS volume, see "zfs create -V" for ideas. Then using the swap command you can add that space to your swap. You can also delete swap space with "swap -d" even though that does not delete the underlying ZFS volume.
-
Can I install Solaris 8 without Swap space?
Can I install Solaris 8 without swap space? or Can I install the swap space on a different hard drive?
Refer Solaris 8 installation guide manuals from this URL:
http://docs.sun.com:80/ab2/coll.214.7/@Ab2CollView?Ab2Lang=C&Ab2Enc=iso-8859-1
Thanks,
Senthilkumar
Developer Technical Support
http://www.sun.com/developers/support -
Where is the Swap space located
I want to install Solaris 8 on my x86 (AMD Athlon) machine. I have arrived at a point where the installer prompts for the starting cylinder of the swap space. It wants to set it to Cylinder 3.
Disk layout is as follows
1. Primary FAT32 Win98SE 5 GB
2. Ext. FAT32, beloning to Win98 2x 5GB = 10GB
3. Primary Solaris 4.7GB
As I don't want to delete my system partition (1) I want to know what cylinder I have to set. Is "3" referring to the third cylinder of the entire disk (which would surely overwrite Win98) or does it refer to cylinder 3 on partition 3 (which would be no problem)? Or should I set it manually to the starting cylinder of the solaris partition?
All dual-booters not having solaris on the first partition of the disk...what did you select??
Thanks in advance
Christian StandkeHere's the link for PlayStation Community.
If my post answers your question, please mark it as "Accept as Solution"
http://bit.ly/Win-4K -
How to increase the Heap space of Jdeveloper for about more than 512 MB?
When starting JDeveloper, the application within JDeveloper is throwing the error message:
"could not reserve enough space for object heap"
and a windows popup with the following error message:
"Unable to create an instance of the Java Virtual Machine Located at path: ..\..\jdk\jre\bin\client\jvm.dll "
To resolve these issues, i know that adding the following in ide.conf , jdev.conf will help.
AddVMOption -XX:MaxPermSize=512M
AddVMOption -Xmx512M
AddVMOption -Xms512M
I have got 10 GB of RAM in my desktop machine and virtual memory of 15 GB (page size). I am not able to increse the heap space of Jdeveloper for about more than 512MB. This is really frustrating..I had to restart my jdevloper after 3 or 4 deployments.....Has anyone tried success in increasing the heap space in jdeveloper for about 2 GB?
Regards
Prasath.CYes, i know that -XX:MaxPermSize has nothing to do with Heap Memory. I Just pasted all my configuration settings to know if some thing or the other has caused the issue.... After hearing few people who increased the heap space to more than 512m , i played with those settings again and figured out few things...Mine is Jdeveloper 11.1.1.4, 64 bit Windows 7 environment, 64 bit Java/ JDK.
First, i was deceived by one suggestion in forum that, keeping max and min heap memory to same size always will yield in good performance...From that time on wards, i was always increasing both and was never able to move more than 512m..But this time, i kept the min memory as constand and kept on changing the max memory ..
Jdev.conf
AddVMOption -XX:MaxPermSize=512M
AddVMOption -Xmx972M (I was never able to increase more than this size, though i have around 10GB RAM, if not Jdev doesnt startup)
AddVMOption -Xms512M
Ide.conf
AddVMOption -Xmx2048M (here i was able to increase)
AddVMOption -Xms512M
But even then, i was not seeing my changed settings at the time of deployment...
starting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b51)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms512m -Xmx512m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer ..........
Then i changed again into
setDomainEnv.cmd of my default domain
set USER_MEM_ARGS=-Xms512m -Xmx2048m -XX:MaxPermSize=512m
Then i stared my deployment...this time i could see a real boost in deployment...and my page was launched in a fraction of minute..
tarting weblogic with Java version:
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b51)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JDK160~1\bin\java -client -Xms512m -Xmx2048m -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer ..........
This is my working configuration....Thanks guys for your replies.....
Regards
Prasath.C
Edited by: Prasath C on 05-Aug-2011 04:41 -
Question
Emails sent to me are sometime returned to the sender with the message "Inbox full" even though I have maybe less than 100 emails in the Inbox and I regularly compact them. I delete emails from the Inbox and the Sent and Trash boxes to overcome this. How can I increase the storage space to stop this happening?Hi terrybohle1938,
Firefox is a web browser. It provides access to online content. Things like your email are handled by the content provider. Who is your email provider? You'll have better luck consulting their documentation.
That being said, deleting only email is a great way to free up space. Another option would be to purchase a "Premium" account if your email provider offers this service. Many times more storage space is offered as part of paid subscription.
Hopefully this helps! -
How to increase the table space for a particular table?
Hi Friends,
I want to know how to increase the table space for a particular table and how to check the table space size of a particular table. Please can any one send the SQL Script. I am very much poor in DBA Part.
Thanking You ..
KiranKiran - you should post this question on the SQL/Database forums - this is a Forms specific forum...
Regards
Grant Ronald
Forms PRoduct Management -
How do i increase the table space in BI...
How do i increase the table space in BI. Its giving me short dumps when i am logging into the system. So, i need to increase the Table space. Can you all please tell me the steps for increasing it.
Thank You.hi irfan,
I too faced the similar problem error showing was table space problem its some database issue sue to this issue i was not able to run any loads or do any operations on by BI side then my on site team contacted the oracle guys to solve this.......
ravi -
How do I increase the disk space ?
I recently bought solaris for Intel. I success fully installed
with dual boot. When I am trying to install other software I got
a message saying insufficient diskspace. How do I increase the
space or set up a new partition.
srinivasHi ,
For your problem I would suggest following steps.
Use Format command to check whether any of disk partition or disk space is not utilised. If you have consumed all the disk space then only option to you is add new disk. If entire disk space has been utilised then you can't add more disk space on same disk. You need to have additional disk.
If you have any of the partion is still not used then you can merge the adjecent partition with it. Re-partition the disk. Here just ensure that if you have valid data on any of the patition which is going to merge with adjecent partition, then take backup ( ufsdump) as when you change boundary of partition you will need to make file system with newfs command which removes all data from that partition.
Please let me know if you have any questions.
Thanks,
SdD -
How to increase the heap space size -is there any parameter to pass to JVM
I created a memory buffering module which can be use to buffer log records and write to hard disk.disk writing is done by a separate thread so the main application won't be delayed. and memory for new errors are allocated dynamically. when i test this it gave this exception Exception in thread "Thread-62" java.lang.OutOfMemoryError: Java heap space then I test 100,000 of log records at a time and sleep the thread for 1 second to let the garbage collector do its job this works fine. but when i increase the log records count further it gave the above error. so i want to know whether is there a way to give the heap memory size to the VM as a parameter before running it.
I created a memory buffering module which can be use to buffer log records and write to hard disk.disk writing is done by a separate thread so the main application won't be delayed. and memory for new errors are allocated dynamically. when i test this it gave this exception Exception in thread "Thread-62" java.lang.OutOfMemoryError: Java heap space then I test 100,000 of log records at a time and sleep the thread for 1 second to let the garbage collector do its job this works fine. but when i increase the log records count further it gave the above error. so i want to know whether is there a way to give the heap memory size to the VM as a parameter before running it.
-
How can I increase my storage. I have been trying to upload the latest iOS & can't bc I don't have enough room & I really don't have a lot of apps.
You cannot increase your storage capacity at all.
You can remove content from your iphone or you can update via itunes on your computer. -
Deleteing files doesnt increase the free space on my harddisc
My hard disc has only 766 MB free space. When I´m deleteing files I don´t get more free space.
I have deleted over 1 GB today by putting files into the trash can and then empyting it, but it is still only the 766 MBs of free space.
Help?I dont understand the word "sparse". What is this file? Can i delete it?
This file contains your encrypted home folder. As long as you have FileVault turned on, don't delete it.
I have FileVault enabled but when I try to disable it it says that there is not enough free disk space.
Try the suggestions on this page.
(16342) -
In trying to resolve the out of memory error I get when running Ant on a large project of mine I cam across this post
http://tech.groups.yahoo.com/group/flexcoders/message/102140
set the following environment variable before the build depending on
your platform.
//CODE START
set ANT_OPTS=-Xmx500M
or
set ANT_OPTS=-Xmx500M ; export ANT_OPTS
//CODE STOP
My question is, where does one make this change (set ANT_OPTS)??short answer:
In command prompt or cygwin.
long answer:
if you are uisng comman prompt call
set ANT_OPTS=-Xmx500M
before calling the ant command.
if you using cygwin use
export ANT_OPTS=-Xmx500M
before calling the ant command.
In case you are using unix based OS. use
export ANT_OPTS=-Xmx500M
before calling the ant command.
Also you can set ANT_OPTS as an enviornment variable.
Thanks,
Gaurav Jain
Flex SDK Team -
Solaris: The System does not have the required swap space
I'm trying to install Oracle onto Solaris 9. The installation check fails with the error
The System does not have the required swap space.
I've read the install Guide I get the following when I do the memory checks
bash-2.05# /usr/sbin/prtconf | grep "Memory size"
Memory size: 1024 Megabytes
bash-2.05# /usr/sbin/swap -s
total: 767688k bytes allocated + 117080k reserved = 884768k used, 379040k available
The install guide doesn't say how to increase the Swap Space. I would like to increase the Swap Space just for the duration of the installation. From the install guide I'll need a Swap Space of 1.5 times the Ram on the machine so I'll need 1.5GB Swap Space. Can someone help me out with the required syntax to increase the Swap File Size?Found something on the web that did the trick. Create a few files and then add to your swap.. In case it's of interest to anyone else here's what I had to do
swap -l (lists files in swap)
mkdir /tmp/swap/ (create dir for file to add to swap)
mkfile tmp/swap/swap11 (create file for swap)
swap -a tmp/swap/swap11 (add file to swap)
swap -l (check files in swap) -
Hey,
Im using Solaris 10:
-bash-3.00$ cat /etc/release
Solaris 10 10/08 s10x_u6wos_07b X86
-bash-3.00$ uname -a
SunOS arrow 5.10 Generic_137138-09 i86pc i386 i86pcI've install the system using ZFS as the root filesystem:
bash-3.00# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 9.16G 20.1G 35.5K /rpool
rpool/ROOT 5.15G 20.1G 18K legacy
rpool/ROOT/s10x_u6wos_07b 5.15G 20.1G 5.15G /
rpool/dump 1.00G 20.1G 1.00G -
rpool/export 1.34G 20.1G 300M /export
rpool/export/home 1.05G 20.1G 1.05G /export/home
rpool/swap 790M 20.2G 730M -
....So my question is, is there an easy way to increase the swap space in this configuration? If so, what is the command to do that?
The docs pointed me to this: http://docs.sun.com/app/docs/doc/819-5461/gazss?a=view, but I'm uncertain what properties to change. Am I on the right track or am I embarrassingly wrong here?Be careful with changing a running system like that.. You changed the size of the pool but did you also make sure that the new swap space was initialized? iow; does "swap -l" really show more swap ? Its not the recommended way to do this, thats for sure..
So just for possible future reference..
The easiest approach (IMO) is to simply create a new swap filesystem, then tell the system to start using it, then turn off your old swapspace.. So something in the likes of...
zfs create -o volsize=2G rpool/swap2
swap -a /dev/zvol/dsk/rpool/swap2
swap -d /dev/zvol/dsk/rpool/swapAnd bingo.
Off course if you're a detail nut like myself then having a name "swap2" really won't do. So you could also simply use swap2 as temporary space and then resize your initial swap while also re-initializing the swapspace on it. I'm not too sure if that is also performed during boot.. So something like this:
zfs create -o volsize=2G rpool/swap2
swap -a /dev/zvol/dsk/rpool/swap2
swap -d /dev/zvol/dsk/rpool/swap
zfs set -o volsize=2G rpool/swap
swap -a /dev/zvol/dsk/rpool/swap
swap -d /dev/zvol/dsk/rpool/swap2Ofcourse all of this will put a little load on the disks, and if you're going to reboot anyway then it might make more sense to use a rescue cd of some sort and perform the change manually. However, I'd still advice you to double check since I'm not too sure about swap space getting re-initialized during boot. All the docs I've found regarding this subject all speak of re-creating the swap space itself as well.
Edit: And if you'd be a ZFS nut unlike myself you'd realize that its also perfectly possible to rename a dataset. So instead of creating a new dataset and moving the swap again it would be sufficient to simply rename it from swap2 to swap again. IMO this is really the easiest and safest way to resize swap. And it doesn't even require a reboot!
Maybe you are looking for
-
Hello, I have created a ECATT for master data uploading. This created a request number. Now when I am trying to create a BC set using tcode SCPR3 and attaching the above created request it is giving me the following error:- Message Number: S_CUS_IMG_
-
I am having some problem with this.. I have Master -> Detail1 -> Detail2 view objects with view links between them. I have several Master-> Detail relations in the same UIX page which works fine. But, the MDD doesn't work as one would expect. When I
-
Error while importing XI Content for Software compnent version
Hello All We have Installed XI system and working on Post Installation Activities. As per the Installation Guide We are trying to import XI Content for Software Component version in to the Integration Builder, In the integration builder , when we sel
-
Nokia navigator 6210 need anti virus software or n...
Hello , Just Joined not even switched on my phone yet still charging it! Can you advise me please? I first rang nokia to ask about anti virus suites as it was mentioned vaguely in the manual and I wanted to make sure If any was needed as it didnt spe
-
Error in accessing Java Class?
I got an error when accessing JavaClass, The Java Class is following, packages mypack; public class myParentClass{ public myParentClass{ public String doAct(String act){ return act; public static act class { public static final String ADD="ADD"; publ