mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Merge pull request #1521 from PathToLife/master
fix ngx_slab_alloc() failed: no memory for arm64 linux rpi pagesize 16k
This commit is contained in:
commit
7b297ced63
2 changed files with 10 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
lua_shared_dict worker_lock 16k;
|
||||
lua_shared_dict worker_lock {{ WORKERLOCK_MEMORY_SIZE }};
|
||||
|
||||
init_worker_by_lua_block {
|
||||
-- Libs
|
||||
|
|
|
|||
|
|
@ -117,6 +117,15 @@
|
|||
"regex": "^(?! )(( *[^ ]+)(?!.*\\2))*$",
|
||||
"type": "text"
|
||||
},
|
||||
"WORKERLOCK_MEMORY_SIZE": {
|
||||
"context": "global",
|
||||
"default": "48k",
|
||||
"help": "Size of lua_shared_dict for initialization workers",
|
||||
"id": "workerlock-memory-size",
|
||||
"label": "Initialization Workerlock memory size",
|
||||
"regex": "^\\d+[kKmMgG]?$",
|
||||
"type": "text"
|
||||
},
|
||||
"DATASTORE_MEMORY_SIZE": {
|
||||
"context": "global",
|
||||
"default": "64m",
|
||||
|
|
|
|||
Loading…
Reference in a new issue