FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-08-2012, 10:52 AM
Muhammad Yousuf Khan
 
Default Debian showing less RAM

i am using debian 6.0.4. i have 8GB of ram installed in a server 2GB x
4. bios also shows 8 GB.

however top only shows 2gb or RAM

top - 15:48:29 up 16 min, 1 user, load average: 0.00, 0.01, 0.00
Tasks: 90 total, 1 running, 89 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.6%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2273280k total, 79768k used, 2193512k free, 2292k buffers
Swap: 15623088k total, 0k used, 15623088k free, 45456k cached


root@lion:~# free
total used free shared buffers cached
Mem: 2273280 79768 2193512 0 2292 45456
-/+ buffers/cache: 32020 2241260
Swap: 15623088 0 15623088


Secondly.........

root@lion:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/pve--vg-root
442G 550M 419G 1% /

i dont know if its normal but things are confusing me a bit. i have
working space of 442G used 550MB and available 419MB there almost
22GB is missing.

please help.

Thanks,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAGWVfMmZ+hjXUrEjt0jWHLMfD4V2RvkxoN8ArFK4wR=tBGzTS Q@mail.gmail.com
 
Old 08-08-2012, 12:14 PM
Darac Marjal
 
Default Debian showing less RAM

On Wed, Aug 08, 2012 at 03:52:49PM +0500, Muhammad Yousuf Khan wrote:
> i am using debian 6.0.4. i have 8GB of ram installed in a server 2GB x
> 4. bios also shows 8 GB.
>
> however top only shows 2gb or RAM
>
> top - 15:48:29 up 16 min, 1 user, load average: 0.00, 0.01, 0.00
> Tasks: 90 total, 1 running, 89 sleeping, 0 stopped, 0 zombie
> Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.6%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
> Mem: 2273280k total, 79768k used, 2193512k free, 2292k buffers
> Swap: 15623088k total, 0k used, 15623088k free, 45456k cached

What kernel are you using? Either you have one that isn't enable to see
the extra ram or, as has happened on the list in the past, you have bad
modules

>
> Secondly.........
>
> root@lion:~# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/pve--vg-root
> 442G 550M 419G 1% /
>
> i dont know if its normal but things are confusing me a bit. i have
> working space of 442G used 550MB and available 419MB there almost
> 22GB is missing.

5% of 442GB = 22.2GB. So that's your "reserved" portion.
 
Old 08-08-2012, 12:18 PM
Muhammad Yousuf Khan
 
Default Debian showing less RAM

i was using i686 kernel now i just updated amd64 it worked
aptitude install linux-image-2.6-amd64

root@lion:~# free
total used free shared buffers cached
Mem: 8134920 83372 8051548 0 2272 17392
-/+ buffers/cache: 63708 8071212
Swap: 15623088 0 15623088

but my second question about disk space is still a confusiong. please help



On Wed, Aug 8, 2012 at 3:52 PM, Muhammad Yousuf Khan <sirtcp@gmail.com> wrote:
> i am using debian 6.0.4. i have 8GB of ram installed in a server 2GB x
> 4. bios also shows 8 GB.
>
> however top only shows 2gb or RAM
>
> top - 15:48:29 up 16 min, 1 user, load average: 0.00, 0.01, 0.00
> Tasks: 90 total, 1 running, 89 sleeping, 0 stopped, 0 zombie
> Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.6%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
> Mem: 2273280k total, 79768k used, 2193512k free, 2292k buffers
> Swap: 15623088k total, 0k used, 15623088k free, 45456k cached
>
>
> root@lion:~# free
> total used free shared buffers cached
> Mem: 2273280 79768 2193512 0 2292 45456
> -/+ buffers/cache: 32020 2241260
> Swap: 15623088 0 15623088
>
>
> Secondly.........
>
> root@lion:~# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/mapper/pve--vg-root
> 442G 550M 419G 1% /
>
> i dont know if its normal but things are confusing me a bit. i have
> working space of 442G used 550MB and available 419MB there almost
> 22GB is missing.
>
> please help.
>
> Thanks,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAGWVfMm_PVwxn9DdSQ3VvBs9VSmTU96kJNfGeJkPiCsoB_k40 g@mail.gmail.com">http://lists.debian.org/CAGWVfMm_PVwxn9DdSQ3VvBs9VSmTU96kJNfGeJkPiCsoB_k40 g@mail.gmail.com
 
Old 08-08-2012, 12:20 PM
Muhammad Yousuf Khan
 
Default Debian showing less RAM

On Wed, Aug 8, 2012 at 5:14 PM, Darac Marjal <mailinglist@darac.org.uk> wrote:
> On Wed, Aug 08, 2012 at 03:52:49PM +0500, Muhammad Yousuf Khan wrote:
>> i am using debian 6.0.4. i have 8GB of ram installed in a server 2GB x
>> 4. bios also shows 8 GB.
>>
>> however top only shows 2gb or RAM
>>
>> top - 15:48:29 up 16 min, 1 user, load average: 0.00, 0.01, 0.00
>> Tasks: 90 total, 1 running, 89 sleeping, 0 stopped, 0 zombie
>> Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.6%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
>> Mem: 2273280k total, 79768k used, 2193512k free, 2292k buffers
>> Swap: 15623088k total, 0k used, 15623088k free, 45456k cached
>
> What kernel are you using? Either you have one that isn't enable to see
> the extra ram or, as has happened on the list in the past, you have bad
> modules
>
Thanks ....... kernel was the problem.
>>
>> Secondly.........
>>
>> root@lion:~# df -h
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/mapper/pve--vg-root
>> 442G 550M 419G 1% /
>>
>> i dont know if its normal but things are confusing me a bit. i have
>> working space of 442G used 550MB and available 419MB there almost
>> 22GB is missing.
>
> 5% of 442GB = 22.2GB. So that's your "reserved" portion.
>

can i recover this reserved portion ?

>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIcBAEBCgAGBQJQIlgVAAoJEKB7YbRsd8TGcBAP/17JL7wT8QwVrW/r3WjNtTkY
> y89URwZ7F07PUIYjlXr0QvbR6Xc9Qonesm05IYuKkrCcZsi952/6sRLxsNcEESzP
> PyodN+nWBYulIHoWOVAHiFvlGrhXrpRB5YyTjpyFs/3U5nAF0F3+kh46S0HeWBYp
> tf+1hyuFjGvE4erUBZfvLr11bDzjEnweKujk8wMCvCPrIBODxt i65bYhrb2J6qYH
> a5VNFw9BG8446huJPuR4jxqZQMA7J2iPDArpfNWx3W1DDSIbrj AFJb+TX7XiNC+0
> xwVzsFHk4UkG3bLXcaLFmL0m4KJonXljPIC0Ngupq9YfjKHCVA 8kC7GlquWh844f
> AOEDuNSPvs7re6wsXDfDTj//pK9qOuvkvSLrUUBw1i3e9zK0ajclALM6BInYzWYd
> lR7w6MAdH6A7nTTRe37aaa/HW6re1B4aHD6A24DvyNA8e/Ivza4u78p/fG6pO37T
> mL+TafsDrCFyK19Ko/aneL1n3rIPc20mcn3+EJseL07kOw7FH8fwJ08qlrjdM3Pi
> 419+fglQ9767vlS/loYJabfWf0Rx9uYSbWiSa5ewevWNXZ9lER7SBzYv3Inrsbih
> /Cun9vdh1BPpo8j2gyRFZFnz8yDbQ9eum021GSLdtEUEluZ9Crm giB1FOhCzVx6Z
> epwIGh+oU4za5BgZiEdI
> =DkyW
> -----END PGP SIGNATURE-----
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAGWVfM=yS6DKTFRwSrjGtmS+yn_myiBa3FnPHxAxboLg2eb9D Q@mail.gmail.com
 
Old 08-08-2012, 12:26 PM
Darac Marjal
 
Default Debian showing less RAM

On Wed, Aug 08, 2012 at 05:18:18PM +0500, Muhammad Yousuf Khan wrote:
> i was using i686 kernel now i just updated amd64 it worked
> aptitude install linux-image-2.6-amd64
>
> root@lion:~# free
> total used free shared buffers cached
> Mem: 8134920 83372 8051548 0 2272 17392
> -/+ buffers/cache: 63708 8071212
> Swap: 15623088 0 15623088
>
> but my second question about disk space is still a confusiong. please help

Many Linux file systems (ext2/3/4, definitely. I'm not sure about
others), reserve 5% of the space for root. That means that when the disk
is showing 100% full, root can still, say, compress a run-away log file
and then delete it.

You can either live with that safety net, or use a tool such as tune2fs
to adjust it.

>
>
>
> On Wed, Aug 8, 2012 at 3:52 PM, Muhammad Yousuf Khan <sirtcp@gmail.com> wrote:
> > i am using debian 6.0.4. i have 8GB of ram installed in a server 2GB x
> > 4. bios also shows 8 GB.
> >
> > however top only shows 2gb or RAM
> >
> > top - 15:48:29 up 16 min, 1 user, load average: 0.00, 0.01, 0.00
> > Tasks: 90 total, 1 running, 89 sleeping, 0 stopped, 0 zombie
> > Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.6%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
> > Mem: 2273280k total, 79768k used, 2193512k free, 2292k buffers
> > Swap: 15623088k total, 0k used, 15623088k free, 45456k cached
> >
> >
> > root@lion:~# free
> > total used free shared buffers cached
> > Mem: 2273280 79768 2193512 0 2292 45456
> > -/+ buffers/cache: 32020 2241260
> > Swap: 15623088 0 15623088
> >
> >
> > Secondly.........
> >
> > root@lion:~# df -h
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/mapper/pve--vg-root
> > 442G 550M 419G 1% /
> >
> > i dont know if its normal but things are confusing me a bit. i have
> > working space of 442G used 550MB and available 419MB there almost
> > 22GB is missing.
> >
> > please help.
> >
> > Thanks,
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/CAGWVfMm_PVwxn9DdSQ3VvBs9VSmTU96kJNfGeJkPiCsoB_k40 g@mail.gmail.com
>
 
Old 08-08-2012, 12:29 PM
Muhammad Yousuf Khan
 
Default Debian showing less RAM

On Wed, Aug 8, 2012 at 5:26 PM, Darac Marjal <mailinglist@darac.org.uk> wrote:
> On Wed, Aug 08, 2012 at 05:18:18PM +0500, Muhammad Yousuf Khan wrote:
>> i was using i686 kernel now i just updated amd64 it worked
>> aptitude install linux-image-2.6-amd64
>>
>> root@lion:~# free
>> total used free shared buffers cached
>> Mem: 8134920 83372 8051548 0 2272 17392
>> -/+ buffers/cache: 63708 8071212
>> Swap: 15623088 0 15623088
>>
>> but my second question about disk space is still a confusiong. please help
>
> Many Linux file systems (ext2/3/4, definitely. I'm not sure about
> others), reserve 5% of the space for root. That means that when the disk
> is showing 100% full, root can still, say, compress a run-away log file
> and then delete it.
>
> You can either live with that safety net, or use a tool such as tune2fs
> to adjust it.
>
Thanks it worked
tune2fs -m 2 /dev/mapper/pve--vg-root



>>
>>
>>
>> On Wed, Aug 8, 2012 at 3:52 PM, Muhammad Yousuf Khan <sirtcp@gmail.com> wrote:
>> > i am using debian 6.0.4. i have 8GB of ram installed in a server 2GB x
>> > 4. bios also shows 8 GB.
>> >
>> > however top only shows 2gb or RAM
>> >
>> > top - 15:48:29 up 16 min, 1 user, load average: 0.00, 0.01, 0.00
>> > Tasks: 90 total, 1 running, 89 sleeping, 0 stopped, 0 zombie
>> > Cpu(s): 0.0%us, 0.1%sy, 0.0%ni, 99.6%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
>> > Mem: 2273280k total, 79768k used, 2193512k free, 2292k buffers
>> > Swap: 15623088k total, 0k used, 15623088k free, 45456k cached
>> >
>> >
>> > root@lion:~# free
>> > total used free shared buffers cached
>> > Mem: 2273280 79768 2193512 0 2292 45456
>> > -/+ buffers/cache: 32020 2241260
>> > Swap: 15623088 0 15623088
>> >
>> >
>> > Secondly.........
>> >
>> > root@lion:~# df -h
>> > Filesystem Size Used Avail Use% Mounted on
>> > /dev/mapper/pve--vg-root
>> > 442G 550M 419G 1% /
>> >
>> > i dont know if its normal but things are confusing me a bit. i have
>> > working space of 442G used 550MB and available 419MB there almost
>> > 22GB is missing.
>> >
>> > please help.
>> >
>> > Thanks,
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> Archive: http://lists.debian.org/CAGWVfMm_PVwxn9DdSQ3VvBs9VSmTU96kJNfGeJkPiCsoB_k40 g@mail.gmail.com
>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIcBAEBCgAGBQJQIlrnAAoJEKB7YbRsd8TGouUP/i0RCr/vmWQVeV5y1frGqpyx
> eTBJJnzBPr6HuIW2wKHDoRRU09Lexx0AhBMvtiMrh6i6fZCV+/Fb6zMvKzlz4RCF
> lPy5Oz2/3kxkFiqSObnrG94/Vq+nn85x2nfszf8AqX9YXeTVICrjrIuvkH+5hTFu
> AkVY2mgWtgRUl9pnMr+Aa1DdJqAEQQhtOceRRvZmenXqf/qbWGeFgQdWg1pNO7m9
> V7NXiMrnnwOgq5e4mCMjcKFWW9vpx+vPeMAURWK+9WwHIGORXE 49281F+f3+w3eT
> ZWvP8vFxRuBSMBAcZQ3eJNz8P0N5UCk/xGKXejdNXPmUbQSH3A70rUONw+HRdYRP
> saEggjKLFx4aDltOUIP6sKMf0A4KZIHqJLzydT+DkvaTEv+STv ranIatZ9uDcNeJ
> ejLcCS8XaAB6by8wWefCnquUhY0iQ8SJd9XGrHGOhGi5ZW424o QMbIznDYI7rDjT
> gVpa0twg5TI2yq5U1aLYKZy+eDJ6rgg/2MKu3KyzmBQ7HdFp7Cps9VP7HZR+Ie9c
> +n9u3IqAnv4jmac3hH7eZAS3QnbuifqKwZVe036Fvx3E2Hr1Vt 41XqKJT4+BECKc
> fU2bvLSjP4ot45HeDOM2p99agA08VMGProy4j9XFQAJKHlIbCS Xt6jRQmHjxGpVr
> BwDpjZZ4n7XjZYkVyKTB
> =SS92
> -----END PGP SIGNATURE-----
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAGWVfMkOe4vyssoqfij088L9VDT3NeJNGu7XKRvVJUHprNGyT A@mail.gmail.com">http://lists.debian.org/CAGWVfMkOe4vyssoqfij088L9VDT3NeJNGu7XKRvVJUHprNGyT A@mail.gmail.com
 
Old 08-08-2012, 07:57 PM
Martin Steigerwald
 
Default Debian showing less RAM

Am Mittwoch, 8. August 2012 schrieb Muhammad Yousuf Khan:
> i was using i686 kernel now i just updated amd64 it worked
> aptitude install linux-image-2.6-amd64
>
> root@lion:~# free
> total used free shared buffers
> cached Mem: 8134920 83372 8051548 0 2272
> 17392 -/+ buffers/cache: 63708 8071212
> Swap: 15623088 0 15623088

Do you have 32-bit user space? "file /bin/ls" tells for example

Using a 64-Bit kernel with 32-bit user space can create problems. I had it
once that X.org with Intel drivers tended to crash badly which was gone
after I switched to a 32-bit kernel again.

So I suggest you either use 32-bit bigmem kernel or reinstall with 64-bit.
IŽd recommend the second option considering that your machine has 8 GiB.

--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 201208082157.57350.Martin@lichtvoll.de">http://lists.debian.org/201208082157.57350.Martin@lichtvoll.de
 
Old 08-09-2012, 09:27 AM
Muhammad Yousuf Khan
 
Default Debian showing less RAM

On Thu, Aug 9, 2012 at 12:57 AM, Martin Steigerwald <Martin@lichtvoll.de> wrote:
> Am Mittwoch, 8. August 2012 schrieb Muhammad Yousuf Khan:
>> i was using i686 kernel now i just updated amd64 it worked
>> aptitude install linux-image-2.6-amd64
>>
>> root@lion:~# free
>> total used free shared buffers
>> cached Mem: 8134920 83372 8051548 0 2272
>> 17392 -/+ buffers/cache: 63708 8071212
>> Swap: 15623088 0 15623088
>
> Do you have 32-bit user space? "file /bin/ls" tells for example
>
> Using a 64-Bit kernel with 32-bit user space can create problems. I had it
> once that X.org with Intel drivers tended to crash badly which was gone
> after I switched to a 32-bit kernel again.
>
> So I suggest you either use 32-bit bigmem kernel or reinstall with 64-bit.
> IŽd recommend the second option considering that your machine has 8 GiB.
>
thanks for sharing your experience, i am doing it right aways since i
can not take any risk becuase this system will be put in production.

Thanks.......................

> --
> Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
> GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/201208082157.57350.Martin@lichtvoll.de
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAGWVfMn_vCWvnipzRNpUO5qk6tY5vGxyPSXb8CP1TNBbPXrF1 Q@mail.gmail.com">http://lists.debian.org/CAGWVfMn_vCWvnipzRNpUO5qk6tY5vGxyPSXb8CP1TNBbPXrF1 Q@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 08:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org