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

skipped: maximum number of running instances reached (1) #10

Closed
QIN2DIM opened this issue Mar 8, 2021 · 0 comments
Closed

skipped: maximum number of running instances reached (1) #10

QIN2DIM opened this issue Mar 8, 2021 · 0 comments
Assignees
Labels
bug Something isn't working fixed bug已经被解决并通过了单元测试

Comments

@QIN2DIM
Copy link
Owner

QIN2DIM commented Mar 8, 2021

该错误源自apscheduler;原因是上一段任务定时启动但未执行完毕时该任务再次被启动。

举个例子

假设定时器设置每隔5分钟启动任务A,在0时刻任务A被启动。5分钟时刻任务A再次被定时器启动,此时若上一段时刻启动的任务A还没执行完,定时器就会抛出这个异常警告。
skkipped_error

常见问题1

config中配置的任务启动的时间间隔太小,超过了理论极限值,任务不可能来得及完全释放,则一定会触发此异常。

常见问题2

任务间隔设置合理,但在任务执行中出现了异常算子的超时问题导致资源无法正常释放,此种情况有小概率引发此异常。

@QIN2DIM QIN2DIM added the bug Something isn't working label Mar 8, 2021
@QIN2DIM QIN2DIM self-assigned this Mar 8, 2021
@QIN2DIM QIN2DIM added the fixed bug已经被解决并通过了单元测试 label Mar 11, 2021
@QIN2DIM QIN2DIM closed this as completed Mar 27, 2021
@QIN2DIM QIN2DIM moved this from In progress to Done in V2RSS云彩姬待办任务清单 Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed bug已经被解决并通过了单元测试
Development

No branches or pull requests

1 participant