Troubleshooting RPC Connection Timeouts

RPC connections can sometimes time out due to slow networks or a network link going down. This results in package downloads or batch jobs hanging or taking longer than expected. You can adjust the maximum time that an RPC connection can take by editing the configuration file. While this will not resolve networking problems, it will cause a process to fail rather than hang.

Procedure: Resolving RPC connection timeouts
  1. On the Uyuni Server, open the /etc/rhn/rhn.conf file and set a maximum timeout value (in seconds) for this parameter:

    server.timeout =`number`
  2. On the Uyuni Proxy, open the /etc/rhn/rhn.conf file and set a maximum timeout value (in seconds) for this parameter:

    proxy.timeout =`number`
  3. On a SUSE Linux Enterprise Server client that uses zypper, open the /etc/zypp/zypp.conf file and set a maximum timeout value (in seconds) for this parameter:

    ## Valid values:  [0,3600]
    ## Default value: 180
    download.transfer_timeout = 180
  4. On a Red Hat Enterprise Linux client that uses yum, open the /etc/yum.conf file and set a maximum timeout value (in seconds) for this parameter:

    timeout =`number`

If you limit RPC timeouts to less than 180 seconds, you risk aborting perfectly normal operations.