Topic on Project:Support desk

Default for $wgMaxShellMemory too low

3
Ksteinb (talkcontribs)

Hi,

since update to mediawiki 1.22 I got many errors like this in my logs:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlreader.so' - /usr/lib64/php/modules/xmlreader.so: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlrpc.so' - /usr/lib64/php/modules/xmlrpc.so: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xmlwriter.so' - /usr/lib64/php/modules/xmlwriter.so: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/xsl.so' - /usr/lib64/php/modules/xsl.so: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/zip.so' - /usr/lib64/php/modules/zip.so: failed to map segment from shared object: Cannot allocate memory in Unknown on line 0 PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 523800 bytes) in Unknown on line 0

after some googeling I found out that due to some changes in mediawiki, the default for $wgMaxShellMemory is too low, even the raised one from 1.22

raising $wgMaxShellMemory to 512000 solved the problem for me.

Sincerly, Klaus

MarkAHershberger (talkcontribs)
MarkAHershberger (talkcontribs)

See the bug. We think it may be caused by another issue for which there is already a fix. Would you be willing to apply a patch and see if it fixes this?

Reply to "Default for $wgMaxShellMemory too low"