Manual:$wgMaxShellTime/ru

Подробнее
Under Linux, shell commands are executed with the time and memory limits given by  and. Setting either variable to 0 will disable both limits.

См. также

 * - Maximum file size created by shell processes under linux
 * - Maximum amount of virtual memory available to Linux shell processes