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

Cronjobs keep pausing itself #69

Open
maxime-rainville opened this issue Nov 5, 2020 · 5 comments
Open

Cronjobs keep pausing itself #69

maxime-rainville opened this issue Nov 5, 2020 · 5 comments

Comments

@maxime-rainville
Copy link

maxime-rainville commented Nov 5, 2020

I have a test site with 1980 pages. The "Checking for external broken links" keeps pausing itself and I have to manually restart it to complete.

  • On the kitchen sink, run the FTPageMakerTask task to create a lot of pages
  • Create a page with a broken link
  • Schedule the "Checking for external broken links" task

Expected: Task runs in one go without user intervention
Actual: Tasks keeps pausing itself and the user has to resume it.

Notes

  • It appears that the task is creating subtasks as expected, but they appeared to pause. It would be worth confirming that the subtasks don't pause for a ~1min with proceeding on it's own.
  • There's thoughts that it could be related to the CWP Platform. Testing this locally would confirm this.
@brynwhyman
Copy link

@maxime-rainville can you please have another look at this one?

@maxime-rainville
Copy link
Author

I triggered that task again in our test environment. Once again it pauses at 1229 page processed out of 1983.

It's been in that state for 3 days.

@brynwhyman
Copy link

Looks like this could be the culprit? symbiote/silverstripe-queuedjobs#325

@Cheddam
Copy link
Member

Cheddam commented Nov 19, 2020

Queued Jobs 4.6.2 is out, which includes a fix for stalled Queued Tasks, so we should re-test this now.

@emteknetnz
Copy link
Member

Still an issue in CWP 2.8.0-rc1

Using queuedjobs 4.7.0

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

No branches or pull requests

5 participants