Bluetrait

Loading
search


Posts:
Comments:

Popular posts

Click here if you are looking for Bluetrait, the weblog software.

Login:

Username:

Password:

Server Usage

Posted by Michael Dale on Tue, 31 Aug 2004 8:58 PM

Well I thought I should post something. So I thought I'd talk about the load that the dalegroup server experiences. Over the last few months almost all hosted websites have moved over to dynamic driven sites (powered by Mysql + PHP) and have been receiving more hits. The load on the server has slowly increased and is now at a level that is measurable :p

This month the server has transfer approximately 1.5GB of traffic just on web site stuff. So it is finally at a stage where I could call it somewhat significant.

The server is a Pentium 4 2.4GHz with 512mb of DDR333 ram running Windows 2003, Apache 2.0.50, PHP 4.3.8 and Mysql 4.0.20

The following is a run down on CPU time/usage of certain programs (logged over the last 10 days):

Apache: 1 hour of CPU time. Peak memory usage of 160mb, while currently at 143mb.
Mail Server: 13 minutes of CPU time. Peak memory usage of 60mb, while currently at 30mb.
Mysql: 7 minutes of CPU time. Peak memory usage of 15mb, while currently at 8mb

The server has been up for approx 240 hours. So apache has used about 0.5% of the CPU for this time. So it can be said that the CPU is far from overloaded (or even loaded).

Out of the 512mb of ram there is only 106mb free. Some stage this shall be upgraded to 1gb, although there isn't a problem at this stage.

A wrote some more about this but it's all just crap :p BLA!

On Tue, 31 Aug 2004 at 9:34 PM, Matthom wrote:

Yes! Another "web design/tech" blog! Always good to find these.

Do you run a hosting company? Ooops, maybe I should check the main site.


On Tue, 31 Aug 2004 at 9:38 PM, Michael Dale wrote:

If you call hosting company "a computer sitting in an office with an adsl connection and a domain name" then yes! ;)

hehe. Oh don't look at the main site, so ugly! :p Need to get around to fixing that up.


On Tue, 31 Aug 2004 at 9:43 PM, Matthom wrote:

Do you know any good Apache books/resources? I want to learn all those fun things... more than what I have now - which is just a few lines of htaccess.

I want to know mod_rewrite better, and htaccess.... and... you know what I mean.

The power that one gets from manipulating URLs/etc is indescribable.


On Tue, 31 Aug 2004 at 9:51 PM, Michael Dale wrote:

mod_rewrite is a bit of a beast, I've only just started working with it.

http://blog.dalegroup.net/archive/blog/newsid/92

There is a lot about it here:
http://www.engelschall.com/pw/apache/rewriteguide/

Although I've just looked at other people's htaccess files and learnt how it works that way.