So I'm using Ubuntu 20.04 server and Moodle 3.9. I'm not sure where to look for what the problem is so this is all the info I have for now. When ever a student tries to submit an assignment it take at least 15-20 mins for the page to load, once the student presses the "save" button. The upload it self is quite fast. So I don't think it's a file size issue or an upload limit issue.
So it's that after pressing the save button it just hangs there for like 20 mins. Any idea what would cause this?
I already tried running it on the default boost theme, but the issue persists. I've also tried all the recommend php.ini configs for big upload sizes and it still persists. Please help.
Thanks.