07-24-2001
No, you can't declare /tmp as swap space. If you do, the programs that need to write /tmp (mail, vi, elm, etc. etc. etc.) will fail because there is no writeable filesystem space in /tmp.
You can install easily delete the configuration that specifies /tmp as swapspace and create disk swap or other filesystem swap. That is no problem. Look in your fstab or whatever that is where the filesystems and swap space are specified and change the swap entry after making other swap space.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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 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
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... (6 Replies)
Discussion started by: Paarth
6 Replies
5. 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
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
7. 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
8. 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
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