[BUG] OpenResty无法启动,[crit] ngx_slab_alloc() failed: no memory
联系方式
No response
1Panel 版本
v1.10.6-lts
问题描述
全新安装1Panel,安装OpenResty却无法正常启动。 系统有足够内存,可以安装和运行其他软件,比如Stirling-PDF可以正常运行和访问。
系统软件版本如下: Linux oracle-linux-8 5.4.17-2136.330.7.1.el8uek.aarch64 aarch64 GNU/Linux 1panel version: v1.10.6-lts mode: stable 1panel/openresty:1.21.4.3-2-1-focal
看论坛中其他人也有一样的问题,可能和aarch64有关? https://bbs.fit2cloud.com/t/topic/4822
重现步骤
无特殊重现步骤,全新安装都会出现,卸载重装也一样。
期待的正确结果
No response
相关日志输出
2024/05/04 17:30:21 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:30:22 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:30:22 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:30:23 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:30:23 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:30:25 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:30:29 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:30:35 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:30:48 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:31:14 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:32:05 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:33:05 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
2024/05/04 17:34:05 [crit] 1#1: ngx_slab_alloc() failed: no memory
nginx: [crit] ngx_slab_alloc() failed: no memory
附加信息
No response
感谢反馈,我们先在本地环境复现一下上述问题。
实际我是用备份来解决的,我安装也出现了这个问题,我在老版本的应用商店里面导出了一个 openresty 的备份,在新版本导入,就可以正常运行了,备份在下面 openresty_20240511164640.tar.gz
@lg10 非常感谢,我导入你这个备份也可以运行
你发现你的镜像是openresty/openresty:1.21.4.1-7-focal,openresty官方的,我改为最新的版本openresty/openresty:1.25.3.1-3-focal同样可用。
看来是1Panel的版本或者配置的问题。