Possible Memmory leak
-
Our Kopano server started to throw bellow error yesterday.
The user vissible error is, that some emails never reach their mailbox till the server is rebooted.When I have just Rebooted the server it uses about 4GB of RAM after a while that increases to >12GB + Swapping. This leads me to the assumption of a memmory leak.
Server USC 4.4-3 errata427Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: ----------------------------------------------------------------------
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: Fatal error detected. Please report all following information.
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: kopano-dagent 8.7.1
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: OS: Debian GNU/Linux 9 (stretch) (Linux 4.9.0-11-amd64 x86_64)
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: Thread name: ZGateway IMAPs
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: Peak RSS: 176840
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: Pid 21185 caught SIGABRT (6), out of memory or unhandled exception, traceback:
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: Backtrace:
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x4a4e0) [0x7fb7a8f474e0]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x32ba6) [0x7fb7a8f2fba6]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x32dca) [0x7fb7a8f2fdca]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x110e0) [0x7fb7a8cf10e0]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f4. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf) [0x7fb7a57f0fff]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f5. /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7fb7a57f242a]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f6. /lib/x86_64-linux-gnu/libc.so.6(+0x70c00) [0x7fb7a582ec00]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f7. /lib/x86_64-linux-gnu/libc.so.6(__libc_fatal+0x22) [0x7fb7a582ec42]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f8. /lib/x86_64-linux-gnu/libc.so.6(__netlink_assert_response+0x95) [0x7fb7a58c3555]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f9. /lib/x86_64-linux-gnu/libc.so.6(+0x104c42) [0x7fb7a58c2c42]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f10. /lib/x86_64-linux-gnu/libc.so.6(getaddrinfo+0x8c9) [0x7fb7a5893ce9]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f11. /usr/lib/libgsoapssl+±kopano-2.8.81.so(+0x31c69) [0x7fb79d1a4c69]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f12. /usr/lib/libgsoapssl+±kopano-2.8.81.so(+0x2c273) [0x7fb79d19f273]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f13. /usr/lib/libgsoapssl+±kopano-2.8.81.so(soap_connect_command+0x12c) [0x7fb79d19f43c]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f14. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xedaad) [0x7fb79d80faad]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f15. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xba9db) [0x7fb79d7dc9db]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f16. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0xbaa69) [0x7fb79d7dca69]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f17. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC9ECUnknown7SuicideEv+0x1b) [0x7fb7a8f3693b]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f18. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC9ECUnknown7ReleaseEv+0xaf) [0x7fb7a8f36f0f]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f19. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0x870a9) [0x7fb79d7a90a9]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f20. /usr/lib/x86_64-linux-gnu/kopano/libkcclient.so(+0x87199) [0x7fb79d7a9199]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f21. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC9ECUnknown7SuicideEv+0x1b) [0x7fb7a8f3693b]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f22. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC9ECUnknown7ReleaseEv+0xaf) [0x7fb7a8f36f0f]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f23. /usr/sbin/kopano-gateway(+0x158d2) [0x55620619b8d2]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f24. /usr/sbin/kopano-gateway(+0x15969) [0x55620619b969]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f25. /usr/sbin/kopano-gateway(+0xcbf2) [0x556206192bf2]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f26. /lib/x86_64-linux-gnu/libpthread.so.0(+0x74a4) [0x7fb7a8ce74a4]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: f27. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7fb7a58a6d0f]
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: Signal errno: Success, signal code: -6
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: Sender pid: 21185, sender uid: 998, si_status: 0
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: Signal value: 0, faulting address: 0x3e6000052c1
Jan 29 11:54:21 ucs-cloud kopano-gateway[21185]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.
Jan 29 11:54:21 ucs-cloud kopano-gateway[1019]: Starting kopano-gateway version 8.7.1 (pid 1019 uid 0) -
Hi @ana-u,
@ana-u said in Possible Memmory leak:
version 8.7.1
this version is already quite old. can you upgrade to the latest version (customers in UCS can add credentials for our download repository from the app settings) and check if the error persists?