我在新安裝的Windows 10 64位筆記本電腦上遇到了vagrant rsync相當惱人的問題。在Windows 10上的Vagrant rsync(來自cygwin)有fork內存錯誤
> There was an error when attempting to rsync a synced folder. Please
> inspect the error message below for more info.
>
> Host path: /c/Users/kryst/Projects/OSTSped/ostsped/ Guest path:
> /vagrant Command: rsync --verbose --archive --delete -z --copy-links
> --chmod=ugo=rwX --no-perms --no-owner --no-group --rsync-path sudo rsync -e ssh -p 2222 -o ControlMaster=auto -o
> ControlPath=C:/Users/kryst/AppData/Local/Temp/ssh.952 -o
> ControlPersist=10m -o StrictHostKeyChecking=no -o IdentitiesOnly=true
> -o UserKnownHostsFile=/dev/null -i 'C:/Users/kryst/Projects/OSTSped/ostsped/.vagrant/machines/default/virtualbox/private_key'
> --exclude .vagrant/ /c/Users/kryst/Projects/OSTSped/ostsped/ [email protected]:/vagrant Error: 0 [main] rsync 1228
> C:\cygwin64\bin\rsync.EXE: *** fatal error in forked process - fork:
> can't reserve memory for parent stack 0x600000 - 0x800000, (child has
> 0x400000 - 0x600000), Win32 error 487 2512 [main] rsync 1228
> cygwin_exception::open_stackdumpfile: Dumping stack trace to
> rsync.EXE.stackdump
> 1 [main] rsync 4736 fork: child -1 - forked process 1228 died unexpectedly, retry 0, exit code 0x100, errno 11 rsync: fork: Resource
> temporarily unavailable (11) rsync error: error in IPC code (code 14)
> at pipe.c(65) [sender=3.1.1]
我在找幾天的答案。 我試圖使用cygwin,powershell,git bash的32位和64位版本。 我試圖將cygwin前綴更新到/ cygdrive,/,甚至更新到主目錄(C:\ User \ kryst)。 我試圖重新調整。
沒有解決問題。
流浪1.8.1
Cygwin64 SETUP.EXE版本2.873(64位)
Rsync的3.1.1-1
OpenSSH的7.1:
softwere的實際版本p1-1
我有同樣的問題,它似乎立即發生後,出於某種奇怪原因已經破壞了rsync的Windows Update。 – MaxGhost