我在新安装的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