Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th November 2010, 13:41
drewb0y drewb0y is offline
Senior Member
 
Join Date: Sep 2010
Posts: 103
Thanks: 10
Thanked 14 Times in 7 Posts
Question Memory / resource usage on Debian Lenny

I have an older desktop running debian using the perfect server setup. It's not much hardware wise but it does its job. It is a Pentium 4, 2.4 GHz with 4GB RAM (maxed out) and 2 80GB SATA drives. I know there is not much improvement I can do hardware wise (without replacing for a whole new computer) as I am at the limits of the system. So I am looking into any software tweaks I can to maximize what I have. I am a little lost in interpreting the results I get though. for example with top and free.

Code:
top - 06:20:26 up 21 days,  7:58,  1 user,  load average: 0.02, 0.06, 0.01
Tasks: 124 total,   1 running, 123 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.2%us,  0.0%sy,  0.0%ni, 99.8%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   3497104k total,  3327356k used,   169748k free,   231324k buffers
Swap:  5308980k total,      652k used,  5308328k free,  2311064k cached
Code:
             total       used       free     shared    buffers     cached
Mem:       3497104    3327596     169508          0     231324    2311064
-/+ buffers/cache:     785208    2711896
Swap:      5308980        652    5308328
So what do you guys think? I know load is good and I have never seen it very high at all. I may be able to disable some services to reduce memory usage, or do some apache / mysql tweaking. Yes I have done lots of searching and reading for linux performance tuning. But still don't quite know where to go with it. So my question to you guys is "What would you do?"

Thanks all.
__________________
ISPConfig 3.0.5.4p1 - The Perfect Server - Debian Wheezy (nginx, BIND, Dovecot, ISPConfig 3)
Installed on Debian 7.6 on a KVM VPS
Reply With Quote
Sponsored Links
  #2  
Old 14th November 2010, 19:45
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I'd try this first:
http://www.howtoforge.com/configurin...um_performance

Afterwards, you can try to tune MySQL.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 15th November 2010, 11:11
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

what does htop show? can you post a screenshot especially sorted by mem% usage.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #4  
Old 16th November 2010, 16:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Also, you could install a PHP opcode cacher, such as eAccelerator, Xcache, or APC. That should help a lot.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 21st November 2010, 01:12
drewb0y drewb0y is offline
Senior Member
 
Join Date: Sep 2010
Posts: 103
Thanks: 10
Thanked 14 Times in 7 Posts
 
Default htop results

Here's what I have from htop on a Saturday evening. It's not too bad I think.

I actually already have APC installed as I was reading into this post by crypted CPU load locks up box. Apache or MYSQL related.

I will actually be doing a hardware upgrade soon, just like tweaking things as much as possible.

I also tried out the Google Mod Pagespeed module but when it was enabled, for some reason it actually caused problems with roundcube, which is the whole purpose of this box.

Thanks again guys, I will create another post with questions on my server upgrade.
Attached Images
 
__________________
ISPConfig 3.0.5.4p1 - The Perfect Server - Debian Wheezy (nginx, BIND, Dovecot, ISPConfig 3)
Installed on Debian 7.6 on a KVM VPS
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[debian 5 + ispconfig 3] Unable to send mail tanakskool HOWTO-Related Questions 6 4th November 2009 18:20
Memory usage on debian etch devnull3d Installation/Configuration 4 17th January 2008 16:19
Bind Failed christoph2k HOWTO-Related Questions 4 28th April 2007 00:57
Installation Big issue OpenVZ VPS jbond007 Installation/Configuration 3 7th March 2006 19:40
e-mail problem!!! Debian 3.1 maroonworks Installation/Configuration 18 6th December 2005 14:42


All times are GMT +2. The time now is 14:11.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.