LinuxBabe Community

[Performance] Mail Server Ubuntu Server

Hello I have a mail server hosted above Ubuntu

1 vCPU
1GB / 25GB Disk

And the mailserver has:

-PostFix
-IredAdmin
-SoGo
-Roundcube
-Netdata web stats viewer

  • And all ubuntu packages to not be marked as SPAM mail

Every time I send a single mail the CPU hits 100% and it takes like 2min and 30 seconds to get the mail delivered, is that normal? Should I buy a better server or I just made something bad that is eating all my performance?

I am not too used to work with self hosted mail servers, thanks in advance, LinuxBabe guides are the best.

Greeting

Hello @tiz

I think it might be due to the 1GB of memory

if you’re running Ubuntu 18 and above, you can follow up the logs of postfix for example just like this

journalctl -f _SYSTEM_UNIT=postfix.service

Also you can open another Terminal tap & run the top command then press c [ To show the full path for the running command ] Then Filter with the most process that has a heavy load on your CPU by pressing the letter P [ Capital P ]

You can also check this link which provides you with the System Requirements For Running IRedMail

https://docs.iredmail.org/iredmail-easy.getting.start.html

1 Like

You need at least 2GB RAM for iRedMail to work properly. For better performance, upgrade to 4GB RAM.

1 Like

Got it, thanks. With that I just meet iredadmin-easy and seems really cool.

Probabbly cause on the server I almost have 1GB and like 30% are already used by the system and other tools.