Monday 7 August 2017

28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds

I was trying to install xtrabackup in one of my virtual servers. I have connected the server via ssh from my local machine. When i was performing the install command it took some time and gave me the timeout error as shown below,

Downloading Packages:
http://repo.percona.com/release/6/RPMS/x86_64/percona-xtrabackup-24-2.4.8-1.el6.x86_64.rpm: [Errno 12] Timeout on http://repo.percona.com/release/6/RPMS/x86_64/percona-xtrabackup-24-2.4.8-1.el6.x86_64.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
(2/2): rsync-3.0.6-12.el6.x86_64.rpm                                                                                                   | 335 kB     00:00     


Error Downloading Packages:

 percona-xtrabackup-24-2.4.8-1.el6.x86_64: failure: percona-xtrabackup-24-2.4.8-1.el6.x86_64.rpm from percona-release-x86_64: [Errno 256] No more mirrors to try.


xtrabackup_failure.png



To fix the above issue we need to increase the timeout value on yum.conf
[root@gtid1 ~]# vi /etc/yum.conf

Add below two values to it  and you will be able to fix the same.

minrate=1
timeout=300

xtrabackup_success.png

No comments: