pgaertig / nginx-big-upload

Resumable and reliable file uploads of any size. Nginx extension written in Lua.
https://github.com/pgaertig/nginx-big-upload
Other
192 stars 49 forks source link

crash with backend enabled #11

Closed stepin closed 7 years ago

stepin commented 10 years ago

I'm use Ubuntu Server 12.04 LTS with Lua 5.1. No request to backend happend. Works well in the file only mode. Is there any ideas how to debug this problem? Only string in the nginx error log:

worker process xxx exited on signal 11
pgaertig commented 10 years ago

Could you provide your configuration config? You should use LuaJIT 2.0 at least, check the installation manual.

stepin commented 10 years ago

I have more errors in the file only scenario:

2014/03/03 14:26:02 [error] 24335#0: *1298258 lua tcp socket read timed out, client: xxx, server: xxx, request: "PUT /xxx HTTP/1.1", host: "xxx"
2014/03/03 14:26:02 [error] 24335#0: *1298258 [lua] big-upload.lua:41: Socket receive error: timeout, client: xxx, server: xxx, request: "PUT /xxx HTTP/1.1", host: "xxx"

Looks like it's request_processor.lua:37 (looks like incorrect to return 500 on read socket timeout).

So I'll try to update Lua to fix them all :).

pgaertig commented 7 years ago

Please reopen this issue if you have some improvement suggestions or the issue is still reproducible.