当前位置: 代码迷 >> Web开发 >> nginx proxy_cache在windows2008上使用报错
  详细解决方案

nginx proxy_cache在windows2008上使用报错

热度:1430   发布时间:2012-12-16 12:02:32.0
nginx proxy_cache在windows2008下使用报错
开启proxy_cache时就会报错:
shared zone "cache_one" has no equal addresses: 02C00000 vs 02CC0000
不知道谁能帮忙解决一下
------最佳解决方案--------------------
该回复于2011-06-17 13:54:42被版主删除
------其他解决方案--------------------
Known issues

1 Although several workers can be run, only one of them actually does any work.
2 A worker can handle no more than 1024 simultaneous connections.
3 The cache and other modules which require shared memory support do not work in Windows Vista and later due to address space layout randomization being enabled in these Windows versions.

http://nginx.org/en/docs/windows.html#known_issues
可以考虑用squid来缓存,不过
nginx在windows下既无性能优势(采用select方式),又无缓存功能,你最好选择Apache。
------其他解决方案--------------------
http://www.boxcn.net/shared/q5rjn1z6bqahv55gd6u1

这个是个稳定版本。在windows2008下不报错。
------其他解决方案--------------------
缓存设置大一些,就可以了!!
------其他解决方案--------------------
引用:
缓存设置大一些,就可以了!!


好人啊,真可以