Hello everyone
I work for a small business in Ottawa, Canada, and we’ve been running Moodle for about 6 months to serve as an online “materials home” for our (live) online training programs, which we run on Zoom.
I’m a trainer (Jim) not an IT guy (biggest problem). We can’t find or afford an IT guy (for our web, at least). However, I’ve run Moodle before and never had any issues. I also run two WordPress sites. However my main thing is running training programs. I'm a functional noob, I guess?
Background
I'm running Moodle 3.11.2+ (Build: 20210820) All green checkmarks in the upgrade list. Server architecture Linux 3.10.0-042stab144.1 x86_64 PHP version 7.4.29 (PHP memory limit 256M)
Currently, we use Edwiser Bridge to link the WordPress and Moodle site and automate enrolment. We have 288 users, but most are not active at all. (Most of these people log on for a free one-hour webinar and never log on again.)
At the current moment, I am the only one on the site and most times, according to the online user block, it’s pretty dead. The general usage would be for people to log in, download a PPT (about 3-5 MB), look at some pdfs (under 1MB) and click on a link to attend a live Zoom session. (Note: this is not when the errors appear, more on that in a second).
Problem
Moodle has worked very well until recently when we’ve started getting ‘out of memory’ issues across two of our servers appearing as 500, critical website error, etc. and it has fallen to me to troubleshoot.
In the end, the hosting company we use (a small business itself) is saying that this is an issue caused by running Moodle on a shared server, and it is destabilizing Moodle itself and our 2 WordPress sites. They are saying there is nothing we can do unless we move from shared hosting to a dedicated server with “up to 32GB” of RAM at about 6-7x times the cost. They blame the per minute crons, etc. (Keep in mind when I asked them to install it, they charged us for the installation and said nothing about this at the time.)
From looking at the logs, I don’t see how Moodle could be hogging that many resources when we are talking about a very rare max 5 concurrent users at a time. No errors except from cron (out of memory) and these 400MB core.#### dumps in filling up our HTTP and WordPress directory that make me think something else is going on. The hosting company hasn’t offered any solutions to this except ‘upgrade’.
My questions:
1. Does this sound fishy to you? As I mentioned, I’ve run another Moodle installation on another well known (shared) host (SG) and never had anything like this happen.
2. The hosting solution set this up with a PostgreSQL database and that I do not have access to (they use Plesk). I don’t have any worry about actually getting a copy of the database, but if I migrated to somewhere, would it be possible to have this as an accessible database via CPanel/PHPMyadmin?
3. I used a MariaDB/PHPMyadmin installation previously without any worries. I almost feel like just backing up the courses and user lists and starting fresh—anything I’d be missing?
While I would love to dedicate a lot of time to this, I can’t as this is only part of my job. So I’m open to any suggestions (including DMs of Canadian hosting solutions, if that's allowed on this forum). I'd like to stay with Moodle as I know, like it and it has worked well previously.
Thanks for reading!