首页 > 其他分享 >archery entered FATAL state, too many start retries too quickly

archery entered FATAL state, too many start retries too quickly

时间:2023-04-10 22:11:42浏览次数:49  
标签:INFO archery 21 04 10 retries too 2023

#################################

一、配置文件:supervisord.conf

(venv) [root@wy3-db245 archery]# cat supervisord.conf
[unix_http_server]
file=supervisor.sock

[supervisord]
logfile=logs/supervisord.log
nodaemon=false

[supervisorctl]
serverurl=unix://supervisor.sock

[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface

[program:archery]
command=gunicorn -w 4 -b 127.0.0.1:8888 --timeout 600 archery.wsgi:application
autorestart=true
stopasgroup=true
killasgroup=true
redirect_stderr=true

[program:qcluster]
command=python manage.py qcluster
autorestart=true
stopasgroup=true
killasgroup=true
redirect_stderr=true
(venv) [root@wy3-db245 archery]#

 

二、archery启动脚本:startup.sh

(venv) [root@wy3-db245 archery]# cat startup.sh 
#!/bin/bash

# 收集所有的静态文件到STATIC_ROOT
python3 manage.py collectstatic -v0 --noinput

# 启动服务
supervisord -c supervisord.conf
 

三、supervisor日志文件:

(venv) [root@wy3-db245 archery]# cat logs/supervisord.log 
2023-04-10 20:51:58,771 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2023-04-10 20:51:58,771 WARN For [program:archery], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2023-04-10 20:51:58,771 WARN For [program:qcluster], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2023-04-10 20:51:59,080 INFO RPC interface 'supervisor' initialized
2023-04-10 20:51:59,080 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2023-04-10 20:51:59,085 INFO daemonizing the supervisord process
2023-04-10 20:51:59,087 INFO supervisord started with pid 15203
2023-04-10 20:52:00,092 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 20:52:00,096 INFO spawned: 'qcluster' with pid 15205
2023-04-10 20:52:01,101 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 20:52:01,101 INFO success: qcluster entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-04-10 20:52:03,571 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 20:52:06,577 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 20:52:06,577 INFO gave up: archery entered FATAL state, too many start retries too quickly
2023-04-10 20:55:57,540 INFO waiting for qcluster to stop
2023-04-10 20:55:57,796 INFO stopped: qcluster (exit status 0)
2023-04-10 21:24:48,003 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2023-04-10 21:24:48,003 WARN For [program:archery], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2023-04-10 21:24:48,003 WARN For [program:qcluster], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2023-04-10 21:24:48,313 INFO RPC interface 'supervisor' initialized
2023-04-10 21:24:48,313 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2023-04-10 21:24:48,318 INFO daemonizing the supervisord process
2023-04-10 21:24:48,320 INFO supervisord started with pid 17365
2023-04-10 21:24:49,325 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 21:24:49,329 INFO spawned: 'qcluster' with pid 17367
2023-04-10 21:24:50,333 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 21:24:50,334 INFO success: qcluster entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-04-10 21:24:52,722 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 21:24:55,727 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 21:24:55,727 INFO gave up: archery entered FATAL state, too many start retries too quickly
2023-04-10 21:39:11,739 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2023-04-10 21:39:11,739 WARN For [program:archery], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2023-04-10 21:39:11,739 WARN For [program:qcluster], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored
2023-04-10 21:39:12,049 INFO RPC interface 'supervisor' initialized
2023-04-10 21:39:12,049 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2023-04-10 21:39:12,054 INFO daemonizing the supervisord process
2023-04-10 21:39:12,056 INFO supervisord started with pid 18342
2023-04-10 21:39:13,060 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 21:39:13,064 INFO spawned: 'qcluster' with pid 18344
2023-04-10 21:39:14,069 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 21:39:14,069 INFO success: qcluster entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-04-10 21:39:16,073 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 21:39:19,689 INFO spawnerr: unknown error making dispatchers for 'archery': EISDIR
2023-04-10 21:39:19,689 INFO gave up: archery entered FATAL state, too many start retries too quickly

 

 

 

 解决办法:

1.放弃supervisor这个玩意

python manage.py qcluster


gunicorn -w 4 -b 127.0.0.1:8888 --timeout 600 archery.wsgi:application

2.正确利用supervisor

暂时没时间去了解

 

 

 

 

 

 

 

 

 

 

 

 

#######################################

标签:INFO,archery,21,04,10,retries,too,2023
From: https://www.cnblogs.com/igoodful/p/17304495.html

相关文章

  • 禁用 DevTools 源映射功能, 隐藏 "DevTools failed to load SourceMap" 报错
    警告DevToolsfailedtoloadsourcemap:Couldnotloadcontentforchrome-extension://cofdbpoegempjloogbagkncekinflcnj/build/content.js.map:系统错误:net::ERR_BLOCKED_BY_CLIENT这个问题可能是因为浏览器的版本不同,所以设置的位置也会略有不同。以下是几个常见浏......
  • TestTool版本信息
    软件说明:1、写给硬件加快射频产测调试用的,不一定对每个产品都无Bug,使用前请自行验证。2、Bug及新功能需求可以提交到[email protected],或微信号edeveloper联系更新。最新版本软件功能说明:1、这是一个串口小工具,具备串口常用功能!2、支持iTest射频综测仪产测射频Loss校准,快捷键......
  • 性能测量工具-DevTools/PageSpeed/LightHouse
    前端的性能优化有诸多有迹可循的理论和方法,比如Yahoo!性能军规(BestPracticesforSpeedingUpYourWebSite)、GooglePageSpeedInsightsRules(https://developers.google.com/speed/docs/insights/rules)。万变不离其宗,诸如此类的性能优化准则都可以对应到 BrowserProcessing......
  • CommunityToolkit.Mvvm8.1 viewmodel使用-旧式写法(2)
     本系列文章导航https://www.cnblogs.com/aierong/p/17300066.htmlhttps://github.com/aierong/WpfDemo(自我Demo地址)  0.说明CommunityToolkit.Mvvm8.1有一个重大更新的功能:源生成器功能,它极大简化我们的mvvm代码但是本篇先总结一下原写法,下篇再总结源生成器......
  • 开源.NetCore通用工具库Xmtool使用连载 - 加密解密篇
    【Github源码】《上一篇》详细介绍了Xmtool工具库中的正则表达式类库,今天我们继续为大家介绍其中的加密解密类库。在开发过程中我们经常会遇到需要对数据进行加密和解密的需求,例如密码的加密、接口传输数据的加密等;当前类库中只封装了Base64、AES两种加密解密方法,因为C#提供了几......
  • wpf CommunityToolkit.Mvvm8.1 MVVM工具包安装引用指南
    CommunityToolkit.Mvvm包(又名MVVM工具包,以前名为Microsoft.Toolkit.Mvvm)是一个现代、快速且模块化的MVVM库。它支持:.NETStandard2.0、.NETStandard2.1和.NET6(UIFramework不支持) 文档地址:https://learn.microsoft.com/zh-cn/dotnet/communitytoolkit/mvvm/......
  • DevEco Device Tool 3.1 Release新版本发布,新增资源管理器、SFTP、HDC
     DevEcoDeviceTool是面向智能设备开发者提供的一站式集成开发环境,支持代码编辑、编译、烧录和调试、性能监测等功能,支持C/C++语言,以插件的形式部署在VisualStudioCode(简称VSCode)上,支持Windows1064位或Ubuntu18.04-21.10版本。本次为大家带来的是DevEcoDeviceTool3.1......
  • OS-Linux-Tool-可视化比较与合并工具Meld
    OS-Linux-Tool-可视化比较与合并工具Meld在Linux系统上有时会需要进行文件比较与合并,Meld能提供相关功能。http://meldmerge.org/http://meldmerge.org/help/MeldVisualdiffandmergetoolMeldhelpsyoucomparefiles,directories,andversioncontrolledprojects.......
  • Keil ERROR C249: 'DATA': SEGMENT TOO LARGE
    1、网上都说存储器模式改为大型即可,但是我尝试后发现有点问题。 2、经过很多操作,最后解决了(1)unsignedcharcodeNumM[480],添加code关键字,但是这不是问题关键;(2)本来声明了两个数组,一个是unsignedcharcodeNumM[256],一个是unsignedcharHanzi[14][16],最初采用把Hanzi数组也......
  • 【Azure 应用服务】使用Docker Compose创建App Service遇见"Linux Version is too lo
    问题描述使用DockerCompose方式合并多个镜像(Images)文件,然后部署到AppService中,结果失败。报错LinuxVersion太长,不能超过4000个字符。错误消息:{"code":"DeploymentFailed","message":"Atleastoneresourcedeploymentoperationfailed.Pleaselistdeploymentoper......