Swap Solaris 5.10


 
Thread Tools Search this Thread
Operating Systems Solaris Swap Solaris 5.10
# 8  
Old 06-26-2014
Looks like the Solaris 10 version of prstat doesn't show swap reservations.

Try this dtrace script:

swapinfo.d
# 9  
Old 06-26-2014
Quote:
Originally Posted by achenle
Looks like the Solaris 10 version of prstat doesn't show swap reservations.

Try this dtrace script:

This customer is running Solaris 5.10.

Code:
$ su -
Password:
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
#


Last edited by Michael.McGraw; 06-26-2014 at 05:54 PM..
# 10  
Old 06-26-2014
Quote:
Originally Posted by Michael.McGraw
This customer is running Solaris 5.10.

Code:
$ su -
Password:
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
#

AKA Solaris 10.
# 11  
Old 06-26-2014
Quote:
Originally Posted by achenle
AKA Solaris 10.
Ah, no wonder I felt lost.

Code:
# ./swapinfo.d
RAM  _______Total 32760 MB
RAM      Unusable   108 MB
RAM        Kernel 17454 MB
RAM        Locked 10426 MB
RAM          Used 17592186034039 MB
RAM          Free 15147 MB

Disk _______Total  7071 MB
Disk         Resv  7071 MB
Disk        Avail     0 MB

Swap _______Total  7761 MB
Swap         Resv  7071 MB
Swap        Avail   689 MB
Swap    (Minfree)  4081 MB

# 12  
Old 06-26-2014
Something is definitely reserving swap space, the question is what. What does "prstat -s size" show? Then you can use "pmap" on the big ones and hopefully find which one(s) are mapping a lot of anonymous memory.

Another possibility are shared memory segments. There are ways to create those that don't use any swap space because they get locked into memory. I know DISM segments do use swap because those aren't locked into memory like plain ISM segments.

---------- Post updated at 06:09 PM ---------- Previous update was at 06:06 PM ----------

And FWIW, if you do "uname -a" you'll see "SunOS ... 5.10 ...". Solaris replaced SunOS 4.x, so it's SunOS 5.x. Solaris 8 would be SunOS 5.8. Solaris 11 is SunOS 5.11.
# 13  
Old 06-27-2014
Looks like it's all Oralce

Code:
# prstat -s size
   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
  8429 oracle     18G   11G sleep   59    0   0:21:42 0.0% oracle/1
   647 oracle     18G   11G sleep   59    0   0:12:12 0.0% oracle/1
   445 oracle     18G   11G sleep   59    0   0:01:42 0.0% oracle/1
 11105 oracle     18G   11G sleep   59    0   0:00:15 0.0% oracle/1
 29643 oracle     18G   11G sleep   59    0   4:04:21 0.0% oracle/13
  2501 oracle     18G   11G sleep   59    0   2:49:11 0.0% oracle/14
  5893 oracle     18G   11G sleep   59    0  12:32:39 0.1% oracle/1
 20100 oracle     18G   11G sleep   59    0   0:16:58 0.0% oracle/1
  2445 oracle     18G   11G sleep   59    0   1:25:07 0.0% oracle/1
 21346 oracle     18G   11G sleep   59    0   0:04:08 0.0% oracle/1
 20476 oracle     18G   11G sleep   59    0   0:08:30 0.0% oracle/1
 26541 oracle     18G   11G sleep   59    0   0:04:53 0.0% oracle/1
 16517 oracle     18G   11G sleep   59    0   0:20:39 0.0% oracle/15
 20308 oracle     18G   11G sleep   59    0   0:01:22 0.0% oracle/1
 26438 oracle     18G   11G sleep   59    0   0:05:29 0.0% oracle/1
 20219 oracle     18G   11G sleep   59    0   0:06:38 0.0% oracle/1
 20641 oracle     18G   11G sleep   59    0   0:07:01 0.0% oracle/1
 19368 oracle     18G   11G sleep   59    0   0:06:40 0.0% oracle/1
 26784 oracle     18G   11G sleep   59    0   0:01:51 0.0% oracle/1
 16515 oracle     18G   11G sleep   59    0   0:14:09 0.0% oracle/258
 16513 oracle     18G   11G sleep   59    0   0:14:06 0.0% oracle/258
 22948 oracle     18G   11G sleep   59    0   0:02:42 0.0% oracle/1
 22777 oracle     18G   11G sleep   59    0   0:01:46 0.0% oracle/1
 27393 oracle     18G   11G sleep   59    0   0:03:24 0.0% oracle/1
 19893 oracle     18G   11G sleep   59    0   0:01:44 0.0% oracle/1
 19384 oracle     18G   11G sleep   59    0   0:00:47 0.0% oracle/1
 27196 oracle     18G   11G sleep   59    0   0:01:51 0.0% oracle/11
 27161 oracle     18G   11G sleep   59    0   0:00:46 0.0% oracle/1
 21741 oracle     18G   11G sleep   59    0   0:12:29 0.0% oracle/1
 23389 oracle     18G   11G sleep   59    0   0:00:25 0.0% oracle/1
 16519 oracle     18G   11G sleep   59    0   0:30:03 0.0% oracle/18
 29731 oracle     18G   11G sleep   59    0   0:19:17 0.0% oracle/1
Total: 135 processes, 877 lwps, load averages: 1.08, 1.33, 1.64

---------- Post updated 06-27-14 at 02:00 PM ---------- Previous update was 06-26-14 at 06:25 PM ----------

Quote:
Originally Posted by Michael.McGraw
Code:
# ./swapinfo.d
RAM  _______Total 32760 MB
RAM      Unusable   108 MB
RAM        Kernel 17454 MB
RAM        Locked 10426 MB
RAM          Used 17592186034039 MB
RAM          Free 15147 MB

Disk _______Total  7071 MB
Disk         Resv  7071 MB
Disk        Avail     0 MB

Swap _______Total  7761 MB
Swap         Resv  7071 MB
Swap        Avail   689 MB
Swap    (Minfree)  4081 MB

Looking at this data again... Should more swap be added? Is this telling me that only 7761 MB of swap exists?
# 14  
Old 06-27-2014
What does this show:
Code:
swap -s

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