lua-io-nginx-module icon indicating copy to clipboard operation
lua-io-nginx-module copied to clipboard

"Non-Blocking" Lua Disk I/O APIs for OpenResty - Powered by Nginx's Thread Pool

Results 7 lua-io-nginx-module issues
Sort by recently updated
recently updated
newest added

We upgraded to a newer openresty and begun to see segfaults. Valgrind output: ``` ==32455== Invalid read of size 8 ==32455== at 0x20C72D: ngx_thread_pool_handler (ngx_thread_pool.c:387) ==32455== by 0x20A923: ngx_epoll_notify_handler (ngx_epoll_module.c:456)...

Hi! The following error occurs very often: close() failed (9: Bad file descriptor) This is produced at the end of the complex PUT workflow (described below) after main data already...

UPYUN?又在UPYUN实际业务中使用了么?thansk

请求支持 [file:read("n")](https://cloudwu.github.io/lua53doc/manual.html#pdf-file:read) luajit的实现在 [lib_io.c](https://github.com/openresty/luajit2/blob/1951d9a4065cb84738d9077c1a77475cc81b4a6d/src/lib_io.c#L207)

enhancement

Unfortunately my PR (#8) is insufficient to fully solve the memory issues with this module. It helps but it doesnt solve it completely, is still possible for requests to finish...

``` #0 0x00005603b2e4b020 in ngx_http_lua_io_read_all () #1 0x00005603b2e4a3e7 in ngx_http_lua_io_file_do_read () #2 0x00005603b2e49fce in ngx_http_lua_io_prepare_retvals () #3 0x00005603b2e49672 in ngx_http_lua_io_resume () #4 0x00005603b2e49514 in ngx_http_lua_io_content_wev_handler () #5 0x00005603b2e495db in ngx_http_lua_io_thread_event_handler...