Hello, I have a server running SOGo 5.8.0 (Ubuntu 22.04.1) that is realy slow, I'm seeing that some processes are getting stuck in the same request:
# tail -f /var/log/sogo/sogo.log|grep hanging Feb 07 10:28:17 sogod [853676]: [WARN] <0x0x555e931e4df0[WOWatchDogChild]> pid 853771 has been hanging in the same request for 1 minutes Feb 07 10:28:25 sogod [853676]: [WARN] <0x0x555e931e5820[WOWatchDogChild]> pid 853775 has been hanging in the same request for 1 minutes Feb 07 10:28:27 sogod [853676]: [WARN] <0x0x555e931f51b0[WOWatchDogChild]> pid 853777 has been hanging in the same request for 1 minutes Feb 07 10:28:40 sogod [853676]: [WARN] <0x0x555e931e4790[WOWatchDogChild]> pid 853774 has been hanging in the same request for 2 minutes If I check the SOGo log, the latest log that I get from specific PID is: Feb 07 10:30:50 sogod [853679]: <0x0x555e932cade0[NGImap4Client]> TLS started successfully. So, I suppose that the problem is between SOGo and our dovecot/imap service. But I can't see any related dovecot log. If I set the WOWatchDogRequestTimeout to 10, those stuck processes gets killied after 10 minutes, but the problem persists. And this is causing the CPU of the server to overload. My WOWorkersCount is 100, and my SxVMemLimit is 512. I have 2818 users in this server, but not everybuddy is using SOGo. I tried enabling ImapDebugEnabled, but the last log line I receive from the stuck pid is "TLS started successfully.", and I don't get any information about what is hanging the process. Any idea what can I do to determine what is hanging those processes. Thank you!, Jose David Bravo
