openresty / openresty/lua-nginx-module

worker process 29320 exited on signal 11

Open
#2,250 1 comment 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

when add init_worker_by_lua_block in http,then worker process crashed。
and error.log has many log like ”[alert] 27998#0: worker process 29322 exited on signal 11“。
config like this:
http {
init_worker_by_lua_block {
ngx.say("hello, lua")
}
}

versions: nginx v1.22.1, lua-nginx-module-v0.10.9

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

Start by reproducing the reported configuration using nginx v1.22.1 and lua-nginx-module v0.10.9, focusing on init_worker_by_lua_block in the http block. Review the resulting error.log entries for the worker signal 11; done means the worker no longer crashes and the intended initialization behavior is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, nginx
Domain
backend
Issue type
Bug
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.