Sponsored Content
Full Discussion: Swap space issue
Top Forums UNIX for Advanced & Expert Users Swap space issue Post 302699445 by solaris_1977 on Tuesday 11th of September 2012 04:57:45 PM
Old 09-11-2012
Swap space issue

I have Solaris-10 with mutiple zones running in it. My Big Brother monitoring is complaining for very less swap space available, but I am not able to find, what process has consumed its swap space and how to clear it. All zones including global server have almost blank /tmp with very less data.
HTML Code:
root@apps_serv201:/# df -h /tmp
Filesystem             size   used  avail capacity  Mounted on
swap                   512M    88K   512M     1%    /tmp
root@apps_serv201:/# /usr/sbin/swap -s
total: 75843704k bytes allocated + 39689080k reserved = 115532784k used, 1395416k available
root@apps_serv201:/# /bin/vmstat 1 2 | tail -1
 16 0 0 1394080 43647304 81 135 0 0 0 0  0  0  0  0  0 40221 49765 43543 10 4 86
root@apps_serv201:/# /usr/sbin/swap -l
swapfile             dev  swaplo blocks   free
/dev/zvol/dsk/rpool/swap 256,1      16 25165808 24877088
I downloaded a script called swapinfo and that gave me this info --
PHP Code:
root@apps_serv201:/# /var/tmp/swapinfo
RAM  _____Total 131072.0 Mb
RAM    Unusable  2436.1 Mb
RAM      Kernel 12859.0 Mb
RAM      Locked 98162.2 Mb
RAM        Used 
-25007.9 Mb
RAM       Avail 42622.5 Mb
Disk _____Total 12288.0 Mb
Disk      Alloc   141.0 Mb
Disk       Free 12147.0 Mb
Swap _____Total 114179.5 Mb
Swap      Alloc 74060.4 Mb
Swap    Unalloc 38733.0 Mb
Swap      Avail  1386.1 Mb
Swap  
(MinFree16100.7 Mb
root
@apps_serv201:/
PHP Code:
root@apps_serv201:/# echo ::memstat | mdb -k
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     995817              7779    6%
ZFS File Data              322707              2521    2%
Anon                      9483981             74093   58%
Exec and libs               10027                78    0%
Page cache                 253496              1980    2%
Free (cachelist)            33201               259    0%
Free (freelist)           5387854             42092   33%
Total                    16487083            128805
Physical                 16465391            128635 
Please help

Last edited by solaris_1977; 09-11-2012 at 06:10 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

pageing space vs swap space

Hello, I would like to know if there is any difference between the pageing space and the swap space. Thank you in advance. (1 Reply)
Discussion started by: VeroL
1 Replies

2. AIX

swap space / paging space

how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies

3. UNIX for Dummies Questions & Answers

Swap space used???

Plz I need to know how much swap mem free and used i have. I'm using Compaq Tru64 UNIX V5.1A (rev 1885) Thanx (1 Reply)
Discussion started by: Lestat
1 Replies

4. Shell Programming and Scripting

Issue with insufficient swap or memory space

Hi, When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046 exec(2): insufficient swap or memory available. exec(2): insufficient swap or memory available. exec(2):... (2 Replies)
Discussion started by: kavithakuttyk
2 Replies

5. UNIX for Advanced & Expert Users

Issue with insufficient swap or memory space

Hi, When I execute one of my shellscript I am getting the below mentioned error message .This application takes 2input files which have the records counts 26463 and 1178046 exec(2): insufficient swap or memory available. exec(2): insufficient swap or memory available. exec(2): insufficient swap... (3 Replies)
Discussion started by: kavithakuttyk
3 Replies

6. Solaris

Swap Space

Could someone please explain how you know how much swap space you have on your system. See below: # swap -s total: 8225048k bytes allocated + 4863488k reserved = 13088536k used, 4008032k available # swap -l swapfile dev swaplo blocks free /dev/dsk/c3t0d0s1 32,25 16... (2 Replies)
Discussion started by: jamba1
2 Replies

7. Solaris

swap space issue

HI All, Recently during oracle install I realized that I did not have enough swap space. So I - 1. Created a swap file "swap_fille1" in /rpool using mkfile - # ls -ltr /rpool total 10487121 drwxr-xr-x 3 root root 3 Dec 21 12:09 boot drwxr-xr-x 2 root root ... (10 Replies)
Discussion started by: sumeet
10 Replies

8. Solaris

No Space Left - Memory/Swap issue

:wall:I'm having a bit of a problem with Solaris 10u8 and one of our applications requesting memory and being told, "no space left". The break down: 24GB Physical Memory 8GB swap at the time of occurance, here's what a memory breakdown looks like: Page Summary Pages ... (21 Replies)
Discussion started by: aychbee45
21 Replies

9. Linux

How to reclaim the space which i used to increse the swap space on Xen,

Hi, i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :- 1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1057 ls -l /root/myswapfile 1058 chmod 600 /root/myswapfile 1059 mkswap /root/myswapfile 1060 swapon /root/myswapfile ... (1 Reply)
Discussion started by: apm
1 Replies

10. HP-UX

Swap space issue.

Hi, I am not sure how many scripts / java processes running on my HP-UX server. I need to calculate the total heap of these processes. I then need to recommend increasing the swap memory to be increase and equal to total heap if that is the right concept. Currently we are facing... (2 Replies)
Discussion started by: mohtashims
2 Replies
All times are GMT -4. The time now is 08:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy