Memory limits are notoriously difficult to deal with on Unix like systems. Virtual memory address space can easily be exhausted mapping in the program itself, its libraries, and sometimes even scratch files might be memory mapped, eating address space up further.
Usage also tends to be higher on 64-bit machines than 32, which was I think still common when we set the defaults.
Probably we should just double the default and see if that's more reliable...
-- brion On Jan 29, 2015 9:27 AM, "Keith Welter" welterkj@gmail.com wrote:
The GraphViz extension uses wfShellExec() to invoke the "dot" command. Sometime in the last month or so, on my Ubuntu 14.04 installation, the command started failing with: Warning: Could not load "/usr/lib/graphviz/libgvplugin_gd.so.6" - file not found
The file does exist and the dot command runs fine from a shell session.
I found that by eliminating the ulimit -v option from ulimit4.sh, which wfShellExec() invokes, the problem goes away.
The -v limit is 102400 on my installation (so 100Mb). I find it hard to believe that dot actually needs that much virtual memory.
Suggestions on how to proceed with debug would be much appreciated.
Thanks, Keith Welter _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l