Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Yesterday I rebooted the web server machine, but I'm trying to figure out why the graph below shows prior rebooting the memory almost full of cache and just a bit of active memory used. Would there be any problem keeping it the same was it was or rebooting every ~30 days is what I'm suppose to do?

Thanks

http://img513.imageshack.us/i/localhostlocaldomainmem.png/

share|improve this question

2 Answers 2

up vote 5 down vote accepted

Check out this blog post, it might shed some light on the issue.

share|improve this answer
    
nice answer! short, to the point, and exactly what the OP needed. –  faultyserver Nov 10 '09 at 17:36

Linux likes to use all otherwise-unused memory for disk cache. There's no performance downside, and there just might be a benefit because the disk won't need to be touched for some disk reads.

share|improve this answer
1  
Exactly. Using memory for cache is GOOD. Enjoy it. And whatever you do, don't reboot a Unix server every 30 days. They're meant to run for a LONG time. –  Lee B Nov 10 '09 at 19:46
2  
I think Lee B means "don't reboot a Unix server unless you have a good reason." Security updates which involve kernel updates, are a Good Reason. If someone shows you an uptime of more than 90 days, odds are very good you can show them a machine that has unpatched kernel vulnerabilities. –  David Mackintosh Nov 10 '09 at 21:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.