What up with inactive memory usage

Guys,

Check the attached screenshot from Munin. Can't get why so much memory is allocated. Should I be worried or something?

Thanx
Momchi
 
memory-week.png

Here it is
 
I wouldn't worry. It's not like it keeps growing/churning. And the "inactive" part (blue in your graph) is caching previously used pages in case they are reclaimed (e.g. program images, shared libraries, etc.) before they are needed for some other purpose. The system will free them and give them to a process if they are really needed. This gives a big performance benefit for most systems.
 
It doesn't look bad, are you swapping a lot?

Generally speaking, free memory is bad memory. BTW are you performing a lot of I/O in UFS?
 
Thank you Uniballer.

Gkontos, I do have swap, but the graph for the swap usage is empty. 0 in, 0 out.
That is one of the reasons I think I might have a problem. though I only use 1.5 GB of RAM and the server has like 8 GB, so why use it right?
As for the I/O, I don't think so, there is a single jail, besides the base OS. But no virtualization or file serving.
 
A machine with plenty of memory and no need for swap, the slowest kind of memory, is not using swap. Why do you think that is a problem?
 
Hi wblock@,

I was considering a leakage and since some of that memory will be taken away from this server, I've decided that it won't hurt asking you guys.

Over all I'm more than happy with the memory consumption, considering all the things running on that box.
 
It really looks fine. Note how everything levels off at the end of the graph. If there were a leak, it would keep climbing.
 
The server room experiences power outage every now and then :) Not much of a server room anyway. The RAID array degrades after every outage and I was concerned about data corruption. Otherwise that box has served me well for the past 4 years.
 
bojinov said:
The server room experiences power outage every now and then :) Not much of a server room anyway. The RAID array degrades after every outage and I was concerned about data corruption. Otherwise that box has served me well for the past 4 years.

That should not happen! What type of RAID are you using?
 
bojinov said:
RAID0 for the OS.

You do realize that RAID0 (striping) is a high risk solution, meaning if you lose one disk then you lose the full OS?

RAID0 is used mainly on application demanding heavy DISK I/O operations at data we don't care to lose because we constantly backup. IMO unless you are doing some video editing, don't use RAID0.

Best Regards,
George
 
gkontos said:
You do realize that RAID0 (stripping) is a high risk solution, meaning you if loose one disk then you loose the full OS.

In fact, it doubles your chance of data loss compared to using only a single disk. You've now got two devices that could fail, either of which would cause loss of your whole RAID 0 stripe.
 
Now now guys .. that was a typo .. actually it wasn't:)
I meant the backup kind of RAID. RAID1 I suppose.

I configured my server. It was ages ago and YES I'm a heavy windows user and barely have anything to do with hardware.
YES I assembled my server from ebay parts, so I'm not surprised I have problems with it.

The fun part is that I find FreeBSD easier to configure to run as a server than any linux or windows.
 
kpa said:
RAID0 is also used by leet gamer kids so they can brag about how quickly their machine reboots :p

There, fixed it for you ;)
 
Back
Top