Linux swap limits
-
I have been trying to figure out the version of Redhat or Mandrake that would allow me to have the maximum swap space, along with the maximum single swap partition size limit. I am currently using Redhat 7.2, which allows me a single swap partition size limit of 2Gb, and I am using 6 such 2Gb partitions. However, my applications do not seem to use all the available memory. This would not be a problem, except that they sometimes crash due to a lack of memory! I used to use Mandrake 8.0 earlier, and I used to have a single 6 Gb swap partition. I am not sure it was actually using 6 Gb of swap, but Mandrake did not gripe when I was setting up the swap. I couldn't do the same with Redhat 7.2 because of the 2 Gb swap limit. I do not care about anything else about the OS's. My only concern is the maximum possible available swap, with the maximum single swap partition size limit. Any help would be much appreciated!
-
Answer:
RedHat 7.2 limits you to creating a swap partition of maximum 2 GB during install. However, after the installation is complete, you can increase the swap partition size as per your requirements. Here is a post in the RedHat mailing list that outlines the steps you must take inorder to increase the size of your swap partition. Though the poster refers to the IA64 version of RedHat 7.2, the instructions should work on all RedHat versions. - When will we have the larger swap partition than 2GB? (use parted!) From: Murakami Hiroshi ( http://www.redhat.com/mailing-lists/ia64-list/msg02116.html ) The above should help you increase your swap file size. However, unless you are running a server or a large number of programs at the same time, you should not require such large swap space. If most of the time your apps run file, giving "out of memory" errors only infrequently, then the problem is most likely with that application. Perhaps a memory leak? Make sure that you have updated your application to the newest version available. You can download the latest RPMs from RedHat at http://www.redhat.com/apps/download/ I dont want to post this as an answer until you have successfully verified this technique. Please try it out and inform me of the results. If you need any clarifications, just ask! :)
kodak-ga at Google Answers Visit the source
Related Q & A:
- Why have there been changes to speed limits for cars in Great Britain during the last 100 years?Best solution by Yahoo! Answers
- How much would a v6 engine swap before a 94 firebird?Best solution by Yahoo! Answers
- How much does an engine swap for a civic cost?Best solution by answers.yahoo.com
- Can I swap a 300zx tt into a 300zx 2+2?Best solution by answers.yahoo.com
- What do I need to swap a B18C1 into my civic?Best solution by honda-tech.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.