{"id":327,"date":"2005-01-26T18:00:56","date_gmt":"2005-01-26T16:00:56","guid":{"rendered":"http:\/\/www.greenman.co.za\/wordpress\/?p=327"},"modified":"2005-01-26T18:00:56","modified_gmt":"2005-01-26T16:00:56","slug":"how-much-memory-can-a-26-linux-kernel-address","status":"publish","type":"post","link":"https:\/\/www.greenman.co.za\/blog\/?p=327","title":{"rendered":"How much memory can a 2.6 Linux kernel address"},"content":{"rendered":"<p>Busy having a debate with MySQL support about the memory limit for processes under Linux 2.6. We have a shiny new database with 6GB RAM, and the question is how useful is this with a 32-bit processor.<\/p>\n<p>As far as I know, processes on a 2.6 kernel can address 4GB. (there&#8217;s <a href=\"http:\/\/kerneltrap.org\/node\/2450\">a reference<\/a> on <a href=\"http:\/\/kerneltrap.org\">kerneltrap<\/a>).<\/p>\n<p>MySQL support have told me there&#8217;s a 2.5GB limit. This difference would explain some of the problems with our database server! We&#8217;ve created a 3GB process on that same machine, and can remember MySQL going up well beyond 2.5GB in the initial imports. so so far I&#8217;m not convinced of their advice.<\/p>\n<p>Some references for others bumbling across this page:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.linuxsa.org.au\/pipermail\/linuxsa\/2004-February\/065881.html\">How much memory can an individual process address<\/a> from <a href=\"http:\/\/www.linuxsa.org.au\/\">Linux SA<\/a><\/li>\n<li><a href=\"http:\/\/kerneltrap.org\/node\/2450\">High Memory in the Linux Kernel<\/a> from <a href=\"http:\/\/kerneltrap.org\">Kerneltrap<\/a><\/li>\n<li><a href=\"http:\/\/www.linuxjournal.com\/article\/7479\">The future of embedded computing<\/a> from <a href=\"http:\/\/www.linuxjournal.com\">Linux Journal<\/a><\/li>\n<li><a href=\"http:\/\/www-106.ibm.com\/developerworks\/linux\/library\/l-mem26\/?ca=dgr-lnxw95MemManage26\">Kernel comparison: Improved memory management in the 2.6 kernel<\/a> from <a href=\"http:\/\/www.ibm.com\/\">IBM<\/a><\/li>\n<li><a href=\"http:\/\/www.theserverside.com\/discussions\/thread.tss?thread_id=26347#124476\">How to avoid 2GB memory limit of JVM in Linux<\/a> from <a href=\"http:\/\/www.theserverside.com\">TheServerSide.com<\/a><\/li>\n<li>\n<p><a href=\"http:\/\/jeremy.zawodny.com\/blog\/archives\/000796.html\">Overcoming MySQL&#8217;s 4GB limit<\/a> from <a href=\"http:\/\/jeremy.zawodny.com\/blog\">Jeremy Zawodny<\/a> (nothing to do with my problem, but rather to do with MySQL&#8217;s file size limit. Seeing as someone has already confused the two I thought I&#8217;d helpfully point any lost souls off to the right place.) <\/p>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Busy having a debate with MySQL support about the memory limit for processes under Linux 2.6. We have a shiny new database with 6GB RAM, and the question is how useful is this with a 32-bit processor. As far as I know, processes on a 2.6 kernel can address 4GB. (there&#8217;s a reference on kerneltrap).&hellip; <a class=\"more-link\" href=\"https:\/\/www.greenman.co.za\/blog\/?p=327\">Continue reading <span class=\"screen-reader-text\">How much memory can a 2.6 Linux kernel address<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-327","post","type-post","status-publish","format-standard","hentry","category-metal-technical","entry"],"_links":{"self":[{"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/posts\/327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=327"}],"version-history":[{"count":0,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=\/wp\/v2\/posts\/327\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greenman.co.za\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}