crawlab icon indicating copy to clipboard operation
crawlab copied to clipboard

Crawlab Pro task logs are stuck after certain time even if underlying task keeps executing.

Open Voyewodayer opened this issue 1 year ago • 3 comments

Describe the bug Task logs stop updating after certain amount of time even though underlying task keeps executing correctly and docker logs show steady output of them.

To Reproduce Steps to reproduce the behavior:

  1. Run task that executes for long time
  2. Wait for several hours
  3. Task stops outputting logs despite still running correctly without any errors

Expected behavior Task keeps outputting logs for as long as task is being executed.

Screenshots obraz Docker logs keep showing that Crawlab's task-runner writes log lines all the time but after certain time they stop being displayed in Crawlab dashboard's task logs.

Voyewodayer avatar Sep 13 '23 14:09 Voyewodayer

Is there any error in the docker logs?

tikazyq avatar Sep 14 '23 02:09 tikazyq

There are no errors in docker logs for either worker or master node. The only logs are about the task starting and constant output of what is shown on the screenshot in main post until the task ends with log "task finished successfully".

Voyewodayer avatar Sep 14 '23 08:09 Voyewodayer

前端一直显示日志是否可以有个阀值,clear 旧的日志信息

Lxingy avatar Jan 27 '24 07:01 Lxingy