[opensuse-wiki] Portal/All page is empty

Portal/All page is empty for quite some time. Anyone looked at the issue? -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org

On Monday 20 April 2009 11:37:34 am Rajko M. wrote:
Portal/All page is empty for quite some time.
Anyone looked at the issue?
It seems to be length of the page at issue. Cutting content down to 38k makes saving work. Or it is browser issue? Using Firefox: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009032600 SUSE/3.0.8-1.1.1 Firefox/3.0.8 Using Konqueror Version 4.2.2 (KDE 4.2.2) "release 114" Using KDE 4.2.2 (KDE 4.2.2) "release 114" I have the same issue. BTW, does anyone know whom to contact as responsible person ? -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org

On Monday 20 April 2009 19:27:50 Rajko M. wrote: Hi,
On Monday 20 April 2009 11:37:34 am Rajko M. wrote:
Portal/All page is empty for quite some time.
Anyone looked at the issue?
It seems to be length of the page at issue. Cutting content down to 38k makes saving work.
Or it is browser issue?
I do not think so - according to http://en.wikipedia.org/wiki/Article_length older browsers have issues with pages larger than 32 k, but modern browsers are not affected.
BTW, does anyone know whom to contact as responsible person ?
that would probably be me. Honestly I have no idea why this restriction exists. I wasn't able to find any configuration option limiting the size of pages in the config files, nor does Google find any hint that such an option exists. Unless somebody on this list has another idea, all I can do for now is to hope this error will go away when updating to a new MediaWiki version (which hopefully will happen soon. -- Sorry Frank Frank Sundermeyer, Technical Writer, Documentation SUSE Linux Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg Tel: +49-911-74053-0, Fax: +49-911-7417755; http://www.opensuse.org/ SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) "Reality is always controlled by the people who are most insane" Dogbert -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org

On Tuesday 21 April 2009 07:32:31 am Frank Sundermeyer wrote:
On Monday 20 April 2009 19:27:50 Rajko M. wrote:
Hi,
On Monday 20 April 2009 11:37:34 am Rajko M. wrote:
Portal/All page is empty for quite some time.
Anyone looked at the issue?
It seems to be length of the page at issue. Cutting content down to 38k makes saving work. ... possible.
Or it is browser issue?
I do not think so - according to http://en.wikipedia.org/wiki/Article_length older browsers have issues with pages larger than 32 k, but modern browsers are not affected.
Me neither, it exists in all browsers, that is what I found running few more tests. I looked at other large files (Special:Longpages) and they display fine. I can manually enter: http://en.opensuse.org/index.php?title=Portal/All&action=edit and see source text, but when I try to use Preview, or Save, I get error message: ---------------------------------- 500 Internal Server Error The origin web server encountered an unexpected condition which prevented it from fulfilling the request. Please try your request again. ---------------------------------- Repeating request doesn't help. After much more testing it seems that number of links per page is limited. For Preview I can have almost whole page to the half of Y section, which is more than 1600 links. For Save that is too much, but I didn't found out what Save will tolerate. I stopped after dropping X out, and it didn't work. The solution for now is to make pages smaller.
BTW, does anyone know whom to contact as responsible person ?
that would probably be me.
Good to know :-) We got discussion who is Wiki Team leader on IRC. Somebody has to take care of answering questions to new users, Board and so on. I guess that the best is to make meeting on IRC. What do you think?
Honestly I have no idea why this restriction exists. I wasn't able to find any configuration option limiting the size of pages in the config files, nor does Google find any hint that such an option exists.
Unless somebody on this list has another idea, all I can do for now is to hope this error will go away when updating to a new MediaWiki version (which hopefully will happen soon).
I was a bit more verbose this time, so hopefully that will give you more facts to investigate.
-- Sorry Frank
I'm sorry too. -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org

Hello, Frank, I bet for a glass of wine ("payable" at LinuxTag) that I know what's wrong and how to solve it. If you hope that I have to pay it, just say yes to this bet ;-) (Please decide before reading the text below.) on Dienstag, 21. April 2009, Frank Sundermeyer wrote:
On Monday 20 April 2009 19:27:50 Rajko M. wrote:
On Monday 20 April 2009 11:37:34 am Rajko M. wrote:
Portal/All page is empty for quite some time.
Honestly I have no idea why this restriction exists. I wasn't able to find any configuration option limiting the size of pages in the config files, nor does Google find any hint that such an option exists.
Given such an option would exist, mediawiki would display a nice error message instead of delivering a completely empty page.
Unless somebody on this list has another idea, all I can do for now is to hope this error will go away when updating to a new MediaWiki version (which hopefully will happen soon.
I'm quite sure this won't go away with a new mediawiki version. Frank, do you have access to the error_log? My guess is that the PHP memory_limit is hit which can cause the '500' error. This should be recorded in the error_log. I just tested this by copying Portal/All to my private wiki. After clicking the preview button, I get a nice error_log entry: [Tue Apr 21 22:48:42 2009] [error] [client 10.8.0.6] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 27068 bytes) in .../includes/parser/Parser.php on line 1791 Direct hit :-) There's one thing you (or the server admin) probably won't like: I had to increase the memory_limit to 46M to make the preview work. Saving the page will probably need even more RAM if I got Rajko's mail right. (I'd recommend 64M - the server admin will probably disagree *g*) Guessed background: Mediawiki has to do lots of database work to render the page (like checking if the target page of every link exists). When saving the page, it probably also has to update lots of database entries for various pages - just think about "what links here" for every page linked in Portal/All ;-) BTW: I can't reproduce the error with the current version of Portal/All, but http://en.opensuse.org/index.php?title=Portal/All&oldid=70001 still results in an empty page with a 500 (internal server error) status code: # telnet en.opensuse.org 80 Trying 130.57.4.24... Connected to en.opensuse.org. Escape character is '^]'. GET /index.php?title=Portal/All&oldid=70001 HTTP/1.0 Host: en.opensuse.org HTTP/1.0 500 Internal Server Error Date: Tue, 21 Apr 2009 20:33:44 GMT Server: Apache/2.2.3 (Linux/SUSE) X-Powered-By: PHP/5.2.5 Content-Type: text/html Content-Length: 1 Set-Cookie: XXXXXX-opensuse=XXXXXXXXXXXXXXX; path=/ # cookie XX-ed out P3p: CP="NOI" Via: 1.0 ICS_SERVER (iChain 2.3.416) Connection closed by foreign host. Regards, Christian Boltz -- Super-PC von IBM - der erste 486er im Test [Titelseite der Chip 8/1989] -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org

On Tuesday 21 April 2009 04:16:35 pm Christian Boltz wrote:
Hello,
Frank, I bet for a glass of wine ("payable" at LinuxTag) that I know what's wrong and how to solve it. If you hope that I have to pay it, just say yes to this bet ;-)
(Please decide before reading the text below.)
:-D ...
I'm quite sure this won't go away with a new mediawiki version.
Frank, do you have access to the error_log?
My guess is that the PHP memory_limit is hit which can cause the '500' error. This should be recorded in the error_log.
I just tested this by copying Portal/All to my private wiki. After clicking the preview button, I get a nice error_log entry:
[Tue Apr 21 22:48:42 2009] [error] [client 10.8.0.6] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 27068 bytes) in .../includes/parser/Parser.php on line 1791
Direct hit :-)
Excellent job Christian.
There's one thing you (or the server admin) probably won't like: I had to increase the memory_limit to 46M to make the preview work. Saving the page will probably need even more RAM if I got Rajko's mail right. (I'd recommend 64M - the server admin will probably disagree *g*)
Guessed background: Mediawiki has to do lots of database work to render the page (like checking if the target page of every link exists). When saving the page, it probably also has to update lots of database entries for various pages - just think about "what links here" for every page linked in Portal/All ;-)
BTW: I can't reproduce the error with the current version of Portal/All, but http://en.opensuse.org/index.php?title=Portal/All&oldid=70001 still results in an empty page with a 500 (internal server error) status code:
The thing worked fine for quite some time. Even now it has no problem with 160K text, but 1600 links kills the show. I guess that is better to explain users to create smaller index pages, if for no other reason, it is easier to navigate them. I'm quite happy with new design. -- Regards, Rajko http://news.opensuse.org/category/people-of-opensuse/ -- To unsubscribe, e-mail: opensuse-wiki+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-wiki+help@opensuse.org
participants (3)
-
Christian Boltz
-
Frank Sundermeyer
-
Rajko M.