OpenSUSE Install :: Can Swap Space Added After Boot Be Used?
Apr 15, 2010
I found what I believe to be odd behavior on an OpenSuSE 11.0 computer today. I needed to add some disk space on one of our computers and here is what I did: This computer had a separate disk for swap space so I deactivated swap (swapoff -a) and then removed the swap entry from /etc/fstab. I then shut down the computer and replaced what was a single disk used only for swap with a RAID1 hardware mirror.
I then booted the system and added a swap partition and another file system on the new RAID1 volume. Even after activating the new swap space with swap on, no swap ever seems to be actually allocated. The swap space shows up in top, free, "swap -s" and vmstat, but never gets used. I realize that a reboot will result in the swap being used, but is there anyway to get the kernel to use the swap without a reboot.
It's probably worth noting that I verified this behavior on a second computer. That is I turned off swap, removed the swap entry in /etc/fstab and then rebooted. Swap is never actually allocated until a second reboot. By the way, this was discovered when some of our users attempted to run java on the system where I did the first work and they got:
prompt> java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.
Yesterday, java was working fine and I got the same results on my test computer. Is this a kernel bug or just odd behavior?
View 4 Replies
ADVERTISEMENT
Jun 13, 2011
Not sure if I have landed in right place for this question .Problem FacedI have 30-40 heavy load (Memory operations on heap) processor running with each having 30-40 threads.In one of the thread (of each process), I have file locking operation as explained below (say in thread T1)Step 1 - Lock the file using fcntl(SETWLK) on file f1, Basically using wait lock.Step 2 - Read/write data from another file f2.Step 3 - unlock the file f1.As the memory occupied by process increased, the swap area used will reduce - this continues for a long amount of period. When the free swap space is reduced to 100 MB free out of 2 G and VIRT reduces to 120MB free out of 17G, for T1 thread, Step 3 is not scheduled for more than 300 seconds after Step 1 and 2.
I want to understand why this behavior is present - as per my understanding scheduling will occur within micro-seconds and we can expect that the T1 thread of all process should be scheduled without too much delay.Additional InfomationMachine Info : (uname -a), Linux linux 2.6.16.46-0.12-smp#1 SMP Thu May 17 14:00:09 UTC 2007 x86_64 x86_64 GNU/LinuxMemory Info :Total Memory is 16GB + Swap Memory is 2GBI want to know why this behavior is observed in SUSE
View 4 Replies
View Related
Aug 31, 2011
I've recently added a new hard disk and due to mother board controllers this new hard disk is known as sda.Before that my boot partition was /dev/sda3 and know this changed to sdb3.Whenever grub menu appears and I choose opensuse,it can't find /dev/sda3 .It seems that I should edit menu.lst or change boot loader parameter.something like root (hd1,2).But I don't how I can do this with opensuse boot loader.Though I could do this with CentOS easily.
View 7 Replies
View Related
Nov 1, 2010
I am new to Linux. When I installed some applications and something through package manager,Now I get two added options in boot loader with identical names like failsafe and normal. what is that?multiple kernel?
View 3 Replies
View Related
Dec 7, 2010
Lucid on an Acer Travelmate800.Can anyone tell me why I have 0k for swap space? I allocated swap which I can see in my Disk Utility's 'volumes' display.
View 5 Replies
View Related
Mar 20, 2011
Does one need to Check the Swap filesystem, from time to time
View 4 Replies
View Related
Jan 31, 2010
I got the serious problem after update my opensuse 11.2, after update the message appeared and said restart my machine to updates take effect and after restart system doesn't boot GUI workspace it boot into text like space named "Emerald - Kernel 2.6.31.8.0.1 - desktop (tty1)".What can I do to boot my machine into GUI again?
View 4 Replies
View Related
Jan 7, 2011
opensuse v11.3
I started an update today. Part way through I got the message that there is not enough room on /boot to complete the kernel update. "This can't be good," I thought.
Indeed, there is only 6.4MB free space on /boot of 69MB; at least 9MB were expected. I do not know why the partition is so small. It is formatted ext3.
How do I go about creating a /boot partition with more space?
Here is the current disk complement:
Code:
View 9 Replies
View Related
Oct 10, 2009
I have a CentOS V5.3 system with a single 30GB HDD having about 21 GB of free space. I added a 40 GB HDD with a single ext3 partition. After reboot, the free space still reads as 21 GB. I ran the LVM GUI, and added the volume to the LVM group 00; no change to the free space after reboot. I ran the LVM again, removed the volume from the group and created a new group for the volume; still no change after reboot. I am clearly missing a key operation.
View 10 Replies
View Related
Nov 5, 2009
I've got an install of CentOS 5.3 in a VM which was installed without X or Gnome.I've added X (yum groupinstall 'X Window System') and Gnome (yum groupinstall 'GNOME Desktop Environment) and can now run startx no problem.However on boot I get a command line login rather than the graphical login screen one normally gets if Gnome is included at install time.What do I need to do to get the graphical login after boot?
View 3 Replies
View Related
Aug 8, 2011
I had some issues with my touchpad on my Dell Laptop Latitude E6510.I found the site "linux.dell.com" which is an OSS site for Dell products, Drivers, firmware, etc.Index of /repo/community.I followed the instructions on their site to add the repo to my system. When I run the 'wget' command that it tells me to run, it seems like everything goes fine. But I can't see the repo in YaST > Software Repositories. I ran the command on Friday last week so I don't have the exact output from which I ran this command the first time.
View 9 Replies
View Related
Oct 7, 2009
I'm running fedora 11 on Dell laptop. I find that fedora is using swap space even if memory is available.
Isn't it slower to use swap ?? Or Am I just missing something ?
View 2 Replies
View Related
Dec 21, 2010
i had to install oracle in my laptop...it required a certain amount of swap space which i didnt have... i tried to create it using the datadump command... dd if=/dev/zero of=/extraswapf bs=1M count=512 i then rebooted and made the swapfile using: mkswap /extraswap i then made the entry in /etc/fstab as follows "/extraswap swap swap default 0 0" and i used the command : swapon /extraswap the swap space was visible after that... but after rebooting the swap space is not visibille
View 4 Replies
View Related
Feb 3, 2010
When i first installed ubuntu about 2 weeks i left about 30gb left for windows vista. I have not used vista at all so i decided to delete it and use the whole hard drive for ubuntu. I got the liveCD out and went into the partition editor on that (i had ubuntu,swap,vista in that order) and deleted the swap space and vista and increased the size of the Ubuntu partition to so there was only 4gb left for swap. I then booted up again from the hard drive and i get this message "one or mounts cannot be mounted" or something to that effect and it talks about the swap partition and offers to boot in recovery mode which does work.Once in recovery mode i go in and try and make swap partition with Disk Utility and i do that and it works. I go to restart Ubuntu to test it out and the same problem happens again, cannot mount swap ect. so i go back into Disk Utility and it now says 4gb Unrecognized instead of swap
View 4 Replies
View Related
Oct 13, 2009
a friend of mine recently installed Ubuntu in his Laptop however is running really slow. It's Dell 1520 so I don't think the computer is that slow. I think what the problem is that he doesn't have a swap space. ok, I could use GPARTED to resize the HD and create SWAP space but how can I tell the system to permanently use that space?
View 14 Replies
View Related
Jul 6, 2011
I have a rel 5.6 system that we just added more memory to.
1. What is the correct or best way to increase swap?
2. Can I remove the swap space later on?
3. How do you remove it when done?
Our rootvg only has 8G available to it and I want to be sure if i allocate anything out to it I can reclaim when done without having to rebuild the system.
We have to do a lot of data moves so we allocated extra memory to this VM system and now we need to increase swap. I did see several articles in google but they describe using a new swap partition, a swap file and increasing an existing swap space. I am still not sure what is the best way to go knowing this is a temp situation.
[Code]...
View 7 Replies
View Related
Apr 29, 2011
Before I start a flame war, I'd like to qualify my question with...I have a boatload of ram and a VERY thin install.(CLI openSuse 11.4-64) If I'm running the most baseline, text-only-install...and the whole system install is like 2GB or less, and I have 8GB of ram (which I could easily upgrade to 16). At install time...do I really need a swap partition at all? What purpose could a swap serve if I have that much ram in such a trimmed down environment?
View 6 Replies
View Related
Jan 30, 2010
swap space consumed is not released when there is enough main memory. pls advise how to release used swap space.
View 6 Replies
View Related
Mar 10, 2009
I had just installed gparted , not used yet.I have a problem , at the time of installation i havent created necessary swap space , my linux partition contains 30GB with ext2 filesystem..I'm fully having this , but my question is with the above mentioned tool can I recreate swap space from this 30GB , like 20GB as user space and rest 10 as swap space . Can I?
View 3 Replies
View Related
Jun 17, 2009
I have a dual xeon e5420 server w/ 16GB ram running 5.3 x64 that I was trying to partition out in the following configuration:
250GB on / (root)
4.2TB on /home
50GB on /tmp
2GB on swap
The issue is that no matter what size I set the swap space to in anaconda if always shows 8GB when I "df -h". I've tried setting it to 2GB 1GB and 512MB all with the same result.
View 5 Replies
View Related
Mar 20, 2011
How to add swap space?
View 5 Replies
View Related
May 11, 2011
I know its a long shot, but still...
Is it possible to change size of boot and swap without doing a fresh install?
this is how my volume dist is like - root -30 gb, boot 200 mb, swap 8gb, home - 110 gb
my laptop is an amd turion dual core TL-58, with 2 gb ram and 160 gb hard disk...
and i want to change it to what is generally recommended ie boot to 500mb or 1 gb and swap to 4 gb..
the remaining can be added to home...
View 6 Replies
View Related
Oct 31, 2010
I am currently running 32 bit ubuntu in my PC with 2.5 GB RAM, Intel Pentium Dual Core inside. I am coming to debian soon. I will be installing 64 bit squeeze. Now I have 3 GB of swap space. I do satellite image processing. Therefore what is the recommended swap space for me with the kind of work I do. RAM is in very small amount but as of now I have to stay with it.
Also I am interested to know would KDE be an overkill for my machine. Will I run short of memory when I start image processing?
View 5 Replies
View Related
Jun 10, 2010
How can I figure out which programs are using up swap space? My current memory usage is 2.9GiB out of 3.0GiB used(and I though I had 4GB, I need to check into that) and 1.3Gib of swap used.
View 1 Replies
View Related
Sep 12, 2010
When we want to setup a linux system, there is a common a suggestion like set the swap space as twice as big than your physical memory, I want to know why do we need this and how is this suggestion come from?
View 4 Replies
View Related
Jun 21, 2011
I have a linux server top reports about 9GB of swap used:But I cannot figure where's it use swap, some google results said that top - O commad follow by p will show swap usage by process. But as shown in the above image, taking a brief sum of the SWAP column shows that > 10GB of swap is used, so where does the 9GB figure for swap usage come from? Top reports that about 96492kb of ram is used by buffers. Is there anything I can do to utilize this, instead of using swap?
View 1 Replies
View Related
Oct 7, 2010
I got back to my laptop after dinner and found a blank screen with one line of text saying something about running out of swap space - I tried all kinds of key combinations but nothing worked to bring the desktop back - eventually I pressed and held the power button to shut it down - I suppose this is Ubuntu's version of the "blue screen of death"?I went to System - Disk Utility to make a 2GB free space right after the swap space. Then I tried to make that 2GB free space a swap space partition but it came back with an error
View 5 Replies
View Related
Nov 25, 2010
How can I add more space to my drive since I only have 1gb of ram and plenty of hard drive space? Right now it does not seem to be utilizing the swap space very efficiently.
View 9 Replies
View Related
Jul 6, 2011
Is there any way to force the system to use swap space instead of RAM? I just upgrade form 512 to 1 gb. And when I installed ubuntu I give the swap space 1gb according to 512mb RAm requirement. Now I have 1 gb. When I use heavy applications i-e firefox, office, any game etc at a time the processing go to 100% and the RAM use 50+% of the memory. No swap memory will be use. Any way to use swap instead of RAM?
View 6 Replies
View Related
Aug 9, 2011
I am using a Dell Inspiron 580 that I recently recieved as a gift. I wouldn't normally purchase a Dell, but I have no money and it my old computer was WAY past it's prime. After going through a miniature nightmare I now wonder how to create swap space for my ubuntu installation. I am running 10.04, 64 bit. I am having no problems, but I have no swap space. My computer is a new -Intel i3- with 6GB of ram; so I assumed I could worry about getting it installed, then set a swap file later. As I said, it runs well, but i don't feel comfortable with ZERO swap space.
When I installed Ubuntu I already had a problem because Dell had included 2 special partitions that are diagnostic and recovery. This didn't surprise me, but I want to make my system backup less than 100GB, so I shrank the "c:" partition to 100Gb and made the free space "storage":NTFS partition. After backing everything up (before messing with the partitions), I installed Ubuntu. Since I had created the backup that Dell asked me to (the very first time I turned the PC on) as well as my own system image I wasn't concerned.
Using GParted Boot disk I deleted the Dell "Recovery" partition and marked the "C:" drive (COS)) as active. I used a Windows 7 install disk to "repair" the bootmgr problem. Had to run "repair" twice, but it worked.
My question now is: why didn't Ubuntu installation say anything about a swap partition until I had already set up my partitions? I could easily give up a gig or two for swap space but I cannot make a swap partition unless I delete the Dell diagnostic partition (NOT the "recovery" partition; the other hidden one). I don't mind deleting the "recovery" partition because it is backed up, but I would prefer not to delete the "diagnostic/utility" partition, just in case. The 40MB is crap anyway.
It hadn't occurred to me that I would have trouble making swap space. I am used to windows (I am dual booting with GRUB BTW, if that matters) and the swap FILE doesn't need it's own partition. I understand why a separate partition would be better, but unless I can somehow create a logical/extended partition for swap, I need to know what else I can do.
I believe Ubuntu is a better system for many reasons, but little things like this do puzzle me. I am no engineer, or software designer, but I don't understand why I wasn't given an option, such as: You cannot make another primary partition; would you like to use a virtual disk/file as your swap space?"
View 2 Replies
View Related