Created
April 20, 2012 20:28
-
-
Save haad/2431630 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 memcached_servers; | |
| } | |
| location /share/ { | |
| set $key $uri; | |
| srcache_fetch GET /memc $key; | |
| srcache_store PUT /memc $key; | |
| srcache_store_statuses 200 301 302; | |
| srcache_response_cache_control off; | |
| mogilefs_tracker mogilefs_trackers; | |
| mogilefs_domain test; | |
| #mogilefs_class testclass; | |
| mogilefs_methods GET; | |
| mogilefs_noverify on; | |
| mogilefs_pass { | |
| proxy_pass $mogilefs_path; | |
| proxy_hide_header Content-Type; | |
| proxy_buffering off; | |
| } | |
| ------- LOG | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 chain writer buf fl:0 s:22 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 chain writer in: 0000000000EA4148 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 writev: 22 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 chain writer out: 0000000000000000 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 event timer del: 4: 1334950101761 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 event timer add: 4: 100:1334950101763 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http upstream request: "/memc?/share/file.html" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http upstream process header | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 malloc: 0000000000E989F0:4096 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 posix_memalign: 0000000000E99A00:4096 @16 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 recv: fd:4 46 of 4096 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 memcached: "VALUE /share/file.html 0 10" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 srcache_fetch: subrequest returned status 200 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 srcache_fetch decides to send the response in cache | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 tcp_nodelay | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 memcached filter bytes:17 size:17 length:17 rest:7 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http upstream process non buffered downstream | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http output filter "/memc?/share/file.html" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http copy filter: "/memc?/share/file.html" | |
| 2012/04/20 21:28:21 [error] 7385#0: *501 srcache_fetch: cache sent invalid status line while sending to client, client: 192.168.200.64, server: ws01x.test.reality.sk, request: "GET /share/file.html HTTP/1.0", subrequest: "/memc", upstream: "memcached://192.168.206.3:11211", host: "192.168.200.64" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http copy filter: 0 "/memc?/share/file.html" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 finalize http upstream request: 0 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 finalize http memcached request | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 free rr peer 1 0 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 close http upstream connection: 4 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 event timer del: 4: 1334950101763 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 reusable connection: 0 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http output filter "/memc?/share/file.html" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http copy filter: "/memc?/share/file.html" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http copy filter: 0 "/memc?/share/file.html" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http finalize request: 0, "/memc?/share/file.html" a:1, c:2 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http wake parent request: "/share/file.html?" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http posted request: "/share/file.html?" | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 access phase: 9 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 post access phase: 10 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http set discard body | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 http init upstream, client timer: 0 | |
| 2012/04/20 21:28:21 [debug] 7385#0: *501 mogilefs request: "get_paths key=file.html&domain=test&noverify=1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment