Swap Solaris 5.10


 
Thread Tools Search this Thread
Operating Systems Solaris Swap Solaris 5.10
# 15  
Old 06-27-2014
Code:
#  swap -s
total: 12165728k bytes allocated + 7414976k reserved = 19580704k used, 697584k available

# 16  
Old 06-27-2014
Based on this output, it seems that you have only 3% of free swap space:
Code:
697584 / (19580704 + 697584) ≈ 3.4%

# 17  
Old 06-27-2014
Quote:
Originally Posted by bartus11
Based on this output, it seems that you have only 3% of free swap space:
Code:
697584 / (19580704 + 697584) ≈ 3.4%

Yes, that is what this server is complaining about.
# 18  
Old 06-27-2014
It's oracle. We have that problem any time a dba resizes SGA. That 100% usage in prstat is your clue.

Mount another new disk to the system. Use mkfile to create about about 400-500GB of swap space on the device. Rule of thumb with oracle: 2xRAM size == total swap space. Add the the swap with the swap -a command. This is sketchy on details, but if you need exact advice try:

For a direct attach disk, the example does not use mkfile, rather format:
UtahSysAdmin.com | How to add a swap drive to Solaris 10

No reboot required.

If you are using a SAN you can add a new lun and do the above. zfs is slightly different. Ask back for more help.
# 19  
Old 07-02-2014
Quote:
Originally Posted by jim mcnamara
It's oracle. We have that problem any time a dba resizes SGA. That 100% usage in prstat is your clue.

Mount another new disk to the system. Use mkfile to create about about 400-500GB of swap space on the device. Rule of thumb with oracle: 2xRAM size == total swap space. Add the the swap with the swap -a command. This is sketchy on details, but if you need exact advice try:

For a direct attach disk, the example does not use mkfile, rather format:
UtahSysAdmin.com | How to add a swap drive to Solaris 10

No reboot required.

If you are using a SAN you can add a new lun and do the above. zfs is slightly different. Ask back for more help.
I wish I could remember enough about the Oracle installations I've worked on to know if we didn't really need to do that. If the SGA is configured to use intimate shared memory (ISM), then it won't require any swap reservation because ISM is locked into RAM and can't be swapped out.

Note that you do NOT want to use DISM - that does require swap reservation.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 swap device and filesystem

Hi all, Q1) Due to application requirement, i am required to have more swap space. Currently my swap is on a partition with 32GB. I have another partition with 100GB, but it already has a UFS filesystem on it. Can i just swap -d /dev/dsk/current32gb and swap -a /dev/dsk/ufs100gb ? Will... (17 Replies)
Discussion started by: javanoob
17 Replies

2. Solaris

Solaris 10 : how to find swap utilization ?

hi, I want to find swap utilization on a solaris 10 box. can someone please help. Thanks, Priyank (4 Replies)
Discussion started by: arorap
4 Replies

3. Solaris

Swap space in Solaris box

Hello Team, By the way of introduction, I am new member in this forum and proud too :) Here is my questions: In one of our Solaris Sparc v9 box, we are facing issues related to swap space. Our custom applications are using swap space even though physical memory is available. From some... (3 Replies)
Discussion started by: piyush_28
3 Replies

4. Solaris

Solaris 10 SWAP SPACE

We have a SPARC system which is running on Solaris-9 and Physical memory size is 16GB.We have allocated 32GB SWAP space(2 times of physical memory).But when we use df -h command it shows following output and SWAP space size shows more than our allocated space # df -h Filesystem size used... (2 Replies)
Discussion started by: cyberdemon
2 Replies

5. Solaris

Releasing the swap space Solaris

Hi Guys ! I have found this problem many times that the swap space (/tmp space more precisely )of my Server becomes full specially when i run a complete back up of the server . once the /tmp space is full I am not able to run simple commands as i get error like : fork no space on... (4 Replies)
Discussion started by: Paarth
4 Replies

6. Solaris

Releasing the swap space Solaris

Hi Guys ! I have found this problem many times that the swap space (/tmp space more precisely )of my Server becomes full specially when i run a complete back up of the server . once the /tmp space is full I am not able to run simple commands as i get error like : fork no space on... (6 Replies)
Discussion started by: Paarth
6 Replies

7. Solaris

Solaris 10 - Memory / Swap

Hi all Got myself in a pickle here, chasing my own tail and am confused. Im trying to work out memory / swap on my solaris 10 server, that Im using zones on. Server A has 32Gb of raw memory, ZFS across the root /mirror drives. # prtdiag -v | grep mem = Memory size: 32768 Megabytes #... (1 Reply)
Discussion started by: sbk1972
1 Replies

8. Solaris

Weird swap size on Solaris 9

I have a machine: SunOS <server> 5.9 Generic_117171-15 sun4u sparc SUNW,Sun-Fire-480R It has these filesystems: Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 19G 15G 3.9G 80% / /proc 0K 0K 0K 0% /proc... (6 Replies)
Discussion started by: son_t
6 Replies

9. UNIX for Advanced & Expert Users

allocating swap space on solaris 9

Hi, I have a solaris 9-sparc box, which after bouncing is giving swap space related error messages(that swap space is not enough). could it be possible that there was some command issued or setting made before bouncing, which was lost after bouncing? please let me know how i can add swap space... (1 Reply)
Discussion started by: 0ktalmagik
1 Replies

10. UNIX for Dummies Questions & Answers

creating swap space under Solaris 2.6

I just finished installing Solaris 2.6 and several applications just to realize that I made a bonehead mistake during the install. When setting up the filesystems, I entered /tmp and no swap! Is it possible to permanantly declare the entire /tmp partition as swap? I am guessing an entry in the... (4 Replies)
Discussion started by: 98_1LE
4 Replies
Login or Register to Ask a Question