On Jan 19, 2005, at 8:16 AM, Paul Fels wrote:
recently i set up mediawiki 1.3.9. my problem is: when
the machine is
freshly booted the wiki run with acceptable speed, but after a couple
of minutes it's getting slower and slower. the page generation time is
okay aprox. 1 sec., depending on the page. i'm using rewriting rules,
but no turck or similar (yet).
Install Turck. This is the single biggest most important thing you can
do to make PHP applications run at more or less acceptable speeds.
Also consider 1.4beta5, as 1.4 has significant speed improvements in
many cases over 1.3 (If you install the beta version, please keep up
with updates. Please keep up with updates anyway. :)
1.4 also has the parser cache enabled by default, which improves
performance for loads of non-trivial pages.
Consider installing memcached, which can give a slight additional speed
boost.
Depending on usage patterns, enabling the file cache or a front-end
squid could improve performance.
the wiki is on a local server (p3 1ghz, 128mb)
A 1GHz Pentium 3 is relatively slow by current standards. Web apps are
memory-hungry (doubly so when you add in that caching) so if you do
nothing else add more memory to the machine! You may be swapping.
and not in the internet, so it should not be
overloaded. what is
decelerating my wiki?
What's the usage pattern? Watch your running processes and the log
files, who's loading things at what rate?
-- brion vibber (brion @
pobox.com)