Handbuch:mctest.php

This page is a translated version of the page Manual:Mctest.php and the translation is 71% complete.

Details

mctest.php is a MediaWiki maintenance script that makes several 'set', 'incr', 'get' requests on every memcached server and shows a report.

Optionen/Argumente

Option Beschreibung Notwendig Standardwert
--i Number of iterations Optional 100
--cache Use servers from this $wgObjectCaches store Optional
--driver Either "php" or "pecl" Optional php
--server[:port] Memcached server to test, with optional port Optional

Verwendung

php maintenance/mctest.php [ --i| --cache| --driver| --server[:port] ]

Basic test

Terminal

Test with custom iterations

Terminal

Test with custom server and port

Terminal

Häufiger Fehler

MediaWiki isn't configured for Memcached usage
This error occurs when your MediaWiki installation is not configured properly with memcached server.
MediaWiki isn't configured with a cache named '$cache'
This indicates that you have not configured the '$cache' properly in $wgObjectCaches. Check LocalSettings.php for configuration details.


Siehe auch