Question: So far, you may have noticed how much memory needed for running MariaDB services ( as the free command shows in the practicing part )

So far, you may have noticed how much memory needed for running MariaDB
services (as the free command shows in the practicing part) is way larger than 5MB or 5,242,880
bytes (which is the memory limit we set for the lowMem group in step 5 and 6 in the practicing
part), however, the MariaDB processes were still executed successfully. In addition, when we set
the memory limit down to 20,000 bytes (in step 1) and 2) in this part), the OOM was triggered and
some processes seem to be killed, the MariaDB processes were still executed successfully. Do you
have any theory to explain why the MariaDB processes were executed successfully regardless of
whether the OOM was triggered? (Hints: Which process(es) were killed by the OOM when the
OOM was triggered? Are these processes the MariaDB processes? Did the command cgexec -g
memory:lowMem systemctl start mariadb truly add memory restriction on the mariadb
processes? If not, which process was restricted by the command?)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!