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

archery entered FATAL state, too many start retries too quickly

时间:2023-04-17 11:36:08浏览次数:48  
标签: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

 

archery entered FATAL state, too many start retries too quickly_unix

 

 

 解决办法:

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://blog.51cto.com/u_13912516/6194855

相关文章

  • vue-devtool
    vue-devtool是使用vue必不可少的一个工具,他可以让你在开发vue项目的时候,实时展示页面上的变量。1、下载到github下载:https://github.com/vuejs/devtools可使用git或者直接下载zip包安装依赖,最好使用yarn,因为该项目使用yarn这一步会比较久,需要耐心等待,预计等待10分钟到1个......
  • 【shell】win10的wsl子系统,删除文件报错-bash: /usr/bin/rm: Argument list too long
    1、场景  由于测试需要删除缓存目录相关文件,但是rm-rf./*的时候报错 2、处理方法cd[需要删除的目录]ls|xargs-n10rm-frls参数解释:输出所有的文件名(用空格分割) xargs就是将ls的输出,每10个为一组(以空格为分隔符),作为rm-rf的参数也就是说将所有文件名10......
  • 分玩具的源文件mytool.h
    #include<stdio.h>#include<stdlib.h>#defineSTACK_INT_SIZE10#defineSTACKINCREMENT5#defineOK1#defineERROR0#defineMAXQSIZE51typedefintElemType;typedefintQElemType;/*队列元素类型*///栈的基本操作typedefstruct{ElemType*base;......
  • nvim-dap C++ cpptools
    https://github.com/microsoft/vscode-cpptoolsgccgdblocaldap=require("dap")dap.adapters.cppdbg={id='cppdbg',type='executable',command='c:\\gnu\\tool\\cpptools\\extension\\debugAdapters\......
  • CommunityToolkit.Mvvm系列文章导航
    包 CommunityToolkit.Mvvm (又名MVVM工具包,以前名为 Microsoft.Toolkit.Mvvm)是一个现代、快速且模块化的MVVM库。它是.NET社区工具包的一部分,围绕以下原则构建:平台和运行时独立 - .NETStandard2.0、 .NETStandard2.1 和 .NET6......
  • Tool-GitLab
    Tool-GitLabhttps://about.gitlab.com/GitLab是一个用于仓库管理系统的开源项目,使用Git作为代码管理工具,并在此基础上搭建起来的Web服务。安装方法是参考GitLab在GitHub上的Wiki页面。Gitlab是被广泛使用的基于git的开源代码管理平台,基于RubyonRails构建,主要针对软件......
  • how to create one command line configuration tool with shell language on Linux A
    howtocreateonecommandlineconfigurationtoolwithshelllanguageonLinuxAllInOne如何在Linux上用shell语言创建一个命令行配置工具RaspberryPiconfigurationtool$sudoraspi-config#等价于,直接修改$sudovim/boot/config.txt$DISPLAY#设......
  • android:keytool生成应用签名证书(java 15)
    一,查看是否已安装keytoolkeytool命令的程序位于jdk的安装目录/bin下,1,查看是否有keytool命令已安装?[lhdop@blog~]$ls/usr/local/soft/jdk-17/bin/keytool/usr/local/soft/jdk-17/bin/keytool2,查看帮助:列出可用的命令[lhdop@blog~]$keytool--helpKeyandCert......
  • bluetooth keeps stopping
    前言注:本文只提供参考,进行操作前请一定要备份好个人数据,否则请自行承担风险。请把本文看完后再自行斟酌你需要做什么操作,不要看了半截文章就开跑。我的k40,一年多前刷了残芯twrp和乌堆官改包。然后昨天由于某些原因,我刷了新的安卓13的twrp,然后发现解密分区失败,然后再换安卓11的tw......
  • percona-toolkit工具:使用pt-table-checksum检查MySQL主从库的差异
    环境介绍CentOS7.6MySQL5.7PerconaToolkit3.4.0 下载并安装PerconaToolkit从WEB端下载https://www.percona.com/downloads或者通过wget下载[root]#wgethttps://downloads.percona.com/downloads/percona-toolkit/3.5.2/binary/redhat/7/x86_64/percona-toolkit-3.......