-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Ajax cron problems #27574
Comments
Also see locking issues where locks cannot be cleant up properly because ajax cron doesn't run often enough: #20380 Ideal would be to remove it completely but then users who deployed their ownClouds on shared hosting environments would not be able to setup system cron. Need an alternative solution... |
or maybe even better to send an email
is calling https://example.cloud/cron.php not effectively doing that? Other ideas:
|
As far as I remember ajax cron already has a max number of jobs to run, it doesn't run the whole backlog. Might still run into timeouts though. |
Admin has 3 cron options. AJAX, WebCron, and Server Cron. Would Selecting a different cron solve the file locked issues (along with the backlog issues)? |
|
About stray locked files bug (#20380, which was closed in favor of this one)... If stray locks are old, and cron is overloaded and failing to clear them, then a possible solution is:
Maybe this would lead the server to eventually fix itself, should a few locks go astray... |
@lhartmann this is actually a good idea. So the SQL queries inside |
Hey, this issue has been closed because the label |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
Hey, this issue has been closed because the label (This is an automated comment from GitMate.io.) |
In general stray locks is not the only problem. Anything that requires some task to run in the background will be affected and that could affect any app that uses this mechanism. |
This issue has been automatically closed. |
Ajax cron doesn't run enough.
There are too many background jobs.
Adding some suggestions from other tickets:
from #27567 (comment)
The text was updated successfully, but these errors were encountered: