Gitlab CI - RPC failed [ size matters ? ]

Hello GitLab Community :slight_smile: ,

actually i am migrating 5 Gb [45000 files] from an ftp to an Gitlab Repository.
The SFTP Server pushes code to 20~ Servers via Rsync.

Now I would like to use rsync with gitlab-ci to push the code to these 20 other hosts.
However, I think that size matters somehow because gitlab is failing with every run.
[ With 353 Mb gitlab-ci worked :slight_smile: ]

gitlab-ci configuration:

deploy_staging:
stage: deploy
variables:
GET_SOURCES_ATTEMPTS: 3
ARTIFACT_DOWNLOAD_ATTEMPTS: 3
RESTORE_CACHE_ATTEMPTS: 3
image: debian
before_script:
- ‘which ssh-agent || ( apt-get update -y && apt-get install openssh-client rsync -y )’
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- eval $(ssh-agent -s)
- echo “$SSH_PRIVATE_KEY” | ssh-add - > ~/.ssh/id_rsa
- ‘[[ -f /.dockerenv ]] && echo -e “Host *\n\tStrictHostKeyChecking no\n\n” > ~/.ssh/config’
script:
- rsync -rav -e “ssh -p 22” --exclude=‘.git/’ --exclude=‘.gitlab-ci.yml’ --delete-excluded ./ root@cookiedoh.com:/var/www/domains
- ssh -p22 root@cookiedoh.com “chmod 775 -R /var/www/domains”
- ssh -p22 root@cookiedoh.com “chown www-data:www-data -R /var/www/domains”
only:
- master

CI-Failing

Fetching changes…
HEAD is now at e612f78 adding cookiedoh
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 104
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Do you have any Ideas or do you know what configuration changes must be done to get this working :slight_smile: ?