Gateway memory leak and crashing
taurix last edited by
I’m running a Kopano 126.96.36.199 community edition server on Ubuntu 20.04 which is intensively used with IMAP clients. It worked until last week, we started having crashes and the system went out of memory.
I traced it back to the gateway, at some random points it starts taking more and more memory until the system crashes. Webmail keeps working and restarting the gateway ‘saves’ the server.
I did some debugging but I can’t find any error that consistently shows up, today, I did see this in the logs (on debug):
2022-10-19T09:38:23.844029: [kopano-gateway|T34311] [error ] HrProcessCommand threw KMAPIError: network error. (errno=No such file or directory)
I tried using a socket instead of http but it makes no difference.
Any idea what I can check now?