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

Errors when uploading multiple files simultaneously #23

Open mrcatman opened 6 years ago

mrcatman commented 6 years ago

I use nginx-big-upload on my site for mass videos uploading. But when somebody tries to upload 3-5 files simultaneously, the server starts to response with 500 errors in the middle of upload. Is there a way to correct it? Or just resume upload after the error.

pgaertig commented 6 years ago

Please, can you check error log to see what causes 500 errors?

mrcatman commented 6 years ago

I'm sorry that I answered so long, completely forgot about it

That appears in error.log: 2018/05/07 10:34:14 [error] 22119#22119: *172694 [lua] big-upload.lua:41: Socket receive error: client aborted, client: ..., server: localhost, request: "POST /upload HTTP/1.1", host: "...", referrer: "..."