Closed miurahr closed 11 years ago
Here is a problem point:
call udpsocket:receive()
2013/04/27 09:44:27 [debug] 17551#0: *1977 lua udp socket calling receive() method
2013/04/27 09:44:27 [debug] 17551#0: *1977 lua udp socket read timeout: 1000
2013/04/27 09:44:27 [debug] 17551#0: *1977 lua udp socket receive buffer size: 8192
2013/04/27 09:44:27 [debug] 17551#0: *1977 lua udp socket read data: waiting: 0
2013/04/27 09:44:27 [debug] 17551#0: *1977 recv: fd:25 -1 of 8192
2013/04/27 09:44:27 [debug] 17551#0: *1977 recv() not ready (11: Resource temporarily unavailable)
got recv() -EAGAIN
2013/04/27 09:44:27 [debug] 17551#0: *1977 lua udp recv returned -2
Immediately reterun -2
2013/04/27 09:44:27 [debug] 17551#0: *1977 event timer add: 25: 1000:1367023468927
2013/04/27 09:44:27 [debug] 17551#0: *1977 lua resume returned 1
2013/04/27 09:44:27 [debug] 17551#0: *1977 lua thread yielded
2013/04/27 09:44:27 [debug] 17551#0: *1977 http finalize request: -4, "/6/57/24.png?" a:1, c:2
2013/04/27 09:44:27 [debug] 17551#0: *1977 http request count:2 blk:0
2013/04/27 09:44:28 [debug] 17551#0: *1977 event timer del: 25: 1367023468927
Timeout without call again
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua udp socket handler for "/6/57/24.png?", wev 0
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua udp socket read handler
2013/04/27 09:44:28 [error] 17551#0: *1977 lua udp socket read timed out, client: 125.30.23.86, server: tile.openstreetmap.jp, request: "GET /6/57/24.png HTTP/1.1", host: "tile.openstreetmap.jp"
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua udp socket handle error
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua udp socket waking up the current request
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua udp operation done, resuming lua thread
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua udp socket calling prepare retvals handler 00000000004D8D00, u:0000000001F045F8
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua udp socket receive return value handler
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua udp socket error retval handler
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua run thread, top:0 c:1
2013/04/27 09:44:28 [error] 17551#0: *1977 [lua] tileserver.lua:181: send_tile_tirex(): tirex: Command reply error: timeout, client: 125.30.23.86, server: tile.openstreetmap.jp, request: "GET /6/57/24.png HTTP/1.1", host: "tile.openstreetmap.jp"
got error in tileserver LUA code.
2013/04/27 09:44:28 [debug] 17551#0: *1977 lua exit with code 500
return 500 lastly
nginx debug log: