openresty / openresty/lua-nginx-module

OpenResty LUA cache location

Open
#830 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
11.8k
Forks
2.1k
Avg merge
6h 1m
Merged PRs (30d)
6

Description

I accidentally removed a lua-file from my Linux server. Unfortunately the folder in question has fallen outside of my backup routine and as such, I have no backup at all.

OpenResty is still running and functional with the cached LUA as we speak.

Does OpenResty cache the compiled lua file somewhere on the filesystem too, or can I make it dump it from memory? If not, I have a few hours of work ahead of me recreating the file :(

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

The issue names no files, tests, or entry points. Start by investigating how OpenResty handles compiled Lua after the source file is removed, then determine whether a filesystem cache or memory-dump mechanism exists. Done means establishing whether recovery is possible and, if not, defining the requested recovery capability clearly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.