[halo-dev/halo]docker-compose启动pg版本,halo容器无法运行

2023-12-15 288 views
0
是什么版本出现了此问题?

2.0

使用的什么数据库?

PostgreSQL

使用的哪种方式部署?

Docker Compose

在线站点地址

https://test.alialili.cn

发生了什么?

image image image image image image

阿里云1C2G服务器启动docker-compose版本,halo容器无法启动,看信息是内存溢出了,实际内存空闲很多,且配置后swap。 这块如何修复

相关日志输出
[0.122s][warning][os,thread] Failed to start thread "VM Thread" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
[0.013s][warning][os,thread] Failed to start thread "VM Thread" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
[0.015s][warning][os,thread] Failed to start thread "VM Thread" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
[0.014s][warning][os,thread] Failed to start thread "VM Thread" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.

回答

5

Docker version 20.10.9, build c2ea9bc

7

image 全都升级至最新版了,且重启了docker服务,还是相同报错

9

如果你尝试在系统升级 Docker 但提示已经是最新的版本,那么可能是你服务器 Linux 发行版的软件源导致的。推荐通过官方文档来安装 Docker:https://docs.docker.com/get-docker