usually we not have this issue so its very rare!
but today we got the following error when we are using
rsync to copy files . when files -
pkg_gh are with 1-3G size
the error is like this
Warning: Permanently added '220.127.116.11' (ECDSA) to the list of known hosts. rsync: read errors mapping "/target/home_l/repo/pkg_gh": Bad file descriptor (9) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1178) [sender=3.1.2]
what is the meaning when we get -
Bad file descriptor , when using
is it something that we can avoid?
for example kernel settings? or
rsync rpm upgrade? etc ?
the cmd is like this
sshpass XXXXXX /usr/bin/rsync --delay-updates -F --archive --rsh=/usr/bin/ssh -S none -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null --out-format=..... /target/home_l/repo/pkg_gh root:$target_server:/tmp/local_folder
rsync is working between two rhel server from local server to target server , when server are connected VIA Cisco switch