Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Pierre Boucher 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
-
What about cpu/ram usage? Did you ever run top to have a look at the load on your machine?
-
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
-
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
-
Shouldn't just another 256 MB ram anyhow be a good idea ?
-
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
-
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