Nginx编译与couchbase-nginx模块高CPU使用率

我正在用ngx_srcache模块testingcouchbase_nginx模块以将数据存储在couchbase中。 我使用https://github.com/couchbaselabs/couchbase-nginx-module根据指南编译和安装安装程序,没有任何问题。

经过几次浏览Nginx的CPU使用率达到100%,浏览器客户端无法下载剩余的数据和Nginx进程冻结。 这是我的configuration

# ./sbin/nginx -V nginx version: nginx/1.3.7 built by gcc 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) configure arguments: --prefix=/opt/nginx-couchbase --with-debug --add-module=../nginx- couchbase-module-0.3.1 --add-module=./contrib/srcache-nginx-module-master --add-module=./contrib/memc-nginx-module-master nginx.conf: .... location /cb { internal; set $couchbase_key $arg_key; set $couchbase_cmd $arg_cmd; set $couchbase_val $arg_val; couchbase_connect_timeout 6ms; couchbase_timeout 3ms; add_header X-Couchbase-Flags $couchbase_flags; couchbase_pass localhost:8091,127.0.0.1:8091,localhost bucket=default; } location / { set $key $uri$args; srcache_fetch GET /cb key=$key; srcache_store PUT /cb key=$key; srcache_store_statuses 200 301 302; proxy_pass http://192.168.0.61:8080; proxy_set_header Accept-Encoding ""; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $http_host; } 

 # rpm -qa | grep couchbase couchbase-server-2.0.1-170.x86_64 libcouchbase2-core-2.1.2-1.x86_64 # cat cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.1 (Santiago) 

请在这里findnginx错误日志 – http://pastebin.com/JqgTkZmV

请注意,我可以设置/使用以下URL和压力testing任何问题

 curl -v 'http://localhost:8080/cb?cmd=set&key=foo&val=bar' curl -v 'http://localhost:8080/cb?cmd=get&key=foo' 

感谢帮助。