openresty / openresty/lua-resty-upload
upload 2MB+ file failed
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 414
- Forks
- 110
- Avg merge
- 2h 43m
- Merged PRs (30d)
- 1
Description
Hi, my version is openresty/1.9.15.1, When I upload 2MB+ size file I got "nginx: lua atpanic: Lua VM crashed, reason: unknown reason" Error,
I could upload 100KB file successfully. Seems some memory configure need changed?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified in the report. Start by reproducing the failure with the stated OpenResty version using files around 2MB and compare it with the successful 100KB upload, then trace the upload parser and its memory behavior. Done means identifying the cause and adding a regression test for large uploads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100