{"id":230,"date":"2011-02-10T16:21:43","date_gmt":"2011-02-10T16:21:43","guid":{"rendered":"http:\/\/www.hakancakiroglu.com\/wordpress\/?p=230"},"modified":"2011-02-10T16:24:47","modified_gmt":"2011-02-10T16:24:47","slug":"ubuntu-3gb-ram-limiti-ve-cozumu","status":"publish","type":"post","link":"https:\/\/www.hakancakiroglu.com\/wordpress\/?p=230","title":{"rendered":"Ubuntu 3GB RAM Limiti ve \u00c7\u00f6z\u00fcm\u00fc"},"content":{"rendered":"<p>E\u011fer Ubuntu Desktop 32 bit versiyonunu kullan\u0131yorsan\u0131z ve bilgisayar\u0131n\u0131zdaki toplam RAM miktar\u0131 3GB&#8217;nin \u00fcst\u00fcnde ise sadece 3GB RAM kullanabileceksinizdir. Bunun sebebi Ubuntu 32bit i\u015fletim sisteminde kullanabilece\u011finiz adreselenebilir max RAM adres alan\u0131n\u0131n ancak 4Gb ile s\u0131n\u0131rland\u0131r\u0131lm\u0131\u015f olmas\u0131d\u0131r. <!--more--><\/p>\n<p>Bu durumun \u00f6n\u00fcne ge\u00e7ebilmek i\u00e7in yani 4GB RAM ve daha \u00fcst\u00fc RAM&#8217;e sahipseniz ve sahip oldugunuz RAM miktar\u0131n\u0131n tamam\u0131n\u0131 kullanam\u0131yorsan\u0131z PAE aktiflenmi\u015f bir kernel kullanmal\u0131s\u0131n\u0131z ya da 64bitlik bir Ubuntu s\u00fcr\u00fcm\u00fc kullanmaya ba\u015flamal\u0131s\u0131n\u0131z.<\/p>\n<p>E\u011fer 64bit versiyonlu bir Ubuntu kullanmak istemiyorsan\u0131z ve sahip oldugunuz donan\u0131m mimarisi 64bit desteklemiyorsa PAE aktiflenmi\u015f bir kernel kullanmal\u0131s\u0131n\u0131z. PAE &#8220;Physical Address Extension&#8221; kelimelerinin k\u0131saltmas\u0131ndan olu\u015fan ve 32bit sistemlerde adreslenebilir RAM adresini geni\u015fletmeye yarayan bir mimaridir. 64bitlik bir i\u015fletim sisteminde adreslenebilir bellek uzay\u0131 zaten bu limitin \u00e7ok \u00fcst\u00fcnde oldu\u011fu i\u00e7in b\u00f6yle bir problemle kar\u015f\u0131la\u015fmayacaks\u0131n\u0131zd\u0131r.<\/p>\n<p>Evet gelelim bu PAE aktiflenmi\u015f \u00e7ekirde\u011fi nas\u0131l y\u00fckleyece\u011fimize&#8230;<\/p>\n<p>\u00d6ncelikle \u015fu komut ile kullanabildi\u011finiz RAM mikar\u0131n\u0131 Megabyte cinsinden g\u00f6relim<\/p>\n<pre>root@endersys:~# free -m<\/pre>\n<pre>             total       used       free     shared    buffers     cached\r\nMem:          3291        801       2489          0         95        342\r\n-\/+ buffers\/cache:        363       2927\r\nSwap:         1906          0       1906\r\n<\/pre>\n<p>Evet \u015fimdi paket y\u00f6neticimiz ile sistemimizi her ihtimale kar\u015f\u0131 g\u00fcncelleyelim ve ard\u0131ndan PAE kernelimizi y\u00fckleyelim<\/p>\n<pre>root@endersys:~#<code> sudo apt-get update\r\nroot@endersys:~# sudo apt-get install linux-headers-server\r\nroot@endersys:~# sudo apt-get install linux-image-server\r\nroot@endersys:~# sudo apt-get install linux-server\r\n<\/code><\/pre>\n<p>Bu i\u015flem kernel taraf\u0131nda g\u00fcncellemeler ve de\u011fi\u015flik yapt\u0131\u011f\u0131 i\u00e7in makinam\u0131z\u0131 yeniden ba\u015flatmal\u0131y\u0131z.<\/p>\n<pre>root@endersys:~# sudo reboot\r\n<\/pre>\n<p>Evet makinam\u0131z reboot olduktan sonra RAM miktar\u0131m\u0131z\u0131 tekrar kontrol edelim<\/p>\n<pre>root@endersys:~# free -m<\/pre>\n<pre>             total       used       free     shared    buffers     cached\r\nMem:          4020        801       2489          0         95        342\r\n-\/+ buffers\/cache:        363       2927\r\nSwap:         1906          0       1906<a href=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2011\/02\/Screenshot-System-Monitor.png\"><img loading=\"lazy\" class=\"alignright size-medium wp-image-232\" title=\"Screenshot-System Monitor\" src=\"http:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2011\/02\/Screenshot-System-Monitor-300x241.png\" alt=\"\" width=\"300\" height=\"241\" srcset=\"https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2011\/02\/Screenshot-System-Monitor-300x241.png 300w, https:\/\/www.hakancakiroglu.com\/wordpress\/wp-content\/uploads\/2011\/02\/Screenshot-System-Monitor.png 614w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/pre>\n<p>Evet g\u00f6rd\u00fc\u011f\u00fcn\u00fcz gibi kullan\u0131labilir RAM miktar\u0131m\u0131z 3291&#8217;den 4020 ye y\u00fckseldi. Hay\u0131rl\u0131 u\u011furlu olsun \ud83d\ude42<\/p>\n<p>.<\/p>\n<p>Ayn\u0131 durumu System -&gt; Administration -&gt; System Monitor yolunu izleyerek de g\u00f6rebilirsiniz.<\/p>\n<p>.<\/p>\n<p>Umar\u0131m faydal\u0131 bir payla\u015f\u0131m olmu\u015ftur.<\/p>\n<p>Yeni bir yaz\u0131da g\u00f6r\u00fc\u015fmek dile\u011fiyle&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>E\u011fer Ubuntu Desktop 32 bit versiyonunu kullan\u0131yorsan\u0131z ve bilgisayar\u0131n\u0131zdaki toplam RAM miktar\u0131 3GB&#8217;nin \u00fcst\u00fcnde ise sadece 3GB RAM kullanabileceksinizdir. Bunun sebebi Ubuntu 32bit i\u015fletim sisteminde kullanabilece\u011finiz adreselenebilir max RAM adres alan\u0131n\u0131n ancak 4Gb ile s\u0131n\u0131rland\u0131r\u0131lm\u0131\u015f olmas\u0131d\u0131r.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/230"}],"collection":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=230"}],"version-history":[{"count":0,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/230\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=230"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=230"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hakancakiroglu.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=230"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}