1

Topic: Server not responding after a few hours

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.2
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Ngnix
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello,

I installed iRedMail an Saturday and everything works fine. I can send and receive mails. But after a few hours the server is not responding. Roundcube and iRedAdmin are not reachable. I also cannot log in via ssh on my server. After a restart everything works just fine for like 18 hours.

I have a VPS server so I can't login physically on the machine.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Server not responding after a few hours

How much memory does this iRedMail server have? At least 4GB memory is required.
Is clamav-daemon service running?

3

Re: Server not responding after a few hours

My server has 4 GB ram and the daemon is running.

4

Re: Server not responding after a few hours

SSH doesn't need much ram and should not get closed due to OOM

so, roundcube stops working, iredadmin stops working, and you cannot SSH into it

did you try to use roundcube / SSH from another IP when this happens?

also check the fail2ban logfile if your IP gets listed there

5

Re: Server not responding after a few hours

So today it happend again. Server was running for about 40 hours, and the the alert came, that the server isn't reachable.

I also run a cronjob on the server which shows me the ram usage:

@hourly free -m | mail -s "Test" ******************@gmail.com

This was the last mail

              total        used        free      shared  buff/cache   available
Mem:            3880        2826         330          10         971        1054
Swap:              0           0           0

So it looks, like there is enough ram.

I tried to use roundcube from another IP, it was also not reachable. Even the server isn't pingable.

6

Re: Server not responding after a few hours

Do you run SOGo on this server? Did it use a lot or even most memory?

7

Re: Server not responding after a few hours

No, I just installed iredmail with the usual packages.

8

Re: Server not responding after a few hours

In the output of dmesg was this error:

EBPF_READER[1404]: segfault at 10 ip 00000000009deeb5 sp 00007f6939bfc898 error 4 in ebpf.plugin[401000+5f3000] likely on CPU 1 (core 0, socket 0)

It looks like, netdata is causing this.