WeKnora icon indicating copy to clipboard operation
WeKnora copied to clipboard

[Question]: Container WeKnora-docreader Error Container WeKnora-postgres Error

Open syx948 opened this issue 1 month ago • 1 comments

问题类别

安装和部署

问题描述

✘ Container WeKnora-docreader Error
✘ Container WeKnora-postgres Error

背景信息

No response

操作系统

ubuntu

其他环境信息

No response

相关日志

1、docker logs -f WeKnora-docreader
-------------------------------------------------------------
OpenBLAS blas_thread_init: pthread_create failed for thread 1 of 64: Operation not permitted
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 2 of 64: Operation not permitted
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 3 of 64: Operation not permitted
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
OpenBLAS blas_thread_init: pthread_create failed for thread 4 of 64: Operation not permitted
OpenBLAS blas_thread_init: ensure that your address space and process count limits are big enough (ulimit -a)
OpenBLAS blas_thread_init: or set a smaller OPENBLAS_NUM_THREADS to fit into what you have available
OpenBLAS blas_thread_init: RLIMIT_NPROC -1 current, -1 max
-------------------------------------------------------------

2、docker logs -f WeKnora-docreader
-------------------------------------------------------------
could not execute command ""/usr/lib/postgresql/17/bin/postgres" -V": Cannot allocate memory
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/usr/lib/postgresql/17/bin/initdb"

已查找的资源

No response

确认事项

  • [x] 我已经搜索了现有的 issues 和文档
  • [x] 我已经提供了足够的信息来帮助理解问题

syx948 avatar Oct 30 '25 06:10 syx948

could not execute command ""/usr/lib/postgresql/17/bin/postgres" -V": Cannot allocate memory

看样子是内存不够,尝试为Docker分配更多内存试试看

lyingbug avatar Oct 31 '25 11:10 lyingbug