Koozali.org: home of the SME Server

Performances problem

Pierre Boucher

Performances problem
« on: January 08, 2004, 09:10:52 PM »
I'm hosting a website with sme 6. and the site is running on postnuke (phoenix).

The server is a celeron 500 with 256Mb ram, everything is stable, but past about 80 users at the same time the serveur become slow and impossible to use.

Am i missing something, any ideas????



Thanks
Pierre BOUCHER

Michael Herger

Re: Performances problem
« Reply #1 on: January 08, 2004, 10:15:15 PM »
What about cpu/ram usage? Did you ever run top to have a look at the load on your machine?

Pierre BOUCHER

Re: Performances problem
« Reply #2 on: January 09, 2004, 06:48:18 AM »
System Celeron 500, 256Mb

%CPU utilisation

                     system           user          
Max                 11.93%        88.93%
Avg                          1%          8.97%

System load /%CPU

                        LOAD               CPU
Max                 17                       100% (Short peak)
Avg                   0.253                 12.36%

Memory
                             Used
               Max       204Mb  
               Avg        96.1

http://www.sosmonordi.com/mrtg

Michael

Re: Performances problem
« Reply #3 on: January 09, 2004, 10:17:00 AM »
Is this a snapshot from when there were those 80 users? Or is it rather idle times?

Slowdown might logically be due to cpu or memory load. Each user will add a little to your server's work: database requests, page creation etc. Next time there's that slow response, have a look at top: which ressource is at its limit?

Michael

Arne

Re: Performances problem
« Reply #4 on: January 10, 2004, 12:48:26 PM »
Shouldn't just another 256 MB ram anyhow be a good idea ?

Pierre BOUCHER

Re: Performances problem
« Reply #5 on: January 10, 2004, 09:08:27 PM »
The stats are actually from a day with about 5000 differents visitors.

I discovered something interesting, it look like either php or mysql are getting unstable with too many requests at the same time. They stop processing the data but the cpu load stay quite below 40%

At the same time, mrtg stop compiling the data.


For now i replaced de welcome page with a static one, containing a link to the postnuke site, at least now i can handle the traffic. But still that doesn't explain the problem with php, mysql?

Regards
Pierre BOUCHER

Pierre BOUCHER

Re: Performances problem
« Reply #6 on: January 12, 2004, 05:45:23 PM »
Ram won't do much since when it's overloading, the cpu is running under 80% and the ram is at 196/256

Look like it's caused by a php script i'm doing some testing at the moment to see if i can pinpoint the culprit.

Pierre BOUCHER