memory low

bashy

Verified User
Joined
Jul 21, 2006
Messages
64
Hi

My memory always appears to be very low, is this to be concerned about?

Server:

Vendor ID AuthenticAMD
Processor Speed (MHz) 1742.96

Total Memory 1003.41 MB
Free Memory 39.8945 MB
Total Swap Memory 2097152 kB
Free Swap Memory 2028852 kB


System Uptime 15 Days, 9 Hours and 52 Minutes
Apache 1.3.37 Running
DirectAdmin Running
Exim 4.67 Running
MySQL 4.1.22 Running
Named 9.3.2 Running
ProFTPd 1.3.0 Running
sshd Running
dovecot 1.0.0 Running

Regards

Bashy
 

bashy

Verified User
Joined
Jul 21, 2006
Messages
64
Hi

that was quick, please can you explain a little more, My server was semi managed but now i must learn a lot myself as the management has now gone even more semi, basically i am as good as on my own now, Soagain, i am learning from scrath so please bear with me :eek:

Did you mean to run free -m in ssh?
 

bashy

Verified User
Joined
Jul 21, 2006
Messages
64
Yeah i thought thats what ya meant so i tried it and it said free: not found
 

floyd

Verified User
Joined
Mar 29, 2005
Messages
5,285
Memory will always show low in Linux. What you want to be concerned about is this:

Total Swap Memory 2097152 kB
Free Swap Memory 2028852 kB
This means 68 MB is being swapped to the hard drive. That is not a lot. Hardly worth upgrading the memory. Swap is only used when the ram is full. If you added any more than 68 MB then that would be a waste of memory.

I am sure someone else can explain it better than me.
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,347
Location
LT, EU
Ah.. It's FreeBSD, sorry. Try:
Code:
sysctl -a | grep -i memory
You can also get the info using top. Using this command you'll see how much of RAM is in buffers/cache.
 

bashy

Verified User
Joined
Jul 21, 2006
Messages
64
Here ya go, :)

Code:
$ sysctl -a | grep -i memory
Virtual Memory:         (Total: 1019K, Active 1013144K)
Real Memory:            (Total: 967228K Active 611924K)
Shared Virtual Memory:  (Total: 141328K Active: 17856K)
Shared Real Memory:     (Total: 33764K Active: 10856K)
Free Memory Pages:      67984K
p1003_1b.memory_protection: 0
p1003_1b.shared_memory_objects: 1
 
Top