Hi Mailcow Community,
I have a dedicated server running Mailcow with the following specs:
Ryzen 5 3600
CPU: 12 Cores
RAM: 64GB
OS: Ubuntu (running only Mailcow)
Email Accounts: 50,000+
Issue:
Whenever I perform database-related actions in Mailcow, I experience huge wait times due to MySQL queries. However, when I check my server stats (docker stats and htop), I see that MySQL is running but only utilizing one core instead of spreading the load across multiple cores and using very minimal ram.
I want to increase MySQL’s resource usage (especially CPU and RAM) so that queries execute faster and my Mailcow instance runs efficiently.
Questions:
Is it possible to make MySQL use multiple cores and upto 32GB ram in Mailcow’s Docker setup?
What configurations can I change (e.g., in my.cnf or Mailcow settings) to optimize performance?
Are there any Mailcow-specific limitations that prevent MySQL from using more system resources?
If possible, please provide a beginner-friendly explanation on how to make MySQL utilize more CPU/RAM efficiently.
I’ve been searching for a solution for over a week but haven’t found anything concrete. I’d greatly appreciate any guidance or experience shared on this topic.
I have stopped all unnecessary containers like ACME, Netfilter, watchdog etc to improve performance but now I’m unable to find further solutions.
Thanks in advance for your help!