Manual:$wgMaxShellMemory/ru

From mediawiki.org
This page is a translated version of the page Manual:$wgMaxShellMemory and the translation is 38% complete.
Shell and process control: $wgMaxShellMemory
Максимальный объем виртуальной памяти, доступной процессам оболочки под Linux, в KiB.
Введено в версии:1.7.0 (r14795)
Удалено в версии:всё ещё используется
Допустимые значения:(integer)
Значение по умолчанию:307200 (1.22+) gerrit:91833
102400 (1.7-1.21)

По умолчанию

// Maximum amount of virtual memory available to shell processes under Linux, in KiB.
$wgMaxShellMemory = 307200;
1 KiB = 1024 B, 102400 KiB = 100 MiB, 307200 KiB = 300 MiB, etc.

Подробнее

В Linux команды оболочки выполняются с ограничениями по времени и памяти, заданными с помощью $wgMaxShellTime и $wgMaxShellMemory. Установка любой переменной в 0 отключит оба предела.

If generating thumbnails with ImageMagick fails with a web server error log message like "Memory allocation failed" or "/bin/ulimit4.sh: Segmentation fault /usr/bin/convert ..." or "convert: Unable to extend cache ...", the $wgMaxShellMemory value may need to be increased.

If using Batik to render SVG graphics on some systems, this value needs to be raised in order for the extension to function. (The phrase "Could not create the Java virtual machine." may appear in Apache error log if this problem is occurring.)

См. также