SPDY + Lua + fastcgi failing

Greg Richardson richardson.greg at gmail.com
Tue Jul 24 05:30:57 UTC 2012


Hello -

Working with SPDY/47 and Lua to do a location.capture that ultimately
calls fastcgi.  The same setup does not produce an issue within http
or TLS only server configs, but bails once the spdy flag is added.
Doesn't appear to be related to the known SPDY limitations.

nginx version: nginx/1.3.3
built by gcc 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
TLS SNI support enabled
configure arguments: --with-debug --with-http_ssl_module
--with-openssl=/var/tmp/openssl-1.0.1c
--add-module=/var/tmp/simpl-ngx_devel_kit-4192ba6/
--add-module=/var/tmp/substitutions4nginx-read-only/
--add-module=/var/tmp/agentzh-set-misc-nginx-module-658c235/
--add-module=/var/tmp/agentzh-echo-nginx-module-9259898/
--add-module=/var/tmp/chaoslawful-lua-nginx-module-c25689b/

Nginx config:   http://pastie.org/private/sztfoeo2rrasohojscn7w

Simple lua script:  http://pastie.org/private/6y8ivr8bsadd2s5wuayww

Debug log when spdy is enabled:  http://pastie.org/private/yhmir7lmkv4b2b6lu07ka

Portion of the debug log when nginx bails:
2012/07/24 04:39:45 [debug] 9971#0: *11 generic phase: 5
2012/07/24 04:39:45 [debug] 9971#0: *11 try files phase: 9
2012/07/24 04:39:45 [debug] 9971#0: *11 http script var: "/proxy/"
2012/07/24 04:39:45 [debug] 9971#0: *11 trying to use file: "/proxy/"
"/usr/local/nginx/html/proxy/"
2012/07/24 04:39:45 [debug] 9971#0: *11 http script var: "/proxy/"
2012/07/24 04:39:45 [debug] 9971#0: *11 trying to use dir: "/proxy/"
"/usr/local/nginx/html/proxy/"
2012/07/24 04:39:45 [debug] 9971#0: *11 http script copy: "/index.php"
2012/07/24 04:39:45 [debug] 9971#0: *11 http script var: ""
2012/07/24 04:39:45 [debug] 9971#0: *11 trying to use file:
"/index.php" "/usr/local/nginx/html/index.php"
2012/07/24 04:39:45 [debug] 9971#0: *11 internal redirect: "/index.php?"
2012/07/24 04:39:45 [debug] 9971#0: *11 rewrite phase: 0
2012/07/24 04:39:45 [debug] 9971#0: *11 test location: "/"
2012/07/24 04:39:45 [debug] 9971#0: *11 test location: "proxy"
2012/07/24 04:39:45 [debug] 9971#0: *11 test location: "50x.html"
2012/07/24 04:39:45 [debug] 9971#0: *11 test location: ~ "\.php$"
2012/07/24 04:39:45 [debug] 9971#0: *11 using configuration "\.php$"
2012/07/24 04:39:45 [debug] 9971#0: *11 http cl:-1 max:1048576
2012/07/24 04:39:45 [debug] 9971#0: *11 rewrite phase: 2
2012/07/24 04:39:45 [debug] 9971#0: *11 post rewrite phase: 3
2012/07/24 04:39:45 [debug] 9971#0: *11 generic phase: 4
2012/07/24 04:39:45 [debug] 9971#0: *11 generic phase: 5
2012/07/24 04:39:45 [debug] 9971#0: *11 try files phase: 9
2012/07/24 04:39:45 [debug] 9971#0: *11 http script var: "/index.php"
2012/07/24 04:39:45 [debug] 9971#0: *11 trying to use file:
"/index.php" "/usr/local/nginx/html/index.php"
2012/07/24 04:39:45 [debug] 9971#0: *11 try file uri: "/index.php"
2012/07/24 04:39:45 [debug] 9971#0: *11 http init upstream, client timer: 0
2012/07/24 04:39:45 [notice] 9963#0: signal 17 (SIGCHLD) received
2012/07/24 04:39:45 [alert] 9963#0: worker process 9971 exited on signal 11
2012/07/24 04:39:45 [debug] 9963#0: shmtx forced unlock
2012/07/24 04:39:45 [debug] 9963#0: wake up, sigio 0
2012/07/24 04:39:45 [debug] 9963#0: reap children
2012/07/24 04:39:45 [debug] 9963#0: child: 0 9971 e:0 t:1 d:0 r:1 j:0
2012/07/24 04:39:45 [debug] 9963#0: channel 3:10
2012/07/24 04:39:45 [notice] 9963#0: start worker process 9996
2012/07/24 04:39:45 [debug] 9963#0: sigsuspend
2012/07/24 04:39:45 [debug] 9996#0: malloc: 0000000002794230:6144
2012/07/24 04:39:45 [debug] 9996#0: malloc: 00007F0739019010:196608
2012/07/24 04:39:45 [debug] 9996#0: malloc: 00000000027DAE60:106496
2012/07/24 04:39:45 [debug] 9996#0: malloc: 00000000027F4E70:106496


Thanks!



More information about the nginx-devel mailing list