supervisor可视化集中化管理平台Cesi搭建部署

 

 

npm install安装慢问题解决   npm install --registry=https://registry.npm.taobao.org

supvervisor安装文档参考 https://www.jianshu.com/p/2008cf9f7ee7

cesi安装参考 https://www.jianshu.com/p/23beead3aca4

 

常见问题处理(踩过的坑)

mysql作为数据源(必须)

修改启动参数 python cesi/run.py  --config-file=/etc/cesi/cesi.conf -p 5021

报错:  AttributeError: 'sqlalchemy.cimmutabledict.immutabledict' has no attribute 'setdefault'    解决: pip install --upgrade 'SQLAlchemy<1.4'

报错: sqlalchemy.exc.TimeoutError: QueuePool of size 10 overflow 10 reached  解决:  修改报错文件的 构造函数中初始化的线程池参数为200

如果仍然报错线程问题, 尝试 如下办法

vim run.py
添加 "pool_size=100"
app.config["SQLALCHEMY_DATABASE_URI", "pool_size=100"] = cesi.database

posted @ 2022-02-11 11:07  李瑞鑫  阅读(380)  评论(0编辑  收藏  举报