Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have SuSe Linux 10.1 installed on a dual processor (Intel Xeon - No.s) server with 4GB RAM. I have put 2GB of swap space (I also tried 12GB SWAP space but the problem was same).
The swap space is shown by
system-> monitor-> memory
as well as by "free" comand. It is also there in /etc/fstab and is shown in "fdisk -l"
BUT this swap space is not acceessed by the code I am running.
e.g.
I have another system (P-IV, -1GB RAM, 2GB SWAP space) with same OS and when I run my code for a large data set, this system shows a full "Physical Memory" and then "SWAP" space is also used (upto 70%)
When I run my code with the same data-set on 4GB-RAM machine, it gives an error "insufficient memory" and exists. When run with a slightly smaller data set, it shows 74% usage of "Physical Memory" and 100% free SWAP space. BUT when I increase data-set, OS does not access swap, rater exits the program.
I have checked swap space, it is ON (swapon) and still not accessible!
It is: 2.6.16.13-4-default #smp ..... x86_64 x86_64 x86_64 GNU/Linux
This is the recompiled kernel from the default kernel of SuSe 10.1 x86_64. First, i installed standard kernel which is installed automatically while installing suse. Since, it was giving the mentioned problem, i recompiled it, but the problem is still there. (the original installed kernel is still there, when I boot into this one, the problem is still there!)
I even tried Suse 10.1 (32 bit) and RedHat EL4 but they are also showing same problem.
The server has two intel xeon 3.0GHz processors on Intel 7520 dual processor motherboard and 4GB ECC-400Mhx RAM.
Should I try with Fedora Core 6 / Mandriva 2007 _free ???
I feel that it is a kernel issue that linux kernel is not supporting more than 4GB of total memory (RAM + SWAP)????
The Linux kernel can handle up to 64 Gig of RAM. The SMP patch to the kernel allows the use of multiple CPUs and more RAM, up into the tera-byte range.
Since your code works on a machine with less RAM, but fails on a machine with dual CPUs and 4 Gig of RAM, I am forced to conclude that there is a problem with the *code* you are using.
And, you are using a 64-bit kernel. Is the code also compiled for 64-bit?
The Linux kernel can handle up to 64 Gig of RAM. The SMP patch to the kernel allows the use of multiple CPUs and more RAM, up into the tera-byte range.
Since your code works on a machine with less RAM, but fails on a machine with dual CPUs and 4 Gig of RAM, I am forced to conclude that there is a problem with the *code* you are using.
And, you are using a 64-bit kernel. Is the code also compiled for 64-bit?
Hi!
No the code is compiled for 32 bit. But initially I tried Suse 10.1 32 bit and faced the same problem and then switched to Suse 10.1 64 bit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.