hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Free Memory - CentOS 4.3
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Free Memory - CentOS 4.3

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 04-12-2006, 06:52 AM
JdS JdS is offline
Newbie
 
Join Date: Jan 2002
Location: KUL, Malaysia
Posts: 21

Free Memory - CentOS 4.3


Hello,

Recently, I picked up one of servertweak.com's offer of a dedicated server. 1 GB RAM was offered (in case you skip looking at the thread).

Running the `top` command, I find this:

Code:
Mem:    970780k total,   234876k used,   735904k free,      572k buffers
Swap:  1020116k total,   139168k used,   880948k free,    13668k cached
My 2 questions:

1. Is it possible that the RAM is actually 1 GB but is being reported at just 970,780 Kbytes?

2. I have never seen a Linux server with so much FREE memory -- 735,904 Kbytes. Swap memory is being used and grows over the course of the day, while the free memory remains steady at slightly over 700MB. Been like that for days now... What could be the cause of it and I will appreciate any suggestions.

I have asked my host these questions and they replied that:
  1. It is 1 GB
  2. It's not a problem (paraphrased).
More details can be found here: http://www.gidforums.com/t-9432.html

Thank you for reading.

Reply With Quote


Sponsored Links
  #2  
Old 04-12-2006, 01:21 PM
Alex Alex is offline
Community Liaison 2.0
 
Join Date: Apr 2005
Location: Oz
Posts: 3,445
Login via SSH, su to root, and type...

$ cat /proc/meminfo

What does the top line say?

Reply With Quote
  #3  
Old 04-12-2006, 01:24 PM
JdS JdS is offline
Newbie
 
Join Date: Jan 2002
Location: KUL, Malaysia
Posts: 21
The info you requested:

Code:
[jds@bella ~]$ cat /proc/meminfo
MemTotal:       970780 kB
MemFree:        778168 kB
Buffers:          1592 kB
Cached:          19772 kB
SwapCached:      20424 kB
Active:         168436 kB
Inactive:         5492 kB
HighTotal:       65472 kB
HighFree:         1080 kB
LowTotal:       905308 kB
LowFree:        777088 kB
SwapTotal:     1020116 kB
SwapFree:       938580 kB
Dirty:             132 kB
Writeback:           0 kB
Mapped:         160452 kB
Slab:            10088 kB
Committed_AS:   710308 kB
PageTables:       2364 kB
VmallocTotal:   106488 kB
VmallocUsed:      2128 kB
VmallocChunk:   104004 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     4096 kB
Thank you for replying.

Reply With Quote
Sponsored Links
  #4  
Old 04-12-2006, 01:39 PM
Alex Alex is offline
Community Liaison 2.0
 
Join Date: Apr 2005
Location: Oz
Posts: 3,445
Hmm, well it looks like you should have 1GB, but usually with 1GB of RAM you get more than 100000 kB displayed, not less.

You might check with your host about your SWAP settings, but other than that this is bizarre.

Reply With Quote
  #5  
Old 04-12-2006, 02:00 PM
JdS JdS is offline
Newbie
 
Join Date: Jan 2002
Location: KUL, Malaysia
Posts: 21
Trust me, I have tried repeatedly! You can tell that I am really desperate when I am driven to post here.

He even replied today:

Quote:
I'm not sure what you're trying to say but ram is sold 128KB, 256KB, 512KB,
1GB, 2GB+. If you understand how ram is manufactured, no combination will
add up to 970780k. Just to make this clear, I installed 1GB of memory via a
1GB stick.

I'm sure other people on WHT will explain this to you as well...
emphasis mine

I swear, it's like pulling teeth.

Reply With Quote
  #6  
Old 04-12-2006, 02:23 PM
goolex goolex is offline
Web Hosting Master
 
Join Date: Jul 2004
Posts: 868
i have 1gb installed in my server and this is result

Quote:
root@web [~]# cat /proc/meminfo
MemTotal: 969756 kB
i am not 100% sure but i think rest of memory is used by AGP/PCI Address Space

Reply With Quote
  #7  
Old 04-12-2006, 02:27 PM
JdS JdS is offline
Newbie
 
Join Date: Jan 2002
Location: KUL, Malaysia
Posts: 21
But you see this guy doesn't even explain why there is a discrepancy in the first place. He keeps insisting that I am too stupid to simply accept what he says is true.

Do you also have over 700MB free memory when you run `top`? I am just curious now.

Reply With Quote
  #8  
Old 04-12-2006, 03:43 PM
Adam A Flynn Adam A Flynn is offline
Newbie
 
Join Date: Mar 2006
Posts: 21
I am in a similar boat. I've got 512 MB which reports around 460 MB. I was told the difference was used for swap (doesn't quite make sense to me, since swap by its nature is not using real memory, but I'm no guru). If this is the case, how would I tweak these settings? Swap has no business consuming 10% of my memory though, not when it's usually almost completely maxed out by mysql anyway.

Adam A Flynn

Reply With Quote
  #9  
Old 04-12-2006, 04:10 PM
Alex Alex is offline
Community Liaison 2.0
 
Join Date: Apr 2005
Location: Oz
Posts: 3,445
Oh, perhaps it is becuase you have one 1GB stick instead of two 512MB sticks. That would explain why the RAM is showing under 100,000 kB instead of a little bit over. Still, your close enough to 100,00 kB I wouldn't worry about having the full 1GB of RAM. I would be a bit worried, however, about the amount of swap usage, especially when there is so much RAM left to be used.

Reply With Quote
  #10  
Old 04-12-2006, 04:32 PM
tical tical is offline
The least among you.
 
Join Date: Apr 2005
Location: Jacksonville, FL
Posts: 977
The difference in the amount of physical RAM detected by the BIOS and the amount of RAM shown in Linux is usually the effect of shared graphics memory. The amount of shared memory in use is usually either 8, 16, 32 or 64MB. This applies to every system with onboard graphics RAM.

For reference purposes, we configure the BIOS of our systems for 16MB of graphics RAM, which would still report 100,012K in linux's "top" command.

__________________

Now selling BigVPS's!
Jacksonville Colocation and dedicated servers by colo4jax
We are *not* a reseller. We own our servers, switches, routers and racks.


Reply With Quote
  #11  
Old 04-12-2006, 04:43 PM
Adam A Flynn Adam A Flynn is offline
Newbie
 
Join Date: Mar 2006
Posts: 21
How do I insist that my server not try to use much RAM for graphics? If it's actually allocating what's probably 64 MB to graphics, when all the graphics processing that's needed is rendering some GD images from time to time, that's just silly and wasteful.

Reply With Quote
  #12  
Old 04-12-2006, 04:53 PM
tical tical is offline
The least among you.
 
Join Date: Apr 2005
Location: Jacksonville, FL
Posts: 977
Quote:
Originally Posted by Adam A Flynn
How do I insist that my server not try to use much RAM for graphics? If it's actually allocating what's probably 64 MB to graphics, when all the graphics processing that's needed is rendering some GD images from time to time, that's just silly and wasteful.
Your box doesn't even use shared RAM to render graphics with GD.. this is purely for console graphics. You'll have to speak to your host about it, as the amount of shared RAM is a BIOS setting that you won't have access to.

__________________

Now selling BigVPS's!
Jacksonville Colocation and dedicated servers by colo4jax
We are *not* a reseller. We own our servers, switches, routers and racks.


Reply With Quote
  #13  
Old 04-12-2006, 05:02 PM
Adam A Flynn Adam A Flynn is offline
Newbie
 
Join Date: Mar 2006
Posts: 21
Okay. Is it possible that the memory is being used for swap space as the host said?

Reply With Quote
  #14  
Old 04-12-2006, 05:04 PM
tical tical is offline
The least among you.
 
Join Date: Apr 2005
Location: Jacksonville, FL
Posts: 977
It's not possible that the discrepancy in RAM size has anything to do with swapping.

__________________

Now selling BigVPS's!
Jacksonville Colocation and dedicated servers by colo4jax
We are *not* a reseller. We own our servers, switches, routers and racks.


Reply With Quote
  #15  
Old 04-12-2006, 05:32 PM
rumi rumi is offline
WHT Addict
 
Join Date: Sep 2005
Posts: 145
I got 1GB of RAM 2 x 512MB DDR PC 3200

#cat /proc/meminfo
MemTotal: 1002812 kB
MemFree: 18008 kB
Buffers: 91800 kB
Cached: 456516 kB
SwapCached: 2096 kB
Active: 677528 kB
Inactive: 219960 kB
HighTotal: 98112 kB
HighFree: 160 kB
LowTotal: 904700 kB
LowFree: 17848 kB
SwapTotal: 2031608 kB
SwapFree: 2029348 kB
Dirty: 900 kB
Writeback: 0 kB
Mapped: 365808 kB
Slab: 78256 kB
CommitLimit: 2533012 kB
Committed_AS: 718724 kB
PageTables: 2300 kB
VmallocTotal: 114680 kB
VmallocUsed: 2824 kB
VmallocChunk: 111664 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 4096 kB

__________________
Regards, Rumi
www.unixexperts.co.uk
Expert in Server Administration, Network Administration, Server Optimization, Security Audit, Kernel Upgrades and Troubleshooting.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Solar VPS Becomes Official Mirror for Centos and Ubuntu Web Hosting News 2013-04-16 11:03:34
Inerol Solutions Launches XEN VPS Hosting Service Web Hosting News 2013-04-08 12:32:06
Web Host Rackspace Adds FreeBSD 9, CentOS 6.3 Support to Cloud Servers Web Hosting News 2012-07-30 12:47:10
Web Host ServerPronto Donates Hosting Resources to CentOS Web Hosting News 2012-07-05 14:06:27
Web Host NetHosting Announces Support for CentOS 6 Web Hosting News 2011-07-05 20:15:20


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?