Results 1 to 10 of 10
-
07-31-2010, 07:57 PM #1Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
Why is my server not allocating all the RAM?
I have 2GB of RAM on my server, but it says 300000K used and about 17000000K free.
Is there some sort of misconfiguration on my server?
-
07-31-2010, 10:32 PM #2Web Hosting Guru
- Join Date
- Nov 2003
- Location
- Kherson, Ukraine
- Posts
- 267
17 GB free? You want to say 17 MB free?
Please show output of command
mem
or
topPrivate remote administrator of Linux servers - www.petrov.ks.ua
Quality hosting - Host-Web-Site.com
-
07-31-2010, 10:37 PM #3Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
Code:total used free shared buffers cached Mem: 2026 391 1635 0 30 243 -/+ buffers/cache: 116 1909 Swap: 4031 0 4031
-
08-01-2010, 04:18 AM #4Web Hosting Master
- Join Date
- Jul 2009
- Posts
- 1,568
The output shows that you have 2GB of RAM on your server, out of which 391MB is used and 1635MB is free (which means not been used at the moment). The processes running on your server just needed 391MB of RAM at the time you took the above output. They will use more as and when required and you will notice the 'Used' RAM will increase and 'free' RAM will decrease.
RAM and CPU usage completely depends on the processes running on your server and the resources they need.| LinuxHostingSupport.net
| Server Setup | Security | Optimization | Troubleshooting | Server Migration
| Monthly and Task basis services.
| MSN : madaboutlinux[at]hotmail.com | Skype : madaboutlinux
-
08-01-2010, 06:39 AM #5New Member
- Join Date
- Jul 2010
- Location
- egypt
- Posts
- 1
Sir u have vps ?
RAM and CPU usage completely depends on the processes running on your server and the resources they need.
set command top + use hotkey m
and give me result
and set command and give result
ps -auxf | sort -nr -k 4 | head -10
-
08-01-2010, 06:46 AM #6Hello World
- Join Date
- Nov 2009
- Location
- /etc/my.cnf
- Posts
- 10,657
I,d be more worried if it said you was maxing out your ram...
UK Based Proactive Server Management.
Zabbix Enterprise 24/7 Monitoring.
-
08-01-2010, 07:27 AM #7Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
This is a dedicated server not VPS.
I thought the way linux works is it will allocate all the RAM for faster access even if not that much RAM is needed?
-
08-01-2010, 09:06 AM #8Web Hosting Guru
- Join Date
- Jan 2010
- Posts
- 341
If you look under the "-/+ buffers/cache" row, the running processes ("used") are actually only using 116MB. The rest of the 391MB used is being used as buffers and cache.
It will continue to allocate most of the remaining free memory for the disk cache when it has something more to cache. Then if your processes need the memory instead, it will release the cache for your processes.
-
08-01-2010, 09:29 AM #9Web Hosting Master
- Join Date
- Apr 2009
- Posts
- 1,321
I guess I didn't need a dedicated server yet. Probably should have stuck with a VPS and save $50 a month.
-
08-01-2010, 09:52 AM #10Web Hosting Master
- Join Date
- Aug 2009
- Location
- Los Angeles
- Posts
- 3,338
QuadraNet Enterprises | Providing Secure Infrastructure Solutions to modern businesses since 2001.
QuadraNet is a globally recognized cloud solution provider with the Best-in-class responsive 24x7 customer support.
Locations: Los Angeles, Miami, Dallas, New Jersey, Chicago, Atlanta, Seattle & Amsterdam.
Andrew Moore andrew.moore@quadranet.com Visit https://www.QuadraNet.com
Similar Threads
-
[EU/UK/US]$15 Highend 1G RAM VPS with Powerful 8 Core Server 16G RAM,Raid 5 HD CONFIG
By nanihost in forum VPS Hosting OffersReplies: 0Last Post: 05-10-2009, 07:54 PM -
Apache Allocating too much memory? - And Crashing?
By Chris` in forum Hosting Security and TechnologyReplies: 5Last Post: 05-18-2008, 04:17 PM -
LayeredTech IP Allocating Issues
By kikloo in forum Dedicated ServerReplies: 10Last Post: 09-27-2007, 02:35 PM -
[HELP] W2003 server not allocating available CPU power to demanding applications
By metalhead in forum Hosting Security and TechnologyReplies: 6Last Post: 02-14-2004, 08:58 AM -
Allocating Bandwidth
By freeprovider in forum Web HostingReplies: 11Last Post: 10-12-2003, 07:01 PM