1

Topic: SOGo issues, automatic restart

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

I have issues where my email server will move to a crawl after so many days.  The memory is filling up as this happens.  It always seems fine after I restart the SOGo service.  The only reason I'm using SOGo is for my iPhone users to connect via the Exchange Server protocol.  Is there something to be tweaked with SOGo to prevent this?  If not, is there a way I can schedule a restart once a week just to keep it clear?

----

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

2

Re: SOGo issues, automatic restart

There is a script for this:

/tools/kill_high_cpu_sogo_process.sh

You can create a cronjob who runs every hour or so to maintain a clean sogo

3

Re: SOGo issues, automatic restart

Cthulhu wrote:

There is a script for this:

/tools/kill_high_cpu_sogo_process.sh

You can create a cronjob who runs every hour or so to maintain a clean sogo

So I'm not good on creating cronjobs.  Would you be willing to show a sample of what that would look like as far as the syntax?

Also, per the filename, this seem to be a known issue with cpu usage.  I do not notice that as much as a memory issue.  Will this address that as well then?