Difference between revisions of "WikiProblems"

From Geohashing
imported>Jiml
(A vote for an upgrade)
imported>Mampfred
Line 15: Line 15:
 
'''Would anyone object if I tried upgrading MediaWiki?'''
 
'''Would anyone object if I tried upgrading MediaWiki?'''
 
* Sounds reasonable to me.  I have to admit the wiki seems pretty useless as it currently stands.  Thanks for being willing to do this! [[User:Jiml|Jiml]] ([[User talk:Jiml|talk]]) 01:25, 2 October 2014 (EDT)
 
* Sounds reasonable to me.  I have to admit the wiki seems pretty useless as it currently stands.  Thanks for being willing to do this! [[User:Jiml|Jiml]] ([[User talk:Jiml|talk]]) 01:25, 2 October 2014 (EDT)
 +
 +
'''Finding the root'''
 +
I've been looking at the meetup graticule template and tried running all the included templates individually in my sandbox. Surprisingly I managed to run them all pretty much without ever seeing the dreaded timeout (and even then it worked on the rerun). But the "big" template still doesn't work.
 +
 +
I noticed the "meetup links" template being veeery sluggish for what it's supposed to be doing (print a couple of links and be done) so I tried something else. Mampfred/Sandbox simply includes that template a couple of times and voilá, it consistently times out if you call the template multiple times (by including it with timeout=1) and consistently works if you call it only once (timeout=0).
 +
 +
This leads me to believe that the whole thing might not even a change that's related to our wiki that's causing the problem but maybe something simple as severely increased load from some other "project" running on the same infrastructure?
 +
 +
Unfortunately without any visibility of the server logs and/or some knowledge on what else is running on the infrastructure that's as far as I feel able to poke my head into the problem. Apologies if you guys already knew all this but at least from the description above I figured some more investigation is in order. Back over to Joannac :) - [[User:Mampfred|Mampfred]] ([[User talk:Mampfred|talk]]) 08:10, 2 October 2014 (EDT)

Revision as of 12:10, 2 October 2014

  • Removing "Template:Meetup graticule" seems to work
  • I made a new Template (Template:Meetup graticule2), removing the part that generates the map, which does NOT work (as evidenced in JoannaTest)
    • This I think rules out caribiner as the source of the problem
  • In fact, lots of general errors suggest it might be MediaWiki itself that is causing problems
  • Problems started ???
    • The last report was finished 21 september, around 1:30 PM UTC according to the twitter bot --Eupeodes (talk) 03:30, 29 September 2014 (EDT)
  • Apache logs show logs of undefined variables, but they were there since before the problems started (i.e. 6+ weeks ago)
  • I can see occasional seg faults in php, unsure about origin. Far less often than I'm seeing problems though
  • The caching layer that was running is now OFF
  • The database is functional and showing no issues of load, further suggesting the problem is at the PHP layer
  • Thomcat noticed that after coordinates were available on 30 Sept, pages without spaces would load (sometimes slowly) but pages with spaces in the title (or underscores) would not load at all. Is this why WikiProblems was created without a space? --Thomcat (talk) 00:34, 1 October 2014 (EDT)
    • No it wasn't, for example Template:New_on_the_wiki is still working fine


Would anyone object if I tried upgrading MediaWiki?

  • Sounds reasonable to me. I have to admit the wiki seems pretty useless as it currently stands. Thanks for being willing to do this! Jiml (talk) 01:25, 2 October 2014 (EDT)

Finding the root I've been looking at the meetup graticule template and tried running all the included templates individually in my sandbox. Surprisingly I managed to run them all pretty much without ever seeing the dreaded timeout (and even then it worked on the rerun). But the "big" template still doesn't work.

I noticed the "meetup links" template being veeery sluggish for what it's supposed to be doing (print a couple of links and be done) so I tried something else. Mampfred/Sandbox simply includes that template a couple of times and voilá, it consistently times out if you call the template multiple times (by including it with timeout=1) and consistently works if you call it only once (timeout=0).

This leads me to believe that the whole thing might not even a change that's related to our wiki that's causing the problem but maybe something simple as severely increased load from some other "project" running on the same infrastructure?

Unfortunately without any visibility of the server logs and/or some knowledge on what else is running on the infrastructure that's as far as I feel able to poke my head into the problem. Apologies if you guys already knew all this but at least from the description above I figured some more investigation is in order. Back over to Joannac :) - Mampfred (talk) 08:10, 2 October 2014 (EDT)