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

tool_excimer in a production environment causes dmlwriteexceptions in the automated backup process #334

Open
asmraap opened this issue Mar 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@asmraap
Copy link

asmraap commented Mar 25, 2024

Our automated backup process that runs every night had a lot of backups (10%) that ended with status 800 and a dmlwwriteexception in the backup logs. Because this happened in our production environment I wasn't able to debug the problems here. I changed the innodb buffer size, as this had become too small for our database, but after this change the errors still continued in our backup.
I decided to uninstall the tool_excimer plugin and the next day all the backups were finished good again without the errors with the dmlwriteexceptions. The plugin settings were the default settings as they were after installation.

@brendanheywood
Copy link
Contributor

Thanks, can you shed any light on the 800? That is a non standard http code. If you are able to get this failing on a staging server and provide a stack trace that would be great

@asmraap
Copy link
Author

asmraap commented Mar 25, 2024

Hi Brendan, it's the status of the backup process, which should end with 1000
Unfortunately I can't debug this in production, and in our other environments I can't reproduce this problem

@asmraap
Copy link
Author

asmraap commented Mar 26, 2024

In the task logging I see also less failures last week since I uninstalled the tool_excimer plugin, it seems that running tasks in Moodle cron together with the plugin causes database (locking?) problems.

@brendanheywood brendanheywood added the bug Something isn't working label Apr 8, 2024
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