手册:$wgMaxShellTime
Appearance
| 终端和进程控制: $wgMaxShellTime | |
|---|---|
| Linux 系统下,shell 进程的最长 CPU 时间(秒) |
|
| 引进版本: | 1.14.0 (r42136) |
| 移除版本: | 仍在使用 |
| 允许的值: | (正整数或 0) |
| 默认值: | 180 |
| 其他设置: 按首字母排序 | 按功能排序 | |
细节
Linux 系统下,shell 命令的执行时间和内存限制可以通过 $wgMaxShellTime 和 $wgMaxShellMemory 进行设置。
将两个变量都设置为 0 将会停用限制。
参阅
- $wgMaxShellFileSize - Maximum file size created by shell processes under linux
- $wgMaxShellMemory - Maximum amount of virtual memory available to Linux shell processes