1 (edited by jan.lex 2019-07-17 03:03:22)

Topic: 1-2x weekly not working delivering/sending mails

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Debian 9
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MariaDB
- 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.
====

My problem: 1-2x weekly not working delivering/sending mails.

Not working for me:
restart dovecot
restart sogo
restart nginx
restart postfix
restart iRedAPD

Only solution:
Reboot server

Last problem today (16-7-2019): approx 12:52h

----

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

2

Re: 1-2x weekly not working delivering/sending mails

I don't understand what the issue is. did you get any related error message or bounce message for me for troubleshooting?

3

Re: 1-2x weekly not working delivering/sending mails

ZhangHuangbin wrote:

I don't understand what the issue is. did you get any related error message or bounce message for me for troubleshooting?

I can't identify this problem. We only use ActiveSync (Outlook 2016-2019 and Gmail client for Android).
In mail log and syslog not are error. My logs in attachment.

Maybe this Sogo log:
Jul 16 12:37:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 8 minutes
Jul 16 12:38:02 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 8 minutes
Jul 16 12:38:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 13 minutes
Jul 16 12:38:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 1 minutes
Jul 16 12:38:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 9 minutes
Jul 16 12:39:02 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 9 minutes
Jul 16 12:39:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 1 minutes
Jul 16 12:39:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 14 minutes
Jul 16 12:39:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 2 minutes
Jul 16 12:39:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 10 minutes
Jul 16 12:40:02 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 10 minutes
Jul 16 12:40:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 2 minutes
Jul 16 12:40:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 15 minutes
Jul 16 12:40:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 3 minutes
Jul 16 12:40:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 11 minutes
Jul 16 12:41:02 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 11 minutes
Jul 16 12:41:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 3 minutes
Jul 16 12:41:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 16 minutes
Jul 16 12:41:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 4 minutes
Jul 16 12:41:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 12 minutes
Jul 16 12:42:02 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 12 minutes
Jul 16 12:42:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 4 minutes
Jul 16 12:42:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 17 minutes
Jul 16 12:42:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 5 minutes
Jul 16 12:42:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 13 minutes
Jul 16 12:43:02 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 13 minutes
Jul 16 12:43:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 5 minutes
Jul 16 12:43:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 18 minutes
Jul 16 12:43:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 6 minutes
Jul 16 12:43:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 14 minutes
Jul 16 12:44:02 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 14 minutes
Jul 16 12:44:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 6 minutes
Jul 16 12:44:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 19 minutes
Jul 16 12:44:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 7 minutes
Jul 16 12:44:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 15 minutes
Jul 16 12:45:02 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 15 minutes
Jul 16 12:45:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 7 minutes
Jul 16 12:45:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 20 minutes
Jul 16 12:45:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 8 minutes
Jul 16 12:45:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 16 minutes
Jul 16 12:46:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 8 minutes
Jul 16 12:46:17 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 1 minutes
Jul 16 12:46:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 21 minutes
Jul 16 12:46:54 sogod [966]: [WARN] <0x0x55f949f5c5f0[WOWatchDogChild]> pid 1148 has been hanging in the same request for 9 minutes
Jul 16 12:46:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 17 minutes
Jul 16 12:47:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 9 minutes
Jul 16 12:47:17 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 2 minutes
Jul 16 12:47:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 22 minutes
Jul 16 12:47:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 18 minutes
Jul 16 12:48:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 10 minutes
Jul 16 12:48:17 sogod [966]: [WARN] <0x0x55f949f5c0f0[WOWatchDogChild]> pid 1140 has been hanging in the same request for 3 minutes
Jul 16 12:48:27 sogod [966]: [WARN] <0x0x55f949f5bbf0[WOWatchDogChild]> pid 1137 has been hanging in the same request for 1 minutes
Jul 16 12:48:51 sogod [966]: [WARN] <0x0x55f949f5bf00[WOWatchDogChild]> pid 1139 has been hanging in the same request for 23 minutes
Jul 16 12:48:55 sogod [966]: [WARN] <0x0x55f949f5b890[WOWatchDogChild]> pid 1135 has been hanging in the same request for 19 minutes
Jul 16 12:49:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 11 minutes

4

Re: 1-2x weekly not working delivering/sending mails

jan.lex wrote:

Jul 16 12:49:02 sogod [966]: [WARN] <0x0x55f949f5b9e0[WOWatchDogChild]> pid 1136 has been hanging in the same request for 11 minutes

This is not error. It's normal.
we need log or error message related to your issue, otherwise we cannot help troubleshoot.

5

Re: 1-2x weekly not working delivering/sending mails

Ok. Problem is only SOGO. IMAP is OK.

Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:16 sogod [29006]: <0x0x55a93f09cab0[WOWatchDog]> Terminating with SIGINT or SIGTERM
Jul 26 03:55:17 sogod [9612]: version 4.0.8 (build @shiva2.inverse 201907250203) -- starting
Jul 26 03:55:17 sogod [9612]: vmem size check enabled: shutting down app when vmem > 500 MB. Currently at 207 MB
Jul 26 03:55:17 sogod [9612]: <0x0x55bcefbec9d0[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo':
Jul 26 03:55:17 sogod [9612]: <0x0x55bcefbec9d0[SOGoProductLoader]>   AdministrationUI.SOGo, MailPartViewers.SOGo, Appointments.SOGo, MainUI.SOGo, Contacts.SOGo, MailerUI.SOGo, PreferencesUI.SOGo, CommonUI.SOGo, SchedulerUI.SOGo, ContactsUI.SOGo, ActiveSync.SOGo, Mailer.SOGo
Jul 26 03:55:17 sogod [9612]: All products loaded - current memory usage at 275 MB
Jul 26 03:55:17 sogod [9612]: [WARN] <0x0x55bcefd0faa0[WOWatchDog]> listening socket: attempt 1 failed
Jul 26 03:55:18 sogod [9612]: [WARN] <0x0x55bcefd0faa0[WOWatchDog]> listening socket: attempt 2 failed
Jul 26 03:55:19 sogod [9612]: [WARN] <0x0x55bcefd0faa0[WOWatchDog]> listening socket: attempt 3 failed
Jul 26 03:55:20 sogod [9612]: [WARN] <0x0x55bcefd0faa0[WOWatchDog]> listening socket: attempt 4 failed
Jul 26 03:55:21 sogod [9612]: [WARN] <0x0x55bcefd0faa0[WOWatchDog]> listening socket: attempt 5 failed
Jul 26 03:55:22 sogod [9612]: [ERROR] <0x0x55bcefd0faa0[WOWatchDog]> unable to listen on specified port, check that no other process is already using it

My server have 6Gb RAM.
1. Day: free: 3Gb (Swap: 3Gb free)
3. Day: free: 2Gb (Swap: 3Gb free)
6. Day: free: 0,7Gb (Swap: 3Gb free)
7. Day: free: maybe 0,4Gb (Swap: 3Gb free)
7. Day: auto restart sogo and sogo not working.
7. Day: After auto restart sogo: 1,4 Gb RAM.

Restart sogo not working for me.

30 mailboxes.

Jul 26 08:55:00 sending mail ActiveSync OK.
Jul 26 10:30:00 sending mail ActiveSync not working.
Why Jul 26 03:55:22 log ending sogo?

6

Re: 1-2x weekly not working delivering/sending mails

jan.lex wrote:

Jul 26 03:55:22 sogod [9612]: [ERROR] <0x0x55bcefd0faa0[WOWatchDog]> unable to listen on specified port, check that no other process is already using it

This log means SOGo was not restarted successfully, you have to run "kill" or "pkill" command to kill SOGo processes, then start/restart it again.