Last modified: 2010-11-23 17:38:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T28017, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26017 - When loading diff's, don't lock up web server
When loading diff's, don't lock up web server
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
CodeReview (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-19 13:18 UTC by Sam Reed (reedy)
Modified: 2010-11-23 17:38 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2010-11-19 13:18:34 UTC
Noticed on my server it locks up... Not sure why. Needs some investigation (not sure if it's just one of the configs or something)

Will poke at it when I've more time
Comment 1 Max Semenik 2010-11-19 20:39:42 UTC
Locks up? It doesn't serve any other requests? What OS?
Comment 2 Platonides 2010-11-19 20:46:43 UTC
Serving a diff needs more processing than normal (producing the diff, probably rendering an old revision, which is always uncached...) but lockup web server??
Comment 3 Sam Reed (reedy) 2010-11-19 22:09:51 UTC
Ubuntu x64 10.10

It won't serve any more pages, until the diff is loaded.. If you try and browse away, it won't finish loading, and I have to restart the apache instance
Comment 4 Platonides 2010-11-19 22:37:18 UTC
Can you get another page from a different browser (ie. not logged in)?
It could be the php session locking.
Comment 5 Sam Reed (reedy) 2010-11-21 20:57:11 UTC
(In reply to comment #4)
> Can you get another page from a different browser (ie. not logged in)?
> It could be the php session locking.

You look to be right.

If i open another tab in the same instance/session, it waits until it's finished loading the diff, then does that.

Another tab works fine though
Comment 6 Platonides 2010-11-21 21:55:08 UTC
Assuming it is "Another browser works fine though"

Not a MediaWiki problem then. You can skip php session locking by placing the sessions in memcached or a non-lockable fs (nfs). That means that the last change wins.
Comment 7 Sam Reed (reedy) 2010-11-21 21:59:23 UTC
I changed to memcached a little back as Brion suggested it'd help speed things up

It still happens with that...
Comment 8 Sam Reed (reedy) 2010-11-23 17:38:37 UTC
I noticed the other day I hadn't set sessions in memcached... But the rest of the cache was

Haven't tested it, but I'd guess that will help fix it

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links