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

【Bug问题】: worker 重启 #312

Open
WarlockFish opened this issue Dec 26, 2024 · 3 comments
Open

【Bug问题】: worker 重启 #312

WarlockFish opened this issue Dec 26, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@WarlockFish
Copy link

WarlockFish commented Dec 26, 2024

docker镜像版本

2.3.1

MusicTagWeb 版本

V2

bug 描述

worker 服务总是重启
我是从2.1.9 升级到2.3.1版本 ,docker 版本

系统日志(可填)

supervisorctl status
beat                             RUNNING   pid 357, uptime 0:00:02
gunicorn                         RUNNING   pid 41, uptime 0:04:34
nginx                            RUNNING   pid 8, uptime 0:04:54
redis                            RUNNING   pid 9, uptime 0:04:54
worker                           STARTING
xiaoai                           RUNNING   pid 13, uptime 0:04:54

supervisord.log

2024-12-26 19:29:15,034 INFO success: beat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-26 19:29:15,035 INFO exited: worker (terminated by SIGKILL; not expected)
2024-12-26 19:29:15,037 INFO spawned: 'worker' with pid 444
2024-12-26 19:29:16,739 INFO success: worker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-26 19:29:16,740 INFO exited: beat (terminated by SIGKILL; not expected)
2024-12-26 19:29:16,763 INFO spawned: 'beat' with pid 446
2024-12-26 19:29:17,826 INFO success: beat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-26 19:29:17,882 INFO exited: worker (terminated by SIGKILL; not expected)
2024-12-26 19:29:18,663 INFO spawned: 'worker' with pid 449
2024-12-26 19:29:18,664 INFO reaped unknown pid 448 (terminated by SIGPIPE)
2024-12-26 19:29:19,941 INFO success: worker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-26 19:29:20,973 INFO exited: beat (terminated by SIGKILL; not expected)
2024-12-26 19:29:20,979 INFO spawned: 'beat' with pid 452
2024-12-26 19:29:21,942 INFO exited: worker (terminated by SIGKILL; not expected)
2024-12-26 19:29:22,543 INFO spawned: 'worker' with pid 454
2024-12-26 19:29:22,543 INFO success: beat entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

celeryworker_err.log

/usr/local/lib/python3.9/site-packages/celery/platforms.py:833: SecurityWarning: You're running the worker with superuser privileges: this is
absolutely not recommended!

Please specify a different user using the --uid option.

User information: uid=0 euid=0 gid=0 egid=0

  warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(
/usr/local/lib/python3.9/site-packages/celery/platforms.py:833: SecurityWarning: You're running the worker with superuser privileges: this is
absolutely not recommended!

Please specify a different user using the --uid option.

User information: uid=0 euid=0 gid=0 egid=0

  warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(
/usr/local/lib/python3.9/site-packages/celery/platforms.py:833: SecurityWarning: You're running the worker with superuser privileges: this is
absolutely not recommended!

Please specify a different user using the --uid option.

User information: uid=0 euid=0 gid=0 egid=0

  warnings.warn(SecurityWarning(ROOT_DISCOURAGED.format(
@WarlockFish WarlockFish added the bug Something isn't working label Dec 26, 2024
@xhongc
Copy link
Owner

xhongc commented Dec 27, 2024

进容器里查看日志内容 /app/log 下

@WarlockFish
Copy link
Author

进容器里查看日志内容 /app/log 下

需要看哪个日志

@xhongc
Copy link
Owner

xhongc commented Dec 27, 2024

worker 和 beat 的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants