03-20-2010
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 checking df -hk , i could see that /tmp space which is also the swap space becomes full . on checking /tmp directory i could see there was nothing in that , thus i realized that this was due toh the long activity of backup done before and the server is not releasing this space .
In order to release this space i rebooted the system and the /tmp space was empty and probelm was fixed .
Can anybody suggest any other way of releasing the /tmp space ?
I am using Solaris 10 .
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Advanced & Expert Users
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
3. Linux
Hi all
i am facing a problem with ext3 file system
df -h is showing 19gb is used even if there is not a single file on the mount point
/dev/mapper/vg01-archive
55G 19G 33G 36% /archive_log
OS == Linux cdrsvr 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007... (1 Reply)
Discussion started by: ajays
1 Replies
4. 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
5. Solaris
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
6. UNIX for Dummies Questions & Answers
Hi all,
OS = Solaris 5.10
Without using top, can anyone please advise how to get the current swap space that is assigned to a sub-zone that is part of the Solaris zone? Some of the servers does not have the top command and I do not have access to run zone level commands either like zonecfg... (3 Replies)
Discussion started by: newbie_01
3 Replies
7. Shell Programming and Scripting
Hi Folks,
I am looking for a way to write a script to calculate swap usage in Solaris so that the current usage will be shown in Percentage value. Thanks!!
Based on 'swap -s' command
# swap -s
total: 1378936k bytes allocated + 1236880k reserved = 2615816k used, 2725104k available (2 Replies)
Discussion started by: jaapar
2 Replies
8. AIX
Hi everyone,
i have a question about the Memory Management in AIX 6.1.
I have
- 128 GB RAM and
- 70 GB Page Space.
The application i am running on this machine is doing some operations in perl. These are done only once a day and uses both memory and paging space. My problem... (1 Reply)
Discussion started by: Haichao
1 Replies
9. Linux
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. Solaris
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
LEARN ABOUT DEBIAN
lbcdclient
LBCDCLIENT(1) User Commands LBCDCLIENT(1)
NAME
lbcdclient - Query a remote lbcd daemon for system load
SYNOPSIS
lbcdclient [-2] [-s service[,service ...]] host ...
DESCRIPTION
lbcdclient sends a query packet to a remote lbcd server and prints the results. The result output will look something like this:
btime 1092858021 ctime 1092960298 utime 1092955199
load l1 96 l5 69 l15 57
total 0 unique 0 console 0
tmp full 0 P_tmpdir full 2
services 0 pads 0 0
service 0: weight 1 increment 1
btime is the time of the last system boot in seconds since epoch. ctime is the current system time in seconds since epoch. utime is the
last modification time of the information about logged in users in seconds since epoch.
The load line gives the one-minute (l1), five-minute (l5), and fifteen-minute (l15) load averages, multiplied by 100.
The next line gives the count of logged-in users. total gives the count of all logged-in users, unique lists the total number of unique
users, and console is 1 if a user is logged in to the console of the system.
tmp full is the percentage used in the system /tmp directory and P_tmpdir full is the percentage full in the system /var/tmp directory.
Finally, the last lines give information for each service, using the extended service response for the version three packet format. The
first line gives the count of number of configured services minus one. (The pads numbers are reserved space in the packet and will gener-
ally always be zero.) Then, each subsequent line lists the weights and increments for each service lbcd is monitoring on the system.
If the -2 option is used, lbcdclient will send a version two packet instead, and the returned results will not include the services line
and everything after that.
OPTIONS
-2 Send a version two protocol packet instead of a version three packet. Version two doesn't support the separate service weights.
-s service,[service ...]
Request information for the specified service names. It's not entirely clear whether this works correctly.
SEE ALSO
lbcd(8)
The current version of this program is available from its web page at <http://www.eyrie.org/~eagle/software/lbcd/>.
AUTHORS
Written by Larry Schwimmer. Currently maintained by Russ Allbery <rra@stanford.edu>.
3.3.0 2006-10-06 LBCDCLIENT(1)