Manual:$wgMaxShellTime/de-formal

Details
Under Linux, shell commands are executed with the time and memory limits given by  and. Setting either variable to 0 will disable both limits.