Squid 配置指令 sleep_after_fork
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | sleep_after_fork |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | sleep_after_fork 0 |
| 建议配置 |
|
When this is set to a non-zero value, the main Squid process sleeps the specified number of microseconds after a fork() system call. This sleep may help the situation where your system reports fork() failures due to lack of (virtual) memory. Note, however, if you have a lot of child processes, these sleep delays will add up and your Squid will not service requests for some amount of time until all the child processes have been started. |
|
