Welcome! Log In Create A New Profile

Advanced

srcache Crash

Shaun savage
September 25, 2011 01:20AM
I know now that the configuration is wrong, but it still crashed. I am
just starting to learn about nginx.

but if I try just
content_by_lua_file /var/www/nginx/hello.lua;

I get no body


just FYI

location = /memc {
internal;
memc_connect_timeout 100ms;
memc_send_timeout 100ms;
memc_read_timeout 100ms;
set $memc_key $query_string;
set $memc_exptime 300;
memc_pass sr_memcached;
}

location ~ ^/foo {
charset utf-8;
default_type text/plain;
set $key $http_x_auth_token;
srcache_fetch GET /memc $key;
srcache_store PUT /memc $key;

content_by_lua_file "ngx.print(/var/www/nginx/hello.lua)";
}

Program received signal SIGSEGV, Segmentation fault.
0x00000000005008b0 in ngx_http_srcache_add_copy_chain (pool=0x77c630,
chain=0x77d2b0, in=0x773fe0)
at
modules/agentzh-srcache-nginx-module-06b7ab4/src/ngx_http_srcache_util.c:257
257 cl->buf->last = ngx_copy(cl->buf->pos,
in->buf->pos, len);
(gdb)



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

srcache Crash

Shaun savage 1803 September 25, 2011 01:20AM

Re: srcache Crash

agentzh 615 September 25, 2011 03:18AM

Re: srcache Crash

agentzh 782 September 25, 2011 12:22PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 302
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready