目前,我正在公司的服务器上使用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库,我相信这是造成问题的原因,因为我没有面对这个问题时,我取代polars与Pandas。不过,我想用极地它是快得多。
任何帮助将不胜感激。
1条答案
按热度按时间roejwanj1#
你能试试
polars-lts-cpu
吗?信号4似乎是由非法指令引起的。这可能意味着默认二进制文件是为服务器上不可用的目标CPU编译的。polars-lts-cpu
是用更保守的目标特征编译的二进制文件。