Sponsored Content
Full Discussion: Swap space (almost) full
Homework and Emergencies Emergency UNIX and Linux Support Swap space (almost) full Post 302936812 by solaris_1977 on Saturday 28th of February 2015 03:27:35 AM
Old 02-28-2015
Swap space (almost) full

Hello,
This is RHEL 5.7. swap is almost full, but I am not sure, what to release and how to release space. This is production server so I would like to try all possible options before reboot.
Code:
[root@tudcol10 ~]# top
top - 00:18:26 up 327 days,  7:01,  3 users,  load average: 0.16, 0.21, 0.18
Tasks: 782 total,   1 running, 781 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.1%us,  0.1%sy,  0.0%ni, 99.8%id,  0.1%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:  49322952k total, 35302516k used, 14020436k free,  1986316k buffers
Swap: 52428116k total, 52424792k used,     3324k free,  3224040k cached

[root@tudcol10 ~]# free -m
             total       used       free     shared    buffers     cached
Mem:         48166      34480      13686          0       1941       3148
-/+ buffers/cache:      29390      18776
Swap:        51199      51196          3
[root@tudcol10 ~]# pidof memcached

[root@tudcol10 ~]# cat /proc/meminfo
MemTotal:     49322952 kB
MemFree:      14006976 kB
Buffers:       1988464 kB
Cached:        3224596 kB
SwapCached:     524352 kB
Active:       29330340 kB
Inactive:      4358960 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:     49322952 kB
LowFree:      14006976 kB
SwapTotal:    52428116 kB
SwapFree:         3324 kB
Dirty:            6848 kB
Writeback:           0 kB
AnonPages:    27986200 kB
Mapped:         280616 kB
Slab:          1237248 kB
PageTables:     251032 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:  77089592 kB
Committed_AS: 113543976 kB
VmallocTotal: 34359738367 kB
VmallocUsed:    301576 kB
VmallocChunk: 34359435251 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
Hugepagesize:     2048 kB
[root@tudcol10 ~]#

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

SWAP SPACE

All, I am using SOLARIS 7. I have formated my hard drive to consist of only 150MB of swap space. This isn't enough considering I am running Oracle. How do I create additional swap space? Please list sources or commands. PS mkswap doesn't work on my machine. ( I have swap and... (5 Replies)
Discussion started by: SmartJuniorUnix
5 Replies

2. 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

3. 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

4. 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

5. Solaris

/tmp: File system full, swap space limit exceeded

Can you help. My server sunning solaris 9 on x86 platform pretty much hung for a few hours... I could not use telnet or ssh to the box - it kept refusing connection. A few hours later - I was able to log in again. The server has not rebooted but here are the first errors in the messages log... (5 Replies)
Discussion started by: frustrated1
5 Replies

6. Linux

swap space

Hi, I want to know how can i free the swap space if it is completely full, 0 mb remaining, (1 Reply)
Discussion started by: manoj.solaris
1 Replies

7. 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

8. Solaris

Swap space

Dear All, I have a swap space of 16G available in Sol 10. I have allocated it as a seperate file system. But when the RAM Is full used , the system gets rebooted and the swap is not being used,. Any reasons for this. Rgds Rj (5 Replies)
Discussion started by: jegaraman
5 Replies

9. Solaris

Solaris full /tmp - du and df different swap NOT filled

Hello all, The issue is # df -h /tmp Filesystem size used avail capacity Mounted on swap 4.0G 4.0G 8.7M 100% /tmp # du -sh /tmp/ 87M /tmp By now you probably will say that this is open file destriptor issue. Well no, nothing... (2 Replies)
Discussion started by: click
2 Replies

10. Solaris

File system full, swap

hi all I am having a t5240 server in that zone is there in /var/adm/messages i am getting the following warning WARNING: /zoneroot/zonename-zone/root/tmp: File system full, swap space limit exceeded if a swap is getting full what can i do. Please use code tags next time for your... (2 Replies)
Discussion started by: nikhil kasar
2 Replies
FREE(1) 							Linux User's Manual							   FREE(1)

NAME
free - Display amount of free and used memory in the system SYNOPSIS
free [-b|-k|-m|-g] [-c count] [-l] [-o] [-t] [-s delay] [-V] DESCRIPTION
free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel. The shared memory column should be ignored; it is obsolete. OPTIONS -b Display the amount of memory in bytes. -c count Display the result count times. Requires the -s option. -g Display the amount of memory in gigabytes. -k Display the amount of memory in kilobytes. This is the default. -l Show detailed low and high memory statistics. -m Display the amount of memory in megabytes. -o Display the output in old format, the only difference being this option will disable the display of the "buffer adjusted" line. -s Continuously display the result delay seconds apart. You may actually specify any floating point number for delay, usleep(3) is used for microsecond resolution delay times. -t Display a line showing the column totals. -V Display version information. FILES
/proc/meminfo memory information AUTHORS
Written by Brian Edmonds. Send bug reports to <albert@users.sf.net> SEE ALSO
ps(1), slabtop(1), top(1), vmstat(8). Cohesive Systems 5 Oct 2009 FREE(1)
All times are GMT -4. The time now is 02:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy