You seem to have a problem outside the scope of our support. Our software does not allocate memory on its own right. The problem you are experiencing seems to be with the wrong way CloudLinux addresses disk cache.
Since the introduction of UNIX in the late 1970s the disk cache has never counted against the virtual memory size. In fact, UNIX' mantra is "the RAM is sitting there using up power so let's use it to speed up the disk". As
it's been written over and again "The Linux disk cache is very unobtrusive. It uses spare memory to greatly increase disk access speeds, and without taking any memory away from applications. A fully used store of ram on Linux is efficient hardware use, not a warning sign".
If you read the link above you'll see that the outcome of the first experiment
on normal Linux is that the amount of disk cache memory allocated doesn't matter. When an application requests memory the operating system ditches disk cache in favor of applications. That's also the reason why the operating system does not expose an API for non-privileged (userland) applications to control the disk cache. Keep that last bit in mind.
Not on CloudLinux though. Someone
decided to negate how Linux works by having disk cache count as application memory and not letting the operating system do what it has evolved to do best over 50 years, i.e. free up disk cache aggressively to yield more memory to the applications. Despite this abnormality, it STILL doesn't provide a userland API to control the disk cache.
The lack of a userland API means that userland applications (like PHP itself, on top of which Akeeba Backup, Joomla etc are
scripted) do not have a way to communicate to the system that they do not want so much disk cache.
You should ask your host what is the best way to set an upper limit to the maximum amount of disk cache allocated by CloudLinux. This is what you are paying your host for. Please ask them to fix this problem. It's ultimately and solely in their purview.
What you are paying
us for is support strictly regarding our software. I can give you a workaround strictly concerning our software but it's not a solution (the problem is with the server, not our software) and it's a kludge. We thought that letting you know that the problem is not in our software and you shouldn't try a wrong workaround is more valuable than giving such a wrong workaround.
Anyway, if you insist on deploying a wrong workaround we will provide it for you with the stern warning that it's NOT what a reasonable person who knows at least the basics of how servers work should ever do. Should you choose to follow this workaround you are to relieve us from any liability whatsoever. We DO NOT want you to follow this advice, it's wrong. Here it goes. Instead of having one backup profile create many, let's say thirty, different backup profiles. One of them should be Full Site but have all files and folders excluded. The other 29 will be files only and each one include a portion of your site's contents. Restoring this site requires extracting the 29 Files Only backups first, then extracting and restoring the Full Site backup that only has the database. The backups should run with an adequate time space between them to allow the broken implementation of disk caching in CloudLinux to free up memory.
But, please, do me a favor and DO NOT follow this advice! If we were just to get your money and don't care about you, as you implied, we could have just given you this absolutely
bad workaround and call it a day. Instead, I implore you to be reasonable and ask your host to fix the server issue because that's what you are paying them to do.
Now, here's the thing. I'd much rather prefer that we kept the discussion rational and helped you figure out the situation with your host, especially since you are most likely going to talk to some hapless first level support drone who has never seen the inside of a data center in photos, let alone know how to configure a server. That's what we do with the vast majority of our clients. Couple of tickets later they get to talk to a real engineer at the host and the problem is solved. As you can notice if you re-read this ticket, we always go above and beyond what we are strictly paid to do.
However, as soon as you start yelling "I paid you money" things get legal, liabilities are assessed and we
have to invoke the Terms of Service (TOS), it being the legal agreement between you and our company, one which you agreed to unreservedly and explicitly when subscribing (i.e. before you paid us), to protect us from you. So, I have to regrettably inform you that per the Support Policy section of the Terms of Service your ticket is out of scope. As a result I have to close it without any further reply and, I'm afraid, do the same to any other tickets filed from you about or around the same issue.
Have a good day and good luck with your host!
Nicholas K. Dionysopoulos
Lead Developer and Director
🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!