Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

超时设定 #58

Closed
1979139113 opened this issue Jan 7, 2023 · 3 comments
Closed

超时设定 #58

1979139113 opened this issue Jan 7, 2023 · 3 comments

Comments

@1979139113
Copy link

1979139113 commented Jan 7, 2023

您好,如果单个模块运行时间超过1小时,就会有如下提示,直接结束进程

[2023-01-07 12:04:49 +0800] [15] [CRITICAL] WORKER TIMEOUT (pid:31)
[2023-01-07 12:05:19 +0800] [31] [WARNING] Worker graceful timeout (pid:31)
[2023-01-07 12:05:20 +0800] [31] [INFO] Worker exiting (pid: 31)

请问下在哪里可以调整一下这个超时时间呢?

@1979139113
Copy link
Author

1979139113 commented Jan 7, 2023

run.py中的-t参数好像不是指超时时间,我设置为1后,程序能正常运行70秒,不会超时终止

图片

@1979139113 1979139113 reopened this Jan 7, 2023
@1979139113
Copy link
Author

搭建方式采用docker环境搭建的

日志内容

2023-01-07 17:29:14.316 对应模块启动,但是很快系统就提示超时
图片

异常信息为端口被占用(非web端口)
图片

后续日志存在大量的如下启动界面,以及之前图中的端口被占用问题和很多的[CRITICAL] WORKER TIMEOUT

 ##@&$||;..!||||||||||;;||||||||%$@##@
 #@$%||||!`    .;|||||;. `:!||||||$@@@
 @$%||||||||!`               `!||||$@&
 &$||||||||||!.              :|||||%$$
 $%||||||||||`              `!||||||$$
 $%|||||||||;.                :|||||$$
 $%||||||||!.                  .;|||$$
 &$||||||||;      .!|:.          `!%$$
 @$%||||||||;. .:|||!'            .!&&
 #@$|||||||||||||||!`             '%@@
 ##@$%|||||||||||!`              :%@#@
 ###@&$||||||||!`               !&###@
 #####@&&%||||:.             `%&#####@
 ########&&&%:   W5 SOAR  '$&@#######@  v0.6.2
=============================================
* Web : https://w5.io
* Github : https://github.com/w5hub/w5

至此整个剧本中断执行,无法正常继续

@1979139113
Copy link
Author

剧本提前结束的异常信息

图片

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant