Problem with my dedicated server

abracadabra

New member
Hi there,

My photo galleries are on a dedicated server hosted by servermatrix.

On some days I get often more than 100,000 visitors

If that happens, the thumbnails on my galleries somtimes load very slowly, especially when the stats programs (urchin) are about to run.

What’s the reason for this? Is it simply a matter of extra memory? (At the moment I’ve got 1 gig of RAM).

Or has it got something to do with the Apache server configuration?

The guys at Servermatrix were a bit divided what’s the cause of the often bad performance.

According to some it’s simply a matter of insufficient memory (at the moment the server has 1 gig of RAM) while others say that the performance of the server will improve by changing the Apache configuration.

What do you think could be the reason? Any ideas how I can improve the performance of the server?

Greetz,

Abra,

PS I’m pretty sure it’s not insfufficient bandwith
 
Try running the top command via ssh to see server processes and memory usage during these slow performance times. You will usually find the culprite (if it is a process) or will see the memory usage during these times. If you can give a print out here and we can tell what can be the possible culprite (I'm thinking it's most likely a processes on the server that may be stalling).
 
Thanks for the reply Senad,

As my bandwith is concernered. It peaked 4.4 Mbits/s yesterday. But I have 10 Mbits uplink. I reckon that should be enough. Or not?
 
Hmm I'm curious to know...what is your CPU processor? Celeron? Pentium 4? Xeon? Your processor can be just as problematic as the possibility of RAM (especially if you are hitting that much bandwidth per day alone.

Let me just do my math publically to remind myself how much bandwidth in GB you are using :magnify: (somebody please correct me if I'm wrong as my math is usually not the best :D):
1Mbps is 316GB per month raw bandwidth minus overhead of 10% about 285GB from what I remember correctly.

316*~5Mbps=1580GB thruput of raw data *10%=158+1580= about 1738GB of thruput just yesterday alone. That is a high amount of bandwidth for only 1GB of RAM for sure, I'd say adding another memory stick should do the trick definetly (in this case definetly run the top command to see if the memory is being used up) but also it is necessary to know what type of processor you are using on your server as that can be another problem or situation on itself alone (IE you definetly don't want to be running a celeron with that much activity going on there in just one day).
 
Last edited:
Senad said:
Hmm I'm curious to know...what is your CPU processor? Celeron? Pentium 4? Xeon? Your processor can be just as problematic as the possibility of RAM (especially if you are hitting that much bandwidth per day alone.

It's a Pentium 4 2.8 Mhz
 
I would definetly give additional memory to the box, I still highly suggest though that you do a top and see what the CPU process is and memory usage is during those high period times. It will definetly give you a much better understanding of what needs to be upgraded and what the problem was for your own future reference. This can also save you money possibly (which is always a good thing for the customer :D).
 
Back
Top