On 15/11/13 12:01, John Foster wrote:
On Fri, 2013-11-15 at 10:05 +1100, Tim Starling wrote:
On 14/11/13 15:40, John Foster wrote:
This is the error messages in that log that I
created per your
suggestion.
/var/www/extensions/Scribunto/engines/LuaStandalone/lua_ulimit.sh:
xmalloc: ../bash/subst.c:3503: cannot allocate 381 bytes (32768 bytes
allocated)
/var/www/extensions/Scribunto/engines/LuaStandalone/lua_ulimit.sh:
xmalloc: ../bash/subst.c:3503: cannot allocate 381 bytes (32768 bytes
allocated)
Have you set the memory limit to something lower than the default?
-- Tim Starling
Currently I have the php memory limit set at 1.5 Gb.
The system has more than that in real hardware memory.
I don't know of any other memory limit settings for mediawiki.
If I'm missing something let me know.
The relevant setting is
$wgScribuntoEngineConf['luastandalone']['memoryLimit']. It is 50MB by
default. But it's a virtual memory limit, not a physical memory limit,
which means that it needs to include enough space for shared
libraries. The error message you gave suggests that it is hitting the
memory limit while bash is starting up, it doesn't even get as far as
running Lua.
Could you try running this under bash:
ps -o vsize $$
And tell us what the result is?
-- Tim Starling