mediawiki-l-bounces(a)lists.wikimedia.org schrieb am 01.10.2007 20:38:50:
I had the very same problem, but couldn't figure
it out. I tried
upgrading many times, always having to roll back. I ended up restoring
the database to another system, upgrading it there and then restoring
it to my production system. And it suddenly worked. Don't ask me
why... and I am sorry I can't give you anything more concrete...
-Andi
Unfortunately I don't have a spare system to play with, so I couldn't test
your solution. I found out that restoring a backup of the version 1.9.3
database and feeding it into the clean 1.11.0 installation (after
converting it with php update.php, of course) gives the same result (slow
delivery, about 40s per page).
Additionally at some time during my investigations update.php of a fresh
1.11 install repeatedly hung when deleting the old messages while
converting the restored 1.9.3 database (I know that takes some time, but
normally it took about 5 minutes on my database so after 1 hour I got
bored and killed the process).
Fortunately my last way out worked: I installed a clean and fresh 1.10.2
version of mediawiki, copied my images directory and the LocalSettings.php
and AdminSettings.php as well as my Logo-file into it and did the
obligatory php update.php on a restored 1.9.3-database. This time it went
smoothly, including the "deleting old messages" part, and now I've got a
working installation.
But, then again, if I copy this working installation and overwrite it with
the files from the 1.11.0-tarfile, it results in the same damn
slow-like-hell-wiki I've had before (although update.php did well this
time). In summary I'm convinced there is a SEVERE BUG either in the
update.php script or in the 1.11.0-version of mediawiki! Mediawiki seems
to try to use memcache although it is disabled in LocalSettings.php!
My configuration, for reference:
- opensuse 10.2, kernel 2.6.18
- mysql Ver 14.12 Distrib 5.0.26, for suse-linux-gnu (i686) using
readline 5.1
- PHP 5.2.0 with Suhosin-Patch 0.9.6.1 (cli) (built: Jul 30 2007 15:36:02)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
with Suhosin v0.9.10, (C) Copyright 2006, by Hardened-PHP Project
- All tarfiles from
mediawiki.org
PS.: I think I found the reason for the slow update.php: The script seems
to rely heavily on web-queries via mediawiki and as each of this queries
takes 40 seconds execution is about 100 times slower than normal.
-Arnd
On 01/10/2007, amuenzeb(a)rockwellcollins.com
<amuenzeb(a)rockwellcollins.com> wrote:
> Hi all,
>
> I just upgraded my mediawiki installation from version 1.9.3 to
1.11.0.
> The upgrade went smoothly (including the
maintenance/update.php part)
but
> now page delivery from the server is incredibly
slow (about 40s for
each
> page).
>
> For testing purposes I also did a fresh install of version 1.11.0
using a
> copy of the original database. This one is
running smoothly (2s per
page)
> although the LocalSettings.php are identical
(except the necessary
> differences; checked with diff).
>
> I turned on profiling and it seems that the server is waiting for a
> memcached-server (see below):
[...]
> I don't know why MemCache shows up in the
debug output, since it is
> disabled in my LocalSettings.php:
[...]