It would be better to increase the RAM, not swap. If swap is frequently used, it's an indication that RAM is too small.
The / partition should never get close to full, because a full / partition will lead to outages of services such as MariaDB. Make sure you have enough disk space at all times. The rule of thumb is to never load anything in an it system more than 70%.