RPC 超时查错
由于网络速度缓慢或网络链接断开,RPC 连接有时会超时。这会导致软件包下载或批处理作业挂起或运行时间超过预期。您可以通过编辑配置文件来调整 RPC 连接可以花费的最长时间。虽然这不能解决网络问题,但可以使进程失败而不是挂起。
过程:解决 RPC 连接超时
-
On the SUSE Multi-Linux Manager Server, open the
/etc/rhn/rhn.conffile and set a maximum timeout value (in seconds):server.timeout =`数字`
On the SUSE Multi-Linux Manager Proxy, open the
/etc/uyuni/proxy/config.yamlfile and set a maximum timeout value (in seconds). The proxy containers need to be restarted for the change to be effective:timeout: `number`
-
On a SUSE Linux Enterprise Server client that uses zypper, open the
/etc/zypp/zypp.conffile and set a maximum timeout value (in seconds):## 有效值:[0,3600] ## 默认值:180 download.transfer_timeout = 180
-
On a Red Hat Enterprise Linux client that uses yum, open the
/etc/yum.conffile and set a maximum timeout value (in seconds):timeout =`数字`
|
如果您将 RPC 超时限制为小于 |