我尝试在我的本地开发系统上设置varnish,但它在开始后几秒钟终止这些消息:
varnishd -s malloc,1G -T 127.0.0.1:2000 -a 0.0.0.0:81 -F -f /etc/default.vcl
0 [main] collect2 9660 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
1044289 [main] collect2 9660 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
3081454 [main] collect2 9660 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
7205979 [main] collect2 9660 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
Message from C-compiler:
collect2: fork: Resource temporarily unavailable
0 [main] collect2 9660 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
1044289 [main] collect2 9660 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
3081454 [main] collect2 9660 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
7205979 [main] collect2 9660 fork: child -1 - died waiting for longjmp before initialization, retry 10, exit code 0xC0000135, errno 11
Running C-compiler failed, exit 1
VCL compilation failed
谷歌没有多大帮助,有没有人知道出了什么问题以及如何解决这个问题?
好的,现在开始了赏金。更多信息:开发系统使用Windows,但运行cygwin。
答案 0 :(得分:3)
cygwin中的许多分叉问题可以通过重新编写cygwin DLL来解决。
首先,确保通过cygwin安装程序安装dash
和rebase
软件包。
关闭所有cygwin窗口和进程(包括X11等)
然后,从命令提示符(开始菜单 - >运行 - > cmd),执行c:\pathtocygwin\dash.exe -c '/usr/bin/rebaseall'
在此处查看Wiki中的更多信息:http://cygwin.wikia.com/wiki/Rebaseall