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@kingston.net Kingston, Ontario, Canada 613 634-3341
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@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@kingston.net Kingston, Ontario, Canada 613 634-3341
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Bill Egnatoff wrote:
[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
I've had this problem repeatedly for a while now. PHP bug #40701 reported at php.net. I set the php memory limit to unlimited and it hasn't fixed the problem.
Try setting the memory limit higher and cross your fingers.
Versions PHP 5.2.1
There's a memory fix in the Feb 08 release (PHP 5.2.2), but that didn't fix my problem.
Mike
mediawiki-l@lists.wikimedia.org