[Mediawiki-l] Wiki became unavailable--interpreting error messages

Kasimir Gabert kasimir.g at gmail.com
Fri Mar 16 15:42:43 UTC 2007


Hello Bill,

Try setting something like
ini_set("memory_limit","60M");
in the top of your LocalSettings.php file, and see what happens.  It
looks to me like PHP is taking up more RAM that it has been allocated.

I hope that this helps,
Kasimir Gabert

On 3/16/07, Bill Egnatoff <egnatoff at kingston.net> wrote:
> My wiki unexpectedly became unavailable (no Mainpage displayed). The
> error log shows the following sorts of messages. I would very much
> appreciate any suggestions on where to start.
>
> The first problem occured when I tried to save edits to a page.
> Attempting to save a second time produced no error. (I have plenty of
> storage available.) This behaviour happened several times.
> [15-Mar-2007 11:38:51] PHP Fatal error:  Allowed memory size of
> 8388608 bytes exhausted (tried to allocate 77824 bytes) in
> /home/egnatoff/public_html/wiki/includes/SearchUpdate.php on line 99
> .  .  .
> [15-Mar-2007 11:47:23] PHP Fatal error:  Allowed memory size of
> 8388608 bytes exhausted (tried to allocate 19456 bytes) in
> /home/egnatoff/public_html/wiki/includes/SearchUpdate.php on line 61
> [15-Mar-2007 11:50:28] PHP Fatal error:  Allowed memory size of
> 8388608 bytes exhausted (tried to allocate 77824 bytes) in
> /home/egnatoff/public_html/wiki/includes/SearchUpdate.php on line 99
> The database then became unavailable.
> [15-Mar-2007 13:38:33] PHP Fatal error:  Cannot access protected
> property DatabaseMysql::$mOut in
> /home/egnatoff/public_html/wiki/includes/Database.php on line 429
> . . .
> The message changed:
> [16-Mar-2007 07:00:11] PHP Fatal error:  Cannot access protected
> property OutputPage::$mParserOptions in
> /home/egnatoff/public_html/wiki/includes/OutputPage.php on line 49
> . . .
> Versions
> MediaWiki 1.9.2
> My service provider uses
> Linux, kernel 2.6.9-023stab040.1-enterprise
> Apache 1.3.37 (Unix)
> PHP 5.2.1
> MySQL 5.0.24-standard
> (access to files through cPanels)
>
> Thank you.
>
> Sincerely,
> Bill Egnatoff
>
>
>
> ----------
>
> William J. Egnatoff egnatoff at kingston.net
> Kingston, Ontario, Canada
> 613 634-3341
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


-- 
Kasimir Gabert



More information about the MediaWiki-l mailing list