Page MenuHomePhabricator

Special:Newmessages fails to load when there are many unread messages
Closed, ResolvedPublic

Description

The notification on my watchlist on translatewiki.net says I have over 4000 unread messages; when I go to Special:Newmessages it takes a long time to load, and when it finally finishes all I have is a blank page (completely blank, no skin or error message or anything).

I am not familiar with how Special:Newmessages should work, as this is the only wiki I'm active on that uses LiquidThreads (and I was inactive there when they switched to LT, and for some time after that, which explains the big amount of unread messages), but I would assume it is a page listing all new messages, and would again assume that the reason for the error is that it is trying to load all 4000+ messages in one page.

Nikerabbit gets the following fatal error when I try to load it:
PHP Fatal error: Allowed memory size of 125829120 bytes exhausted (tried to allocate 4253580 bytes) in /www/w/includes/OutputPage.php on line 897

and

"GET /wiki/Special:NewMessages HTTP/1.1" 500 31 "http://translatewiki.net/wiki/Special:Watchlist"

I would guess the proper fix would be to split the page into several parts showing X number of messages per page. (And I really hope there is a Mark all as read-feature. ;) )


Version: unspecified
Severity: blocker

Details

Reference
bz24649

Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 11:00 PM
bzimport set Reference to bz24649.

Oh, one more thing I forgot: I had the same problem when there were "only" 1500 unread messages, so the threshhold when it is split into separate pages should probably be around ~100 I think.

Might very well be related to Bug 23383.

  • Bug 24352 has been marked as a duplicate of this bug. ***

Resolved in r72707, by adding paging.

  • Bug 30952 has been marked as a duplicate of this bug. ***