openresty / openresty/luajit2

nginx: lua atpanic: Lua VM crashed, reason: not enough memory

Open
#159 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.4k
Forks
252
Avg merge
7d 11h
Merged PRs (30d)
3

Description

Hi Team,

We are using Kong 2.7.1 , and we are getting this error: "nginx: lua atpanic: Lua VM crashed, reason: not enough memory".

Want to know how much memory is allocated to Lua VM and how do we check that.

Kong 2.7.1 uses OpenResty 1.19.9.1

TIA

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by reviewing the LuaJIT and OpenResty memory-allocation behavior used by Kong 2.7.1, then determine how Lua VM memory usage can be measured and whether the reported crash is reproducible. Done means the allocation details and a supported diagnostic path are documented or the failure is narrowed to a specific component.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.