8.19. 支持性

在 IBM Power Systems Little Endian 上运行 sos report 时超时

在带有数百或数千 CPU 的 IBM Power Systems Little Endian 上运行 sos report 命令时,当收集 /sys/devices/system/cpu 目录中的大量内容时,处理器插件会达到其默认的超时时间(300 秒)。作为临时解决方案,相应地增加插件的超时时间:

  • 对于一次性设置,请运行:
# sos report -k processor.timeout=1800
  • 对于永久更改,编辑 /etc/sos/sos.conf 文件的 [plugin_options] 部分:
[plugin_options]
# Specify any plugin options and their values here. These options take the form
# plugin_name.option_name = value
#rpm.rpmva = off
processor.timeout = 1800

示例值设为 1800。特定的超时值高度取决于特定的系统。要相应地设置插件超时,您可以首先通过运行以下命令估算收集没有超时的插件所需的时间:

# time sos report -o processor -k processor.timeout=0 --batch --build

(BZ#1869561)