polars 导致 gunicorn worker 由于信号 4

问题描述 投票:0回答:0

目前我正在我公司的服务器机器上使用 gunicorn 和 docker 部署一个 dash 应用程序。 这是当前输出

[2023-04-27 10:42:26 +0000] [1] [WARNING] Worker with pid 223 was terminated due to signal 4 [2023-04-27 10:42:26 +0000] [233] [INFO] Booting worker with pid: 233 [2023-04-27 10:42:27 +0000] [1] [WARNING] Worker with pid 225 was terminated due to signal 4 [2023-04-27 10:42:27 +0000] [235] [INFO] Booting worker with pid: 235 [2023-04-27 10:42:27 +0000] [1] [WARNING] Worker with pid 226 was terminated due to signal 4 [2023-04-27 10:42:27 +0000] [236] [INFO] Booting worker with pid: 236 [2023-04-27 10:42:28 +0000] [1] [WARNING] Worker with pid 230 was terminated due to signal 4 [2023-04-27 10:42:28 +0000] [240] [INFO] Booting worker with pid: 240 [2023-04-27 10:42:28 +0000] [1] [WARNING] Worker with pid 232 was terminated due to signal 4 [2023-04-27 10:42:28 +0000] [242] [INFO] Booting worker with pid: 242 [2023-04-27 10:42:29 +0000] [1] [WARNING] Worker with pid 233 was terminated due to signal 4 [2023-04-27 10:42:29 +0000] [243] [INFO] Booting worker with pid: 243 [2023-04-27 10:42:29 +0000] [1] [WARNING] Worker with pid 235 was terminated due to signal 4 [2023-04-27 10:42:29 +0000] [245] [INFO] Booting worker with pid: 245 

我在我的主机上测试了 docker 镜像,它可以工作,但无法将它部署到我公司的服务器机器上。

关于应用程序的更多上下文。该库使用 polars 库,我认为这是导致问题的原因,因为当我用 pandas 替换 polars 时我没有遇到这个问题。但是,我想使用 polars 它要快得多。

任何帮助将不胜感激。

docker dockerfile gunicorn python-polars
© www.soinside.com 2019 - 2024. All rights reserved.