Re: [MediaWiki-l] Wiki slowing down and becoming unresponsive

2018-03-07 Thread Brian Wolff
Ok, so its hard to say just from this. Some general things that may or may
not apply:

* try disabling all extensions just to elliminate faulty extension as a
cause.
* enable profiling (if possible. Probably requires installing xhprof) to
determine what mediawiki is spending all its time doing. This would be the
most useful thing to figure out what is going on.
* if using sqlite, switch to mariadb (sqlite has poor concurrency)


Some general performance tips:
* ensure that caching is enabled. On IIS you probably want to set up
XCache. Otherwise use apcu. Once apcu or xcache is set up, make sure
wgMainCacheType = CACHE_ACCEL;
*although windows is supported, mediawiki is definitely better tested on
linux.

--
Brian

On Wednesday, March 7, 2018, Sebastian Berlin 
wrote:
> We're having issues with a MW installation that gets very slow when
> multiple users are logged in simultaneously. After a while the wiki
becomes
> unresponsive and in some cases gives HTTP error 500. This has occurred
with
> as few as three users logged in at once.
>
> The wiki was installed on a Windows server 2016-server, following this
> guide:
>
https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_Windows_Server_2016
.
> My first thought was that there was too little server resources, but when
I
> looked at the task manager, CPU was fairly consistently between 5 and 25%
> (there were a few spikes) and the RAM was steady at around 50%. MW version
> is 1.30.0.
>
> I have turned on logging (following these instructions:
> https://www.mediawiki.org/wiki/Manual:How_to_debug#Logging), but I can't
> find any obvious cause for this behaviour. I have compiled a list of
> messages that looks suspicious here:
https://phabricator.wikimedia.org/P6814.
> I didn't want to post the whole log since the logging instructions had
> security warnings about this.
>
> Any help with how to proceed finding the cause for this and fixing it
would
> be much appreciated.
>
> All the best,
>
> *Sebastian Berlin*
> Utvecklare/*Developer*
> Wikimedia Sverige (WMSE)
>
> E-post/*E-Mail*: sebastian.ber...@wikimedia.se
> Telefon/*Phone*: (+46) 0707 - 92 03 84
> ___
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Aggregate MediaWiki pingback data available

2018-03-07 Thread Cindy Cicalese
MediaWiki 1.28 introduced an optional pingback feature [0][1]. This feature
is disabled by default.

The pingback feature allows MediaWiki anonymously to report back
information about its installation to help developers: the MediaWiki
version, database type, PHP version, operating system, system type (32-bit
or 64-bit), machine hardware, web server software, and memory limit.

Aggregate pingback data collected since March 2017 is now viewable at
https://pingback.wmflabs.org in graphical and tabular form. While this data
only includes sites that opted in to data collection, it shows over 40,000
unique installations of MediaWiki in the last year in a variety of
different configurations.

Enjoy exploring the aggregate data!

[0] https://www.mediawiki.org/wiki/Manual:$wgPingback
[1]
https://wikimediafoundation.org/wiki/MediaWiki_Pingback_Privacy_Statement

__
Cindy Cicalese
Product Manager, MediaWiki Platform
Wikimedia Foundation
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


[MediaWiki-l] Wiki slowing down and becoming unresponsive

2018-03-07 Thread Sebastian Berlin
We're having issues with a MW installation that gets very slow when
multiple users are logged in simultaneously. After a while the wiki becomes
unresponsive and in some cases gives HTTP error 500. This has occurred with
as few as three users logged in at once.

The wiki was installed on a Windows server 2016-server, following this
guide:
https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_Windows_Server_2016.
My first thought was that there was too little server resources, but when I
looked at the task manager, CPU was fairly consistently between 5 and 25%
(there were a few spikes) and the RAM was steady at around 50%. MW version
is 1.30.0.

I have turned on logging (following these instructions:
https://www.mediawiki.org/wiki/Manual:How_to_debug#Logging), but I can't
find any obvious cause for this behaviour. I have compiled a list of
messages that looks suspicious here: https://phabricator.wikimedia.org/P6814.
I didn't want to post the whole log since the logging instructions had
security warnings about this.

Any help with how to proceed finding the cause for this and fixing it would
be much appreciated.

All the best,

*Sebastian Berlin*
Utvecklare/*Developer*
Wikimedia Sverige (WMSE)

E-post/*E-Mail*: sebastian.ber...@wikimedia.se
Telefon/*Phone*: (+46) 0707 - 92 03 84
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Re: [MediaWiki-l] Wiki slowing down and becoming unresponsive

2018-03-07 Thread jaquilina

One Thing you havent provided is the web server being used? is it IIS?

On 2018-03-07 15:13, Sebastian Berlin wrote:

We're having issues with a MW installation that gets very slow when
multiple users are logged in simultaneously. After a while the wiki 
becomes
unresponsive and in some cases gives HTTP error 500. This has occurred 
with

as few as three users logged in at once.

The wiki was installed on a Windows server 2016-server, following this
guide:
https://www.mediawiki.org/wiki/Manual:Installing_MediaWiki_on_Windows_Server_2016.
My first thought was that there was too little server resources, but 
when I
looked at the task manager, CPU was fairly consistently between 5 and 
25%
(there were a few spikes) and the RAM was steady at around 50%. MW 
version

is 1.30.0.

I have turned on logging (following these instructions:
https://www.mediawiki.org/wiki/Manual:How_to_debug#Logging), but I 
can't

find any obvious cause for this behaviour. I have compiled a list of
messages that looks suspicious here: 
https://phabricator.wikimedia.org/P6814.

I didn't want to post the whole log since the logging instructions had
security warnings about this.

Any help with how to proceed finding the cause for this and fixing it 
would

be much appreciated.

All the best,

*Sebastian Berlin*
Utvecklare/*Developer*
Wikimedia Sverige (WMSE)

E-post/*E-Mail*: sebastian.ber...@wikimedia.se
Telefon/*Phone*: (+46) 0707 - 92 03 84
___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


___
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l