I have a NFS server and shared a disk(without ssd cached) to few host,When users git clone to this NFS disk form our gitlab,it always got error like that:
remote: Compressing objects: 100% (430/430), done.
fatal: write error: Bad file descriptor.61 MiB | 453.00 KiB/s
fatal: index-pack failed
If only one man git clone, it will be done, if many peoples git at the same time, will get errors. This is the config of our NFS server:
/data/proj 192.168.1.0/24(rw,no_root_squash,sync,no_subtree_check)
This is the host mount info:
192.168.1.10:/data/proj on /proj type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.2.211,local_lock=none,addr=192.168.1.10)
I try to change the NFS server config like async, but it not work, change .gitconfig setting not work so. I think the issue is more like in NFS-server config, but I don't know how to solve it, Please help!
git clone
simultaneously, so your answer seems irrelevant. Besides, it is only a remark, and as such it should be posted as a comment rather than an answer. – Ceroplastic