Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Kopano-server crashes

    Kopano Groupware Core
    9
    37
    4916
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Sniks6
      Sniks6 last edited by Sniks6

      Hi @ all,

      I installed a the community version on a debian 9 system (VM with 8GB RAM an 4 Cores).
      Everything looked great.

      Now I wanted to migrate medium and big IMAP accounts to the Kopano installation using “kopano-migration-imap”.
      Doing this Kopano continously uses more an more RAM. I didn’t pay too much attention to this matter till the kopano-server service crashed serverlay times while migrate the IMAP accounts.

      Here are four sniplets from the log:

      Sep  1 12:45:59 kopano kopano-server[24344]: Fatal error detected. Please report all following information.
      Sep  1 12:45:59 kopano kopano-server[24344]: Application kopano-server version: 8.6.81
      Sep  1 12:45:59 kopano kopano-server[24344]: OS: Linux, release: 4.9.0-8-amd64, version: #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21), hardware: x86_64
      Sep  1 12:45:59 kopano kopano-server[24344]: Thread name: z-s: 127.0.0.1
      Sep  1 12:45:59 kopano kopano-server[24344]: Peak RSS: 3270004
      Sep  1 12:45:59 kopano kopano-server[24344]: Pid 24344 caught SIGSEGV (11), traceback:
      Sep  1 12:45:59 kopano kopano-server[24344]: Backtrace:
      Sep  1 12:45:59 kopano kopano-server[24344]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x472c0) [0x7f94f48db2c0]
      Sep  1 12:45:59 kopano kopano-server[24344]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x362ed) [0x7f94f48ca2ed]
      Sep  1 12:45:59 kopano kopano-server[24344]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1bd) [0x7f94f48ca5cd]
      Sep  1 12:45:59 kopano kopano-server[24344]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0) [0x7f94ef3c00c0]
      Sep  1 12:45:59 kopano kopano-server[24344]: #4. /usr/lib/libgsoapssl++-kopano-2.8.62.so(soap_QName2s+0x274) [0x7f94f3f13034]
      Sep  1 12:45:59 kopano kopano-server[24344]: #5. /usr/lib/x86_64-linux-gnu/libkcsoap.so.0(_Z24soap_out_SOAP_ENV__FaultP4soapPKciPK15SOAP_ENV__FaultS2_+0x33) [0x7f94f41f1073]
      Sep  1 12:45:59 kopano kopano-server[24344]: #6. /usr/lib/x86_64-linux-gnu/libkcsoap.so.0(_Z24soap_put_SOAP_ENV__FaultP4soapPK15SOAP_ENV__FaultPKcS5_+0x28) [0x7f94f41f1258]
      Sep  1 12:45:59 kopano kopano-server[24344]: #7. /usr/lib/libgsoapssl++-kopano-2.8.62.so(soap_send_fault+0x1e2) [0x7f94f3f1e8b2]
      Sep  1 12:45:59 kopano kopano-server[24344]: #8. /usr/sbin/kopano-server(+0x11af0) [0x557a70b49af0]
      Sep  1 12:45:59 kopano kopano-server[24344]: #9. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x3929c) [0x7f94f48cd29c]
      Sep  1 12:45:59 kopano kopano-server[24344]: #10. /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494) [0x7f94ef3b6494]
      Sep  1 12:45:59 kopano kopano-server[24344]: #11. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f94ee85bacf]
      Sep  1 12:45:59 kopano kopano-server[24344]: Signal errno: Success, signal code: 1
      Sep  1 12:45:59 kopano kopano-server[24344]: Sender pid: 15, sender uid: 0, si_status: -432842400
      Sep  1 12:45:59 kopano kopano-server[24344]: Signal value: -432842400, faulting address: 0xf
      
      .
      .
      .
      
      Sep  1 15:30:36 kopano kopano-server[196583]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/5/17/47375.gz"
      Sep  1 15:30:36 kopano kopano-server[196583]: SerializeObject failed with error code 0x80000028 for object 100131
      Sep  1 15:36:59 kopano kopano-server[196583]: ----------------------------------------------------------------------
      Sep  1 15:36:59 kopano kopano-server[196583]: Fatal error detected. Please report all following information.
      Sep  1 15:36:59 kopano kopano-server[196583]: Application kopano-server version: 8.6.81
      Sep  1 15:36:59 kopano kopano-server[196583]: OS: Linux, release: 4.9.0-8-amd64, version: #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21), hardware: x86_64
      Sep  1 15:36:59 kopano kopano-server[196583]: Thread name: ECThreadPool
      Sep  1 15:36:59 kopano kopano-server[196583]: Peak RSS: 3444136
      Sep  1 15:36:59 kopano kopano-server[196583]: Pid 196583 caught SIGABRT (6), out of memory or unhandled exception, traceback:
      Sep  1 15:36:59 kopano kopano-server[196583]: Backtrace:
      Sep  1 15:36:59 kopano kopano-server[196583]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x472c0) [0x7f81652db2c0]
      Sep  1 15:36:59 kopano kopano-server[196583]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x362ed) [0x7f81652ca2ed]
      Sep  1 15:36:59 kopano kopano-server[196583]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1bd) [0x7f81652ca5cd]
      Sep  1 15:36:59 kopano kopano-server[196583]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0) [0x7f815fdc00c0]
      Sep  1 15:36:59 kopano kopano-server[196583]: #4. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf) [0x7f815f1a5fff]
      Sep  1 15:36:59 kopano kopano-server[196583]: #5. /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f815f1a742a]
      Sep  1 15:36:59 kopano kopano-server[196583]: #6. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x15d) [0x7f815fabe0ad]
      Sep  1 15:36:59 kopano kopano-server[196583]: #7. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f066) [0x7f815fabc066]
      Sep  1 15:36:59 kopano kopano-server[196583]: #8. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f0b1) [0x7f815fabc0b1]
      Sep  1 15:36:59 kopano kopano-server[196583]: #9. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f2c9) [0x7f815fabc2c9]
      Sep  1 15:36:59 kopano kopano-server[196583]: #10. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x37ef2) [0x7f8164ed1ef2]
      Sep  1 15:36:59 kopano kopano-server[196583]: #11. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x5320f) [0x7f8164eed20f]
      Sep  1 15:36:59 kopano kopano-server[196583]: #12. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x55eee) [0x7f8164eefeee]
      Sep  1 15:36:59 kopano kopano-server[196583]: #13. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x1242d7) [0x7f8164fbe2d7]
      Sep  1 15:36:59 kopano kopano-server[196583]: #14. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x12751c) [0x7f8164fc151c]
      Sep  1 15:36:59 kopano kopano-server[196583]: #15. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x188f9b) [0x7f8165022f9b]
      Sep  1 15:36:59 kopano kopano-server[196583]: #16. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC14ECWaitableTask7executeEv+0x84) [0x7f81652ccc04]
      Sep  1 15:36:59 kopano kopano-server[196583]: #17. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x3929c) [0x7f81652cd29c]
      Sep  1 15:36:59 kopano kopano-server[196583]: #18. /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494) [0x7f815fdb6494]
      Sep  1 15:36:59 kopano kopano-server[196583]: #19. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f815f25bacf]
      Sep  1 15:36:59 kopano kopano-server[196583]: Signal errno: Erfolg, signal code: -6
      Sep  1 15:36:59 kopano kopano-server[196583]: Sender pid: 196583, sender uid: 999, si_status: 0
      Sep  1 15:36:59 kopano kopano-server[196583]: Signal value: 0, faulting address: 0x3e70002ffe7
      Sep  1 15:36:59 kopano kopano-server[196583]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.
      .
      .
      .
      .
      .
      Sep  1 22:32:05 kopano kopano-server[46091]: Shutting down
      Sep  1 22:32:05 kopano kopano-server[46091]: ----------------------------------------------------------------------
      Sep  1 22:32:05 kopano kopano-server[46091]: Fatal error detected. Please report all following information.
      Sep  1 22:32:05 kopano kopano-server[46091]: Application kopano-server version: 8.6.81
      Sep  1 22:32:05 kopano kopano-server[46091]: OS: Linux, release: 4.9.0-8-amd64, version: #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21), hardware: x86_64
      Sep  1 22:32:05 kopano kopano-server[46091]: Thread name: z-s:
      Sep  1 22:32:05 kopano kopano-server[46091]: Peak RSS: 4851904
      Sep  1 22:32:05 kopano kopano-server[46091]: Pid 46091 caught SIGSEGV (11), traceback:
      Sep  1 22:32:05 kopano kopano-server[46091]: Backtrace:
      Sep  1 22:32:05 kopano kopano-server[46091]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x472c0) [0x7f4e115602c0]
      Sep  1 22:32:05 kopano kopano-server[46091]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x362ed) [0x7f4e1154f2ed]
      Sep  1 22:32:05 kopano kopano-server[46091]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1bd) [0x7f4e1154f5cd]
      Sep  1 22:32:05 kopano kopano-server[46091]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0) [0x7f4e0c0450c0]
      Sep  1 22:32:05 kopano kopano-server[46091]: Signal errno: Erfolg, signal code: 1
      Sep  1 22:32:05 kopano kopano-server[46091]: Sender pid: 0, sender uid: 0, si_status: 1077958408
      Sep  1 22:32:05 kopano kopano-server[46091]: Signal value: 1077958408, faulting address: (nil)
      Sep  1 22:32:05 kopano kopano-server[46091]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.
      Sep  1 22:32:05 kopano kopano-server[90248]: Starting kopano-server version 8.6.81 (pid 90248 uid 0)
      Sep  1 22:32:05 kopano kopano-server[90248]: Coredumps will not be generated: kopano-server requires the fs.suid_dumpable sysctl to contain the value 2, not 0. See kopano-coredump(5) for details.
      Sep  1 22:32:06 kopano kopano-spooler[1545]: Table reload requested, breaking server connection
      Sep  1 22:32:06 kopano kopano-spooler[1545]: Server connection lost. Reconnecting in 3 seconds...
      
      .
      .
      .
      .
      .
      Sep  2 05:56:27 kopano kopano-server[49727]: ----------------------------------------------------------------------
      Sep  2 05:56:27 kopano kopano-server[49727]: Fatal error detected. Please report all following information.
      Sep  2 05:56:27 kopano kopano-server[49727]: Application kopano-server version: 8.6.81
      Sep  2 05:56:27 kopano kopano-server[49727]: OS: Linux, release: 4.9.0-8-amd64, version: #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21), hardware: x86_64
      Sep  2 05:56:28 kopano kopano-server[49727]: Thread name: z-s: 127.0.0.1
      Sep  2 05:56:28 kopano kopano-server[49727]: Peak RSS: 7216232
      Sep  2 05:56:28 kopano kopano-server[49727]: Pid 49727 caught SIGSEGV (11), traceback:
      Sep  2 05:56:28 kopano kopano-server[49727]: Backtrace:
      Sep  2 05:56:28 kopano kopano-server[49727]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x472c0) [0x7f510a3f62c0]
      Sep  2 05:56:28 kopano kopano-server[49727]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x362ed) [0x7f510a3e52ed]
      Sep  2 05:56:28 kopano kopano-server[49727]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1bd) [0x7f510a3e55cd]
      Sep  2 05:56:28 kopano kopano-server[49727]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0) [0x7f5104edb0c0]
      Sep  2 05:56:28 kopano kopano-server[49727]: #4. /usr/lib/libgsoapssl++-kopano-2.8.62.so(soap_QName2s+0x274) [0x7f5109a2e034]
      Sep  2 05:56:28 kopano kopano-server[49727]: #5. /usr/lib/x86_64-linux-gnu/libkcsoap.so.0(_Z24soap_out_SOAP_ENV__FaultP4soapPKciPK15SOAP_ENV__FaultS2_+0x33) [0x7f5109d0c073]
      Sep  2 05:56:28 kopano kopano-server[49727]: #6. /usr/lib/x86_64-linux-gnu/libkcsoap.so.0(_Z24soap_put_SOAP_ENV__FaultP4soapPK15SOAP_ENV__FaultPKcS5_+0x28) [0x7f5109d0c258]
      Sep  2 05:56:28 kopano kopano-server[49727]: #7. /usr/lib/libgsoapssl++-kopano-2.8.62.so(soap_send_fault+0x1e2) [0x7f5109a398b2]
      Sep  2 05:56:28 kopano kopano-server[49727]: #8. /usr/sbin/kopano-server(+0x11af0) [0x563d41e94af0]
      Sep  2 05:56:28 kopano kopano-server[49727]: #9. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x3929c) [0x7f510a3e829c]
      Sep  2 05:56:28 kopano kopano-server[49727]: #10. /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494) [0x7f5104ed1494]
      Sep  2 05:56:28 kopano kopano-server[49727]: #11. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f5104376acf]
      Sep  2 05:56:28 kopano kopano-server[49727]: Signal errno: Erfolg, signal code: 1
      Sep  2 05:56:28 kopano kopano-server[49727]: Sender pid: 15, sender uid: 0, si_status: -78710432
      Sep  2 05:56:28 kopano kopano-server[49727]: Signal value: -78710432, faulting address: 0xf
      Sep  2 05:56:28 kopano kopano-server[49727]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.
      Sep  2 05:56:29 kopano kopano-gateway[8140]: Connection error.
      

      Everytime the kopano-server service crashed I could simply restart the service and the migration tool. So the migration continued.

      Do you have any hints on this behaviour?

      Thanks in advance.

      Regards, Alex

      1 Reply Last reply Reply Quote 0
      • marcus.bauch
        marcus.bauch last edited by marcus.bauch

        Hej.

        Do you have “some” gateway logs? …and, maybe mysql/maria logs?

        Sniks6 1 Reply Last reply Reply Quote 0
        • Sniks6
          Sniks6 @marcus.bauch last edited by Sniks6

          @marcus-bauch

          Hi Marcus,

          thank you for your message.

          The gateway log says nothing at the moment because meanwhile the migration is done.
          Actually the server is running. We are accessing the system via the webapp and z-push.

          But the kopano-server still keeps using more and more memory. After the ram is fully used, the server continues filling up the swap partition. The last time (15 minutes ago) the server service did not crash, but it showed out of memory errors. After restarting the server those errors where gone.

          Sep  5 22:50:40 kopano fetchmail[11253]: 479 Nachrichten (479 gesehene) für XXX (371384024 Bytes).
          Sep  5 22:51:10 kopano kopano-server[23535]: gzread: out of memory (-4)
          Sep  5 22:51:10 kopano kopano-server[23535]: ECFileAttachment::LoadAttachmentInstance(SOAP): Error while gzreading attachment data from "/var/lib/kopano/attachments/4/17/187974.gz"
          Sep  5 22:51:19 kopano kopano-server[23535]: gzread: out of memory (-4)
          Sep  5 22:51:19 kopano kopano-server[23535]: ECFileAttachment::LoadAttachmentInstance(SOAP): Error while gzreading attachment data from "/var/lib/kopano/attachments/6/17/187976.gz"
          Sep  5 22:51:41 kopano fetchmail[11253]: 702 Nachrichten (702 gesehene) für XXX.
          Sep  5 22:51:42 kopano fetchmail[11253]: 452 Nachrichten (452 gesehene) für XXX.
          Sep  5 22:51:43 kopano fetchmail[11253]: 479 Nachrichten (479 gesehene) für XXX.
          Sep  5 22:51:52 kopano kopano-server[23535]: Shutting down
          Sep  5 22:52:31 kopano kopano-server[23535]: Server shutdown complete.
          Sep  5 22:52:31 kopano kopano-spooler[1545]: Unable to get outgoing queue count: network error (80040115)
          Sep  5 22:52:31 kopano kopano-spooler[1545]: ProcessQueue: ProcessAllEntries failed: network error (80040115)
          Sep  5 22:52:31 kopano kopano-spooler[1545]: Server connection lost. Reconnecting in 3 seconds...
          Sep  5 22:52:34 kopano kopano-server[9671]: Starting kopano-server version 8.6.81 (pid 9671 uid 0)
          

          I’m attaching three htop screenshots to show the memory usage over time:

          alt text

          alt text

          alt text

          After restarting the server-service everything works fine.

          Is there a way that I can prevent kopano-server to use more and more memory? Or is it a Debian 9 problem?

          I am happy for any help. Thank yout very much in advance.

          Regards, Alex

          1 Reply Last reply Reply Quote 0
          • Sniks6
            Sniks6 last edited by Sniks6

            Here is another log from this morning with logging set to level 5.
            The server-process ran for about 8 hours in the night. :-(

            
            Sep  6 07:00:04 kopano kopano-server[40928]: Start scheduled softdelete clean up
            Sep  6 07:00:13 kopano kopano-server[40928]: Softdelete done: removed 0 stores, 0 folders, and 0 messages
            Sep  6 07:00:41 kopano fetchmail[50474]: 628 Nachrichten (628 gesehene) für xxx@zzz.com bei xxx@zzz.com (34086504 Bytes).
            Sep  6 07:00:41 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für yyy@zzz.com bei yyy@zzz.com (112881353 Bytes).
            Sep  6 07:00:42 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für zzz@zzz.com bei zzz@zzz.com (371418440 Bytes).
            Sep  6 07:01:45 kopano fetchmail[50474]: 630 Nachrichten (628 gesehene) für xxx@zzz.com bei xxx@zzz.com (34198128 Bytes).
            Sep  6 07:01:45 kopano postfix/master[21805]: warning: master_spawn: fork: Cannot allocate memory -- throttling
            Sep  6 07:02:45 kopano postfix/master[21805]: warning: master_spawn: fork: Cannot allocate memory -- throttling
            Sep  6 07:03:45 kopano postfix/master[21805]: warning: master_spawn: fork: Cannot allocate memory -- throttling
            Sep  6 07:04:46 kopano postfix/master[21805]: warning: master_spawn: fork: Cannot allocate memory -- throttling
            Sep  6 07:05:46 kopano postfix/master[21805]: warning: master_spawn: fork: Cannot allocate memory -- throttling
            Sep  6 07:06:46 kopano postfix/smtpd[75355]: connect from localhost[::1]
            Sep  6 07:06:46 kopano postfix/smtpd[75355]: lost connection after CONNECT from localhost[::1]
            Sep  6 07:06:46 kopano postfix/smtpd[75355]: disconnect from localhost[::1] commands=0/0
            Sep  6 07:06:46 kopano postfix/smtpd[75355]: connect from localhost[::1]
            Sep  6 07:06:46 kopano postfix/smtpd[75355]: E90212600CD: client=localhost[::1]
            Sep  6 07:06:46 kopano postfix/cleanup[75381]: E90212600CD: message-id=<NM62D0F5E8701CF6708VPPROD1MID4@vvv.com>
            Sep  6 07:06:47 kopano postfix/qmgr[21808]: E90212600CD: from=<vvv@vvv.com>, size=51945, nrcpt=1 (queue active)
            Sep  6 07:06:47 kopano fetchmail[50474]: Nachricht xxx@zzz.com@mail.zzz.com:629 von 630 wird gelesen (51604 Bytes) nicht gelöscht
            Sep  6 07:06:47 kopano postfix/smtpd[75355]: disconnect from localhost[::1] helo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
            Sep  6 07:06:47 kopano fetchmail[50474]: Abfragestatus=2 (SOCKET)
            Sep  6 07:06:47 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für yyy@zzz.com bei yyy@zzz.com (112881353 Bytes).
            Sep  6 07:06:48 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für zzz@zzz.com bei zzz@zzz.com (371418440 Bytes).
            Sep  6 07:06:50 kopano postfix/lmtp[75390]: E90212600CD: to=<xxx@zzz.com>, relay=127.0.0.1[127.0.0.1]:2003, delay=3.5, delays=0.28/0.04/0.39/2.8, dsn=2.1.5, status=sent (250 2.1.5 xxx@zzz.com Ok)
            Sep  6 07:06:50 kopano postfix/qmgr[21808]: E90212600CD: removed
            Sep  6 07:07:49 kopano fetchmail[50474]: 631 Nachrichten (629 gesehene) für xxx@zzz.com bei xxx@zzz.com (34211957 Bytes).
            Sep  6 07:07:49 kopano postfix/smtpd[75374]: connect from localhost[::1]
            Sep  6 07:07:49 kopano postfix/smtpd[75374]: CCE432600CD: client=localhost[::1]
            Sep  6 07:07:49 kopano postfix/cleanup[75381]: CCE432600CD: message-id=<1536210100-data_sendout_5b8d1b1bd192e_42567845345AB@vvv.fr>
            Sep  6 07:07:49 kopano fetchmail[50474]: Nachricht xxx@zzz.com@mail.zzz.com:630 von 631 wird gelesen (60020 Bytes) nicht gelöscht
            Sep  6 07:07:49 kopano postfix/qmgr[21808]: CCE432600CD: from=<bnc-156-data_sendout_5b8d1b1bd192e_42-1132@vvv.fr>, size=60313, nrcpt=1 (queue active)
            Sep  6 07:07:49 kopano postfix/smtpd[75374]: E91B22600FE: client=localhost[::1]
            Sep  6 07:07:50 kopano postfix/cleanup[75381]: E91B22600FE: message-id=<b26hsk7bfvwgehaubfp4vby9v90k34.18702358.9211@vvv.com>
            Sep  6 07:07:50 kopano postfix/qmgr[21808]: E91B22600FE: from=<bo-b26hsk7bfvwgehaubfp4vby9v90k34@vvv.com>, size=14127, nrcpt=1 (queue active)
            Sep  6 07:07:50 kopano fetchmail[50474]: Nachricht xxx@zzz.com@mail.zzz.com:631 von 631 wird gelesen (13829 Bytes) nicht gelöscht
            Sep  6 07:07:50 kopano postfix/smtpd[75374]: disconnect from localhost[::1] ehlo=1 mail=2 rcpt=2 data=2 quit=1 commands=8
            Sep  6 07:07:50 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für yyy@zzz.com bei yyy@zzz.com (112881353 Bytes).
            Sep  6 07:07:51 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für zzz@zzz.com bei zzz@zzz.com (371418440 Bytes).
            Sep  6 07:07:54 kopano postfix/lmtp[75390]: CCE432600CD: to=<xxx@zzz.com>, relay=127.0.0.1[127.0.0.1]:2003, delay=4.1, delays=0.1/0.01/0.95/3, dsn=2.1.5, status=sent (250 2.1.5 xxx@zzz.com Ok)
            Sep  6 07:07:54 kopano postfix/qmgr[21808]: CCE432600CD: removed
            Sep  6 07:07:54 kopano postfix/lmtp[77467]: E91B22600FE: to=<xxx@zzz.com>, relay=127.0.0.1[127.0.0.1]:2003, delay=4, delays=0.16/0.51/0.25/3.1, dsn=2.1.5, status=sent (250 2.1.5 xxx@zzz.com Ok)
            Sep  6 07:07:54 kopano postfix/qmgr[21808]: E91B22600FE: removed
            Sep  6 07:08:48 kopano kopano-server[40928]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/2/3/51632.gz"
            Sep  6 07:08:48 kopano kopano-server[40928]: SerializeObject failed with error code 0x80000028 for object 111027
            Sep  6 07:08:51 kopano fetchmail[50474]: 631 Nachrichten (631 gesehene) für xxx@zzz.com bei xxx@zzz.com (34211957 Bytes).
            Sep  6 07:08:52 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für yyy@zzz.com bei yyy@zzz.com (112881353 Bytes).
            Sep  6 07:08:52 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für zzz@zzz.com bei zzz@zzz.com (371418440 Bytes).
            Sep  6 07:09:53 kopano fetchmail[50474]: 631 Nachrichten (631 gesehene) für xxx@zzz.com bei xxx@zzz.com (34211957 Bytes).
            Sep  6 07:09:53 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für yyy@zzz.com bei yyy@zzz.com (112881353 Bytes).
            Sep  6 07:09:54 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für zzz@zzz.com bei zzz@zzz.com (371418440 Bytes).
            Sep  6 07:10:29 kopano kopano-server[40928]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/7/17/52977.gz"
            Sep  6 07:10:29 kopano kopano-server[40928]: SerializeObject failed with error code 0x80000028 for object 117422
            Sep  6 07:10:55 kopano fetchmail[50474]: 631 Nachrichten (631 gesehene) für xxx@zzz.com bei xxx@zzz.com (34211957 Bytes).
            Sep  6 07:10:55 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für yyy@zzz.com bei yyy@zzz.com (112881353 Bytes).
            Sep  6 07:10:56 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für zzz@zzz.com bei zzz@zzz.com (371418440 Bytes).
            Sep  6 07:11:12 kopano kopano-server[40928]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/2/6/54662.gz"
            Sep  6 07:11:12 kopano kopano-server[40928]: SerializeObject failed with error code 0x80000028 for object 123908
            Sep  6 07:11:28 kopano kopano-server[40928]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/4/12/55124.gz"
            Sep  6 07:11:28 kopano kopano-server[40928]: SerializeObject failed with error code 0x80000028 for object 124561
            Sep  6 07:11:42 kopano kopano-server[40928]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/7/13/55537.gz"
            Sep  6 07:11:42 kopano kopano-server[40928]: SerializeObject failed with error code 0x80000028 for object 125332
            Sep  6 07:11:56 kopano fetchmail[50474]: 631 Nachrichten (631 gesehene) für xxx@zzz.com bei xxx@zzz.com (34211957 Bytes).
            Sep  6 07:11:57 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für yyy@zzz.com bei yyy@zzz.com (112881353 Bytes).
            Sep  6 07:11:57 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für zzz@zzz.com bei zzz@zzz.com (371418440 Bytes).
            Sep  6 07:12:23 kopano kopano-server[40928]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/5/17/55775.gz"
            Sep  6 07:12:23 kopano kopano-server[40928]: SerializeObject failed with error code 0x80000028 for object 125927
            Sep  6 07:12:58 kopano fetchmail[50474]: 631 Nachrichten (631 gesehene) für xxx@zzz.com bei xxx@zzz.com (34211957 Bytes).
            Sep  6 07:12:58 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für yyy@zzz.com bei yyy@zzz.com (112881353 Bytes).
            Sep  6 07:12:59 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für zzz@zzz.com bei zzz@zzz.com (371418440 Bytes).
            Sep  6 07:13:02 kopano kopano-server[40928]: Start syncs table clean up
            Sep  6 07:13:02 kopano kopano-server[40928]: syncs table clean up done: removed syncs: 0
            Sep  6 07:14:00 kopano fetchmail[50474]: 632 Nachrichten (631 gesehene) für xxx@zzz.com bei xxx@zzz.com (34223357 Bytes).
            Sep  6 07:14:01 kopano postfix/smtpd[84074]: connect from localhost[::1]
            Sep  6 07:14:02 kopano postfix/smtpd[84074]: 685F52600CD: client=localhost[::1]
            Sep  6 07:14:02 kopano kopano-server[40928]: Start syncedmessages table clean up
            Sep  6 07:14:02 kopano postfix/cleanup[84078]: 685F52600CD: message-id=<1536210779-data_sendout_5b8ea179c60ca_190567845345AB@vvv.fr>
            Sep  6 07:14:02 kopano postfix/qmgr[21808]: 685F52600CD: from=<bnc-48-data_sendout_5b8ea179c60ca_190-485@vvv.fr>, size=11690, nrcpt=1 (queue active)
            Sep  6 07:14:02 kopano fetchmail[50474]: Nachricht xxx@zzz.com@mail.zzz.com:632 von 632 wird gelesen (11400 Bytes) nicht gelöscht
            Sep  6 07:14:02 kopano postfix/smtpd[84074]: disconnect from localhost[::1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
            Sep  6 07:14:02 kopano kopano-dagent[1325]: Cannnot create LMTP process.
            Sep  6 07:14:02 kopano postfix/lmtp[84080]: 685F52600CD: to=<xxx@zzz.com>, relay=127.0.0.1[127.0.0.1]:2003, delay=0.4, delays=0.22/0.11/0.07/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
            Sep  6 07:14:03 kopano kopano-server[40928]: syncedmessages table clean up done, 0 entries removed
            Sep  6 07:14:03 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für XXX.
            Sep  6 07:14:05 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für XXX.
            Sep  6 07:15:05 kopano fetchmail[50474]: 632 Nachrichten (632 gesehene) für XXX.
            Sep  6 07:15:06 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für XXX.
            Sep  6 07:15:07 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für XXX.
            Sep  6 07:15:47 kopano kopano-server[40928]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/2/11/56312.gz"
            Sep  6 07:15:47 kopano kopano-server[40928]: SerializeObject failed with error code 0x80000028 for object 127522
            Sep  6 07:15:50 kopano kopano-server[40928]: ----------------------------------------------------------------------
            Sep  6 07:15:50 kopano kopano-server[40928]: Fatal error detected. Please report all following information.
            Sep  6 07:15:50 kopano kopano-server[40928]: Application kopano-server version: 8.6.81
            Sep  6 07:15:50 kopano kopano-server[40928]: OS: Linux, release: 4.9.0-8-amd64, version: #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21), hardware: x86_64
            Sep  6 07:15:50 kopano kopano-server[40928]: Thread name: ECThreadPool
            Sep  6 07:15:50 kopano kopano-server[40928]: Peak RSS: 7359292
            Sep  6 07:15:50 kopano kopano-server[40928]: Pid 40928 caught SIGABRT (6), out of memory or unhandled exception, traceback:
            Sep  6 07:15:50 kopano kopano-server[40928]: Backtrace:
            Sep  6 07:15:50 kopano kopano-server[40928]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x472c0) [0x7f0b568ad2c0]
            Sep  6 07:15:50 kopano kopano-server[40928]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x362ed) [0x7f0b5689c2ed]
            Sep  6 07:15:50 kopano kopano-server[40928]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1bd) [0x7f0b5689c5cd]
            Sep  6 07:15:50 kopano kopano-server[40928]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0) [0x7f0b513920c0]
            Sep  6 07:15:50 kopano kopano-server[40928]: #4. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf) [0x7f0b50777fff]
            Sep  6 07:15:50 kopano kopano-server[40928]: #5. /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f0b5077942a]
            Sep  6 07:15:50 kopano kopano-server[40928]: #6. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x15d) [0x7f0b510900ad]
            Sep  6 07:15:50 kopano kopano-server[40928]: #7. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f066) [0x7f0b5108e066]
            Sep  6 07:15:50 kopano kopano-server[40928]: #8. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f0b1) [0x7f0b5108e0b1]
            Sep  6 07:15:50 kopano kopano-server[40928]: #9. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f2c9) [0x7f0b5108e2c9]
            Sep  6 07:15:50 kopano kopano-server[40928]: #10. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x37ef2) [0x7f0b564a3ef2]
            Sep  6 07:15:50 kopano kopano-server[40928]: #11. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x5320f) [0x7f0b564bf20f]
            Sep  6 07:15:50 kopano kopano-server[40928]: #12. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x55eee) [0x7f0b564c1eee]
            Sep  6 07:15:50 kopano kopano-server[40928]: #13. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x1242d7) [0x7f0b565902d7]
            Sep  6 07:15:50 kopano kopano-server[40928]: #14. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x12751c) [0x7f0b5659351c]
            Sep  6 07:15:50 kopano kopano-server[40928]: #15. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x188f9b) [0x7f0b565f4f9b]
            Sep  6 07:15:50 kopano kopano-server[40928]: #16. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC14ECWaitableTask7executeEv+0x84) [0x7f0b5689ec04]
            Sep  6 07:15:50 kopano kopano-server[40928]: #17. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x3929c) [0x7f0b5689f29c]
            Sep  6 07:15:50 kopano kopano-server[40928]: #18. /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494) [0x7f0b51388494]
            Sep  6 07:15:50 kopano kopano-server[40928]: #19. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f0b5082dacf]
            Sep  6 07:15:50 kopano kopano-server[40928]: Signal errno: Erfolg, signal code: -6
            Sep  6 07:15:50 kopano kopano-server[40928]: Sender pid: 40928, sender uid: 999, si_status: 0
            Sep  6 07:15:50 kopano kopano-server[40928]: Signal value: 0, faulting address: 0x3e700009fe0
            Sep  6 07:15:50 kopano kopano-server[40928]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.
            Sep  6 07:16:07 kopano fetchmail[50474]: 632 Nachrichten (632 gesehene) für XXX.
            Sep  6 07:16:08 kopano fetchmail[50474]: 414 Nachrichten (414 gesehene) für XXX.
            Sep  6 07:16:08 kopano fetchmail[50474]: 480 Nachrichten (480 gesehene) für XXX.
            Sep  6 07:16:28 kopano kopano-spooler[1545]: Unable to get outgoing queue count: network error (80040115)
            Sep  6 07:16:28 kopano kopano-spooler[1545]: ProcessQueue: ProcessAllEntries failed: network error (80040115)
            Sep  6 07:16:28 kopano kopano-spooler[1545]: Server connection lost. Reconnecting in 3 seconds...
            Sep  6 07:16:31 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:31 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:31 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:34 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:34 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:34 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:37 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:37 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:37 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:40 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:40 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:40 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:43 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:43 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:43 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:46 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:46 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:46 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:49 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:49 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:49 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:52 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:52 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:52 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:55 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:55 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:55 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)
            Sep  6 07:16:58 kopano kopano-spooler[1545]: gsoap connect: ()
            Sep  6 07:16:58 kopano kopano-spooler[1545]: HrLogon server "default:" user "SYSTEM": network error
            Sep  6 07:16:58 kopano kopano-spooler[1545]: Unable to open admin session: network error (80040115)```
            1 Reply Last reply Reply Quote 0
            • marcus.bauch
              marcus.bauch last edited by

              @Sniks6

              …stupid question. Is your harddisk full? What kind of disk/partitions layout do you use (sizes)?
              …next. Did you tune you’re mysql/mariadb (Kopano server.cfg)? There are so many sql-requests

              1 Reply Last reply Reply Quote 0
              • Sniks6
                Sniks6 last edited by

                @marcus-bauch

                no harddisk isn’t full:

                root@kopano:~# df -h
                Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
                udev            3,9G       0  3,9G    0% /dev
                tmpfs           786M     81M  706M   11% /run
                /dev/sda2       114G     95G   14G   88% /
                tmpfs           3,9G     52K  3,9G    1% /dev/shm
                tmpfs           5,0M       0  5,0M    0% /run/lock
                tmpfs           3,9G       0  3,9G    0% /sys/fs/cgroup
                /dev/sda1       511M    132K  511M    1% /boot/efi
                tmpfs           786M       0  786M    0% /run/user/0
                

                No I didn’t tweak the MariaDB especially for Kopano. I used the standard settings that came with the Debian 9 installation. The same with the server.cfg.

                Where do you see those sql-requests? Do you mean the mysqld processes in the htop screenshots?

                Actually after the first backup of the whole kopano DB (mysqldump). It looks better:

                alt text

                The memory usage still increases, but much much slower.

                How is things in you installation? How much memory is used on your systems? Don’t you have so much mysqld processes?

                Thank you for your answer.

                Regards,

                Alex

                tjoen 1 Reply Last reply Reply Quote 0
                • tjoen
                  tjoen @Sniks6 last edited by

                  @sniks6 said

                  Don’t you have so much mysqld processes?

                  Only one mysqld and one kopano-server. Currently only waiting.
                  Better question is why so many kopano-servers?

                  1 Reply Last reply Reply Quote 0
                  • marcus.bauch
                    marcus.bauch last edited by marcus.bauch

                    …soorry :-D

                    What i want to say is “how many sql-processes are you running”. But you’ve answered the question. You are using default values.

                    Is it possible to post your server.cfg and the mysql.cnf (maybe /etc/mysql/mariadb.conf.d/50-server.cnf)?

                    Another “thing” i see, your server ist running in german language. Did you try to run it with locale “none” or an english locale?
                    For locale “none” it is mandatory (in my seight) you setup the Kopano-Defaults in /etc/default/kopano with UTF-8 (german) locale. This file, maybe, is not there in a new installation.

                    How is things in you installation?

                    I’ve running many server out there with different setup’s (Metal an VMs). All running Stretch without problems.

                    How much memory is used on your systems?

                    The most of them running with only 4Gigs, other (more users) with 8 to 16Gigs.
                    But, i allways move WebApp or Gateway to a different machine. With VMs this is often the same Hardware, but a own VM.

                    Don’t you have so much mysqld processes?

                    Yes and no. If eg. search-server is running a reindexing-process all, kopano-server and mysql memory and CPU-usage, are growing up, but went down to normal values if the job is done.

                    What kind of virtualisation are you using?

                    1 Reply Last reply Reply Quote 0
                    • Sniks6
                      Sniks6 last edited by Sniks6

                      Thanks four your answer. I’m using a Windows 2016 Server HyperV Core for virtualisation.

                      Is there a way I could reduce the number of kopano-server processes? The start immediately after running “systemctl start kopano-server”.
                      Btw it’s the same with the mysqld processes. They all start right after running “systemctl start mysql”. Hmmm…

                      Kopano config is pretty standard. Here you go:

                      # If a directive is not used (i.e. commented out), the built-in server default
                      # is used, so to disable certain features, the empty string value must explicitly be
                      # set on them.
                      
                      ##############################################################
                      # SERVER SETTINGS
                      
                      # Space-separated list of address:port specifiers for where the server should
                      # listen for unencrypted connections.
                      #
                      #    "*:236" — port 236, all protocols
                      #    "[::]:236" — port 236 on IPv6 only
                      #    "[2001:db8::1]:236" — port 236 on specific address only
                      #    To disable unencrypted connections, set to an empty value.
                      #
                      server_listen = *:236
                      
                      # Space-separated list of paths for where to listen for AF_LOCAL
                      # connections.
                      # To disable, set to an empty value.
                      #
                      #server_pipe_name = /var/run/kopano/server.sock
                      
                      # Space-separated list of paths for where to listen for AF_LOCAL
                      # connections to handle with raised priority.
                      # To disable, set to an empty value.
                      #
                      #server_pipe_priority = /var/run/kopano/prio.sock
                      
                      # Name for identifying the server in a multi-server environment
                      #server_name =
                      
                      # Override the hostname of this server, used by Kerberos SSO if enabled
                      #server_hostname =
                      
                      # Database engine (mysql)
                      #database_engine = mysql
                      
                      # Allow connections from normal users through the Unix socket
                      #allow_local_users = yes
                      
                      # local admin users who can connect to any store (use this for the kopano-dagent)
                      # field is SPACE separated
                      # eg: local_admin_users = root vmail
                      # Default: root
                      local_admin_users = root kopano
                      
                      # With owner_auto_full_access=true, the owner of an object is, in addition to
                      # any ACLs, implicitly granted "read", "create-in" and "is-visible" rights,
                      # even if the store belongs to another user, for example, when it has been
                      # moved via kopano-storeadm -D,-A.
                      #
                      #owner_auto_full_access = true
                      
                      # e-mail address of the Kopano System user
                      #system_email_address = postmaster@localhost
                      
                      # drop privileges and run the process as this user
                      #run_as_user = kopano
                      
                      # drop privileges and run the process as this group
                      #run_as_group = kopano
                      
                      # create a pid file for stopping the service via the init.d scripts
                      #pid_file = /var/run/kopano/server.pid
                      
                      # run server in this path (when not using the -F switch)
                      #running_path = /var/lib/kopano/empty
                      
                      # Use given allocator library. Values like libtcmalloc.so.4,
                      # libtcmalloc_minimal.so.4 and libjemalloc.so.2 would work.
                      #allocator_library = libtcmalloc_minimal.so.4
                      
                      # create memory coredumps upon crash [no, systemdefault, yes]
                      #coredump_enabled = systemdefault
                      
                      # session timeout for clients. Values lower than 300 will be upped to 300
                      # automatically. If the server hears nothing from a client in session_timeout
                      # seconds, then the session is killed.
                      #session_timeout = 300
                      
                      # for temporary files
                      #tmp_path = /tmp
                      
                      ##############################################################
                      # LOG SETTINGS
                      
                      # Logging method (syslog, file), syslog facility is 'mail'
                      #log_method = auto
                      
                      # Logfile (for log_method = file, '-' for stderr)
                      #log_file = -
                      
                      # Loglevel (0(none), 1(crit), 2(err), 3(warn), 4(notice), 5(info), 6(debug))
                      #log_level = 3
                      log_level = 5
                      
                      # Log timestamp - prefix each log line with timestamp in 'file' logging mode
                      #log_timestamp = yes
                      
                      # Buffer logging in what sized blocks. 0 for line-buffered (syslog-style).
                      #log_buffer_size = 0
                      
                      ##############################################################
                      # AUDIT LOG SETTINGS
                      
                      # Audit logging is by default not enabled
                      #audit_log_enabled = no
                      
                      # Audit logging method (syslog, file), syslog facility is 'authpriv'
                      #audit_log_method = syslog
                      
                      # Audit logfile (for log_method = file, '-' for stderr)
                      #audit_log_file = /var/log/kopano/audit.log
                      
                      # Audit loglevel (0=no logging, 1=full logging)
                      #audit_log_level = 1
                      
                      # Audit log timestamp - prefix each log line with timestamp in 'file' logging mode
                      #audit_log_timestamp = 1
                      
                      ##############################################################
                      # MYSQL SETTINGS (for database_engine = mysql)
                      
                      # MySQL hostname to connect to for database access
                      mysql_host = localhost
                      
                      # MySQL port to connect with (usually 3306)
                      mysql_port = 3306
                      
                      # The user under which we connect with MySQL
                      mysql_user = kopano
                      
                      # The password for the user (leave empty for no password)
                      mysql_password = XXXXXXXXXXXXX
                      
                      # Override the default MySQL socket to access mysql locally
                      # Works only if the mysql_host value is empty or 'localhost'
                      #mysql_socket =
                      
                      # Database to connect to
                      mysql_database = kopano
                      
                      # MySQL engine, per default it is InnoDB, which is the only supported
                      # database engine. It is NOT advised to use a non-transactional engine
                      # like MyISAM, Aria, etc.
                      #mysql_engine = InnoDB
                      
                      # Where to place attachments. Value can be 'database', 'files' or 's3'
                      attachment_storage = files
                      
                      # Enable fsync as method to make sure attachments are stored on disk where
                      # supported and will not be buffered by OS and/or filesystem. Please note
                      # this setting will lower attachment write performance depending on your
                      # environment but enhances data safety with disaster recovery.
                      # Only affects 'files' attachment storage backend.
                      #attachment_files_fsync = yes
                      
                      # When attachment_storage is 'files', use this path to store the files
                      # When attachment_storage is 's3', use this path to set a prefix to all
                      # attachment data of a certain cluster, for example 'attach'
                      attachment_path = /var/lib/kopano/attachments
                      
                      # Compression level for attachments when attachment_storage is 'files'.
                      # Set compression level for attachments disabled=0, max=9
                      attachment_compression = 6
                      
                      ##############################################################
                      # S3 STORAGE SETTINGS (for attachment_storage = s3)
                      
                      # The hostname of the entry point to the S3 cloud where the bucket is located
                      # If you are using minio or another S3 compatible implementation that
                      # is using another port, you can specify the port with hostname:port.
                      #attachment_s3_hostname = s3-eu-west-1.amazonaws.com
                      
                      # The region where the bucket is located, e.g. "eu-west-1"
                      #attachment_s3_region =
                      
                      # The protocol that should be used to connect to S3, 'http' or 'https' (preferred)
                      #attachment_s3_protocol =
                      
                      # The URL style of the bucket, "virtualhost" or "path"
                      #attachment_s3_uristyle =
                      
                      # The access key id of your S3 account
                      #attachment_s3_accesskeyid =
                      
                      # The secret access key of your S3 account
                      #attachment_s3_secretaccesskey =
                      
                      # The bucket name in which the files will be stored
                      #attachment_s3_bucketname =
                      
                      ##############################################################
                      #  SSL SETTINGS
                      
                      # Space-separated list of address:port specifiers for where to listen for
                      # TLS-encrypted connections.
                      #
                      #    "*:237" — port 237, all protocols
                      #    "[::]:237" — port 237 on IPv6 only
                      #    "[2001:db8::1]:237" — port 237 on specific address only
                      #    To disable encrypted connections, set to an empty value.
                      #
                      #server_listen_tls =
                      
                      # Required Server certificate, contains the certificate and the private key parts
                      #server_ssl_key_file = /etc/kopano/ssl/server.pem
                      
                      # Password of Server certificate
                      #server_ssl_key_pass =
                      
                      # Required Certificate Authority of server
                      #server_ssl_ca_file = /etc/kopano/ssl/cacert.pem
                      
                      # Path with CA certificates, e.g. /etc/ssl/certs
                      #server_ssl_ca_path =
                      
                      # SSL protocols to use, space-separated list of protocols
                      # (SSLv3 TLSv1 TLSv1.1 TLSv1.2); prefix with ! to lock out a protocol.
                      #server_ssl_protocols =
                      
                      # SSL ciphers to use, set to 'ALL' for backward compatibility
                      #server_ssl_ciphers = ALL:!LOW:!SSLv2:!EXP:!aNULL
                      
                      # Prefer the server's order of SSL ciphers over client's
                      #server_ssl_prefer_server_ciphers = no
                      
                      # Path of SSL Public keys of clients
                      #sslkeys_path = /etc/kopano/sslkeys
                      
                      ##############################################################
                      # THREAD SETTINGS
                      
                      # Number of server threads
                      #threads = 8
                      
                      # Watchdog frequency. The number of watchdog checks per second.
                      #watchdog_frequency = 1
                      
                      # Watchdog max age. The maximum age in ms of a task before a
                      # new thread is started.
                      #watchdog_max_age = 500
                      
                      # SOAP recv timeout value (time between requests)
                      #server_recv_timeout = 5
                      
                      # SOAP read timeout value (time during requests)
                      #server_read_timeout = 60
                      
                      # SOAP send timeout value
                      #server_send_timeout = 60
                      
                      ##############################################################
                      #  OTHER SETTINGS
                      
                      # Softdelete clean cycle (in days) 0=never running
                      #softdelete_lifetime = 30
                      
                      # Sync lifetime, removes all changes remembered for a client after x days of inactivity
                      #sync_lifetime = 90
                      
                      # Set to 'yes' if you have Kerberos, NTLM or OpenID Connect correctly configured for single sign-on
                      #enable_sso = no
                      
                      # Set to 'yes' if you want to show the GAB to your users
                      #enable_gab = yes
                      
                      # Authentication can be through plugin (default, recommended), pam or kerberos
                      #auth_method = plugin
                      
                      # If auth_method is set to pam, you should provide the pam service name
                      #pam_service = passwd
                      
                      
                      #############################################################
                      # CACHE SETTINGS
                      #
                      # To see the live cache usage, use 'kopano-stats --system'.
                      
                      # Size in bytes of the 'cell' cache (should be set as high as you can afford to set it)
                      #cache_cell_size = 256M
                      
                      # Size in bytes of the 'object' cache
                      #cache_object_size = 16M
                      
                      # Size in bytes of the 'indexed object' cache
                      #cache_indexedobject_size = 32M
                      
                      # Size in bytes of the userquota details
                      #cache_quota_size = 1M
                      
                      # Lifetime for userquota details
                      #cache_quota_lifetime = 1
                      
                      # Size in bytes of the acl cache
                      #cache_acl_size = 1M
                      
                      # Size in bytes of the store id/guid cache
                      #cache_store_size = 1M
                      
                      # Size in bytes of the 'user id' cache (this is allocated twice)
                      #cache_user_size = 1M
                      
                      # Size in bytes of the 'user details' cache
                      #cache_userdetails_size = 25M
                      
                      # Lifetime for user details
                      #cache_userdetails_lifetime = 0
                      
                      # Size in bytes of the server details (multiserver setups only)
                      #cache_server_size = 1M
                      
                      # Lifetime for server details (multiserver setups only)
                      #cache_server_lifetime = 30
                      
                      
                      ##############################################################
                      #  QUOTA SETTINGS
                      
                      # The default Warning Quota Level. Set to 0 to disable this level.
                      # The user will receive an email when this level is reached. Value is in Mb. Default value is 0.
                      #quota_warn = 0
                      
                      # The default Soft Quota Level. Set to 0 to disable this level.
                      # The user will still receive mail, but sending new mail is prohibited, until objects are removed from the store.
                      # VALUE is in Mb. Default value is 0.
                      #quota_soft = 0
                      
                      # The default Hard Quota Level. Set to 0 to disable this level.
                      # The user can not receive and send mail, until objects are removed from the store.
                      # Value is in Mb. Default value is 0.
                      #quota_hard = 0
                      
                      # The default Warning Quota Level for multitenant public stores. Set to 0 to disable this level.
                      # The tenant administrator will receive an email when this level is reached. Value is in Mb. Default value is 0.
                      #companyquota_warn = 0
                      
                      
                      ##############################################################
                      #  USER PLUGIN SETTINGS
                      
                      # Name of the plugin that handles users
                      # Required, default = db
                      # Values: ldap, unix, db
                      #user_plugin = db
                      
                      # configuration file of the user plugin, examples can be found in /usr/share/doc/kopano/example-config
                      #user_plugin_config = /etc/kopano/ldap.cfg
                      
                      # scripts which create stores for users from an external source
                      # used for ldap and unix plugins only
                      #createuser_script = /usr/lib/kopano/userscripts/createuser
                      #deleteuser_script = /usr/lib/kopano/userscripts/deleteuser
                      #creategroup_script = /usr/lib/kopano/userscripts/creategroup
                      #deletegroup_script = /usr/lib/kopano/userscripts/deletegroup
                      #createcompany_script = /usr/lib/kopano/userscripts/createcompany
                      #deletecompany_script = /usr/lib/kopano/userscripts/deletecompany
                      
                      # Set this option to 'yes' to skip the creation and deletion of new users
                      # The action will be logged, so you can see if your changes to the plugin
                      # configuration are correct.
                      #user_safe_mode = no
                      
                      ##############################################################
                      # OPENID CONNECT SETTINGS
                      
                      # Enable OpenID Connect Issuer Identifier
                      # When set, the server attempts OIDC discovery using the configured issuer
                      # identifier on startup. An Issuer Identifier is a case sensitive URL using the
                      # https scheme that contains scheme, host, and optionally, port number and path
                      # components. This no Issuer Identifier is set, OIDC support is disabled.
                      #kcoidc_issuer_identifier =
                      
                      # Disable TLS validation for OpenID Connect requests
                      # When set to yes, TLS certificate validation is skipped for all requests
                      # related to OpenID connect. This is insecure and should not be used in
                      # production setups.
                      #kcoidc_insecure_skip_verify = no
                      
                      # Timeout in seconds when to give up OpenID Connect discovery
                      # When the OIDC initialize timeout is reached, server continues startup without
                      # OIDC and all OIDC validation will fail until the discovery completes. When
                      # set to 0, the server startup does not wait for OIDC discovery at all.
                      #kcoidc_initialize_timeout = 60
                      
                      ##############################################################
                      # MISC SETTINGS
                      
                      # Enable multi-tenancy environment
                      # When set to true it is possible to create tenants within the
                      # kopano instance and assign all users and groups to particular
                      # tenants.
                      # When set to false, the normal single-tenancy environment is created.
                      #enable_hosted_kopano = false
                      
                      # Enable multi-server environment
                      # When set to true it is possible to place users and tenants on
                      # specific servers.
                      # When set to false, the normal single-server environment is created.
                      #enable_distributed_kopano = false
                      
                      # Display format of store name
                      # Allowed variables:
                      #  %u Username
                      #  %f Full name
                      #  %c Tenant's name
                      #storename_format = %f
                      
                      # Loginname format (for Multi-tenancy installations)
                      # When the user does not login through a system-wide unique
                      # username (like the email address) a unique name is created
                      # by combining the username and the tenantname.
                      # With this configuration option you can set how the
                      # loginname should be built up.
                      #
                      # Note: Do not use the = character in the format.
                      #
                      # Allowed variables:
                      #  %u Username
                      #  %c Teantname
                      #
                      #loginname_format = %u
                      
                      # Everyone is a special internal group, which contains every user and group
                      # You may want to disable this group from the Global Addressbook by setting
                      # this option to 'yes'. Administrators will still be able to see the group.
                      #hide_everyone = no
                      
                      # System is a special internal user, which has super-admin privileges
                      # You may want to disable this user from the Global Addressbook by setting
                      # this option to 'yes'. Administrators will still be able to see the user.
                      #hide_system = yes
                      
                      # Use Indexing service for faster searching.
                      # Enabling this option requires the kopano-search service to
                      # be running.
                      #search_enabled = yes
                      
                      # Path to the kopano-search service, this option is only required
                      # if the server is going to make use of the indexing service.
                      #search_socket = file:///var/run/kopano/search.sock
                      
                      # Time (in seconds) to wait for a connection to the kopano-search service
                      # before terminating the indexed search request.
                      #search_timeout = 10
                      
                      # Allow enhanced ICS operations to speedup synchronization with cached profiles.
                      #enable_enhanced_ics = yes
                      
                      # SQL Procedures allow for some optimized queries when streaming with enhanced ICS.
                      # This is default disabled because you must set 'thread_stack = 256k' in your
                      # MySQL server config under the [mysqld] tag and restart your MySQL server.
                      #enable_sql_procedures = no
                      
                      # Synchronize GAB users on every open of the GAB (otherwise, only on
                      # kopano-admin --sync)
                      #sync_gab_realtime = yes
                      
                      # Disable features for users. This list is space separated.
                      # Currently valid values: imap pop3 mobile outlook webapp
                      #disabled_features = imap pop3
                      disabled_features = pop3
                      
                      # Maximum number of deferred records in total
                      #max_deferred_records = 0
                      
                      # Maximum number of deferred records per folder
                      #max_deferred_records_folder = 20
                      
                      # Restrict the permissions that admins receive to folder permissions only. Please
                      # read the server.cfg manpage before enabling this option so you really understand
                      # the implications
                      #restrict_admin_permissions = no
                      
                      # The maximum level of attachment recursion; Defines the number of
                      # attachment-in-attachment in-attachment levels are allowed when saving and
                      # replicating objects in the database. If you really want a higher level of
                      # recursion than about 20, you probably have to increase MySQL's stack_size
                      # to allow replication to work properly.
                      #embedded_attachment_limit = 20
                      
                      # Header to detect whether a connection has been received through a proxy. The
                      # value of the header is not inspected. If the header exists then the connection
                      # is taken to be received via a proxy. An empty value disables proxy detection
                      # and the value of '*' is used to indicate that all connections are proxied
                      #proxy_header =
                      
                      # Enable/disable reminders for shared stores
                      #shared_reminders = yes
                      

                      And here is the debian 9 standard /etc/mysql/mariadb.conf.d/50-server.cnf:

                      #
                      # These groups are read by MariaDB server.
                      # Use it for options that only the server (but not clients) should see
                      #
                      # See the examples of server my.cnf files in /usr/share/mysql/
                      #
                      
                      # this is read by the standalone daemon and embedded servers
                      [server]
                      
                      # this is only for the mysqld standalone daemon
                      [mysqld]
                      
                      #
                      # * Basic Settings
                      #
                      user            = mysql
                      pid-file        = /var/run/mysqld/mysqld.pid
                      socket          = /var/run/mysqld/mysqld.sock
                      port            = 3306
                      basedir         = /usr
                      datadir         = /var/lib/mysql
                      tmpdir          = /tmp
                      lc-messages-dir = /usr/share/mysql
                      skip-external-locking
                      
                      # Instead of skip-networking the default is now to listen only on
                      # localhost which is more compatible and is not less secure.
                      bind-address            = 127.0.0.1
                      
                      #
                      # * Fine Tuning
                      #
                      key_buffer_size         = 16M
                      max_allowed_packet      = 16M
                      thread_stack            = 192K
                      thread_cache_size       = 8
                      # This replaces the startup script and checks MyISAM tables if needed
                      # the first time they are touched
                      myisam_recover_options  = BACKUP
                      #max_connections        = 100
                      #table_cache            = 64
                      #thread_concurrency     = 10
                      
                      #
                      # * Query Cache Configuration
                      #
                      query_cache_limit       = 1M
                      query_cache_size        = 16M
                      
                      #
                      # * Logging and Replication
                      #
                      # Both location gets rotated by the cronjob.
                      # Be aware that this log type is a performance killer.
                      # As of 5.1 you can enable the log at runtime!
                      #general_log_file        = /var/log/mysql/mysql.log
                      #general_log             = 1
                      #
                      # Error log - should be very few entries.
                      #
                      log_error = /var/log/mysql/error.log
                      #
                      # Enable the slow query log to see queries with especially long duration
                      #slow_query_log_file    = /var/log/mysql/mariadb-slow.log
                      #long_query_time = 10
                      #log_slow_rate_limit    = 1000
                      #log_slow_verbosity     = query_plan
                      #log-queries-not-using-indexes
                      #
                      # The following can be used as easy to replay backup logs or for replication.
                      # note: if you are setting up a replication slave, see README.Debian about
                      #       other settings you may need to change.
                      #server-id              = 1
                      #log_bin                        = /var/log/mysql/mysql-bin.log
                      expire_logs_days        = 10
                      max_binlog_size   = 100M
                      #binlog_do_db           = include_database_name
                      #binlog_ignore_db       = exclude_database_name
                      
                      #
                      # * InnoDB
                      #
                      # InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
                      # Read the manual for more InnoDB related options. There are many!
                      
                      #
                      # * Security Features
                      #
                      # Read the manual, too, if you want chroot!
                      # chroot = /var/lib/mysql/
                      #
                      # For generating SSL certificates you can use for example the GUI tool "tinyca".
                      #
                      # ssl-ca=/etc/mysql/cacert.pem
                      # ssl-cert=/etc/mysql/server-cert.pem
                      # ssl-key=/etc/mysql/server-key.pem
                      #
                      # Accept only connections using the latest and most secure TLS protocol version.
                      # ..when MariaDB is compiled with OpenSSL:
                      # ssl-cipher=TLSv1.2
                      # ..when MariaDB is compiled with YaSSL (default in Debian):
                      # ssl=on
                      
                      #
                      # * Character sets
                      #
                      # MySQL/MariaDB default is Latin1, but in Debian we rather default to the full
                      # utf8 4-byte character set. See also client.cnf
                      #
                      character-set-server  = utf8mb4
                      collation-server      = utf8mb4_general_ci
                      
                      #
                      # * Unix socket authentication plugin is built-in since 10.0.22-6
                      #
                      # Needed so the root database user can authenticate without a password but
                      # only when running as the unix root user.
                      #
                      # Also available for other users if required.
                      # See https://mariadb.com/kb/en/unix_socket-authentication-plugin/
                      
                      # this is only for embedded server
                      [embedded]
                      
                      # This group is only read by MariaDB servers, not by MySQL.
                      # If you use the same .cnf file for MySQL and MariaDB,
                      # you can put MariaDB-only options here
                      [mariadb]
                      
                      # This group is only read by MariaDB-10.1 servers.
                      # If you use the same .cnf file for MariaDB of different versions,
                      # use this group for options that older servers don't understand
                      [mariadb-10.1]
                      
                      

                      Thanks again!

                      Regards,

                      Alex

                      1 Reply Last reply Reply Quote 0
                      • Sniks6
                        Sniks6 last edited by

                        After a little research I found out that htop is showing all threads of one process by default.

                        Here is a picture of htop after diabling it. Just one process as you said. :-)

                        alt text

                        1 Reply Last reply Reply Quote 0
                        • marcus.bauch
                          marcus.bauch last edited by marcus.bauch

                          Hej Alex.

                          Okay, this looks pretty simple ;-)

                          I don’t have much XP with HyperV. Maybe there is a bottleneck within.
                          Some other questions first…

                          • Which hardware (SCSI, SAS, FC, SATA or iSCSI? RAIDn?) is underlaying for use with the VMs? Specially for Kopano?
                          • Had HyperV created one single file for the VM? (i think yes) …thinprovisioned? This meen “sparse files”?
                          • And, how many users do you have on the system?
                          1 Reply Last reply Reply Quote 0
                          • Sniks6
                            Sniks6 last edited by

                            Hi Marcus,

                            at the moment everthing looks good. The memory usage will stay in normal range.

                            To answer your questions:

                            Which hardware (SCSI, SAS, FC, SATA or iSCSI? RAIDn?) is underlaying for use with the VMs? Specially for Kopano?

                            Intel RAID Controller RS2BL040
                            3 x WDC WD5003ABYX 0 500GB HDDs
                            RAID 5

                            Had HyperV created one single file for the VM? (i think yes) …thinprovisioned? This meen “sparse files”?

                            Yes, one VHDX file

                            And, how many users do you have on the system?

                            Just three users. It’s a small system for my business-partner and my wife. :-)
                            Anyways the MariaDB shows 5GB in phpmyadmin the attachements folder is 84GB:

                            root@kopano:~# du -sh /var/lib/kopano/attachments
                            84G     /var/lib/kopano/attachments
                            

                            I moved from an old Zarafa installation via kopano-migration-imap to the kopano system.
                            That’s why the DB is that big right from the start.

                            But just as I said , at the moment the system runs good.

                            1 Reply Last reply Reply Quote 0
                            • Sniks6
                              Sniks6 last edited by

                              … and then it happened again. This afternoon:

                              .
                              .
                              .
                              Sep  9 17:14:01 kopano kopano-server[947]: Start syncedmessages table clean up
                              Sep  9 17:14:01 kopano kopano-server[947]: syncedmessages table clean up done, 0 entries removed
                              Sep  9 17:14:39 kopano fetchmail[936]: 717 Nachrichten (717 gesehene) für  (37985430 Bytes).
                              Sep  9 17:14:39 kopano fetchmail[936]: 389 Nachrichten (389 gesehene) für  (110571564 Bytes).
                              Sep  9 17:14:40 kopano fetchmail[936]: 488 Nachrichten (488 gesehene) für  (371923599 Bytes).
                              Sep  9 17:15:41 kopano fetchmail[936]: 717 Nachrichten (717 gesehene) für (37985430 Bytes).
                              Sep  9 17:15:41 kopano fetchmail[936]: 389 Nachrichten (389 gesehene) für (110571564 Bytes).
                              Sep  9 17:15:42 kopano fetchmail[936]: 488 Nachrichten (488 gesehene) für  (371923599 Bytes).
                              Sep  9 17:16:43 kopano fetchmail[936]: 717 Nachrichten (717 gesehene) für  (37985430 Bytes).
                              Sep  9 17:16:43 kopano fetchmail[936]: 389 Nachrichten (389 gesehene) für  (110571564 Bytes).
                              Sep  9 17:16:44 kopano fetchmail[936]: 488 Nachrichten (488 gesehene) für (371923599 Bytes).
                              Sep  9 17:17:45 kopano fetchmail[936]: 717 Nachrichten (717 gesehene) für  (37985430 Bytes).
                              Sep  9 17:17:45 kopano fetchmail[936]: 389 Nachrichten (389 gesehene) für (110571564 Bytes).
                              Sep  9 17:17:46 kopano fetchmail[936]: 488 Nachrichten (488 gesehene) für  (371923599 Bytes).
                              Sep  9 17:18:12 kopano kopano-server[947]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/1/1/56811.gz"
                              Sep  9 17:18:12 kopano kopano-server[947]: SerializeObject failed with error code 0x80000028 for object 128416
                              Sep  9 17:18:29 kopano kopano-server[947]: ECFileAttachment::LoadAttachmentInstance(SOAP): Out of memory while reading "/var/lib/kopano/attachments/6/7/56876.gz"
                              Sep  9 17:18:29 kopano kopano-server[947]: SerializeObject failed with error code 0x80000028 for object 128522
                              Sep  9 17:18:41 kopano kopano-server[947]: ----------------------------------------------------------------------
                              Sep  9 17:18:41 kopano kopano-server[947]: Fatal error detected. Please report all following information.
                              Sep  9 17:18:41 kopano kopano-server[947]: Application kopano-server version: 8.6.81
                              Sep  9 17:18:41 kopano kopano-server[947]: OS: Linux, release: 4.9.0-8-amd64, version: #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21), hardware: x86_64
                              Sep  9 17:18:41 kopano kopano-server[947]: Thread name: ECThreadPool
                              Sep  9 17:18:41 kopano kopano-server[947]: Peak RSS: 7316596
                              Sep  9 17:18:41 kopano kopano-server[947]: Pid 947 caught SIGABRT (6), out of memory or unhandled exception, traceback:
                              Sep  9 17:18:41 kopano kopano-server[947]: Backtrace:
                              Sep  9 17:18:41 kopano kopano-server[947]: #0. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x472c0) [0x7f3a273582c0]
                              Sep  9 17:18:41 kopano kopano-server[947]: #1. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x362ed) [0x7f3a273472ed]
                              Sep  9 17:18:41 kopano kopano-server[947]: #2. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC23generic_sigsegv_handlerEPNS_8ECLoggerEPKcS3_iPK9siginfo_tPKv+0x1bd) [0x7f3a273475cd]
                              Sep  9 17:18:41 kopano kopano-server[947]: #3. /lib/x86_64-linux-gnu/libpthread.so.0(+0x110c0) [0x7f3a21e3d0c0]
                              Sep  9 17:18:41 kopano kopano-server[947]: #4. /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcf) [0x7f3a21222fff]
                              Sep  9 17:18:41 kopano kopano-server[947]: #5. /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f3a2122442a]
                              Sep  9 17:18:41 kopano kopano-server[947]: #6. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x15d) [0x7f3a21b3b0ad]
                              Sep  9 17:18:41 kopano kopano-server[947]: #7. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f066) [0x7f3a21b39066]
                              Sep  9 17:18:41 kopano kopano-server[947]: #8. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f0b1) [0x7f3a21b390b1]
                              Sep  9 17:18:41 kopano kopano-server[947]: #9. /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x8f2c9) [0x7f3a21b392c9]
                              Sep  9 17:18:41 kopano kopano-server[947]: #10. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x37ef2) [0x7f3a26f4eef2]
                              Sep  9 17:18:41 kopano kopano-server[947]: #11. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x5320f) [0x7f3a26f6a20f]
                              Sep  9 17:18:41 kopano kopano-server[947]: #12. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x55eee) [0x7f3a26f6ceee]
                              Sep  9 17:18:41 kopano kopano-server[947]: #13. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x1242d7) [0x7f3a2703b2d7]
                              Sep  9 17:18:41 kopano kopano-server[947]: #14. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x12751c) [0x7f3a2703e51c]
                              Sep  9 17:18:41 kopano kopano-server[947]: #15. /usr/lib/x86_64-linux-gnu/libkcserver.so.0(+0x188f9b) [0x7f3a2709ff9b]
                              Sep  9 17:18:41 kopano kopano-server[947]: #16. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(_ZN2KC14ECWaitableTask7executeEv+0x84) [0x7f3a27349c04]
                              Sep  9 17:18:41 kopano kopano-server[947]: #17. /usr/lib/x86_64-linux-gnu/libkcutil.so.0(+0x3929c) [0x7f3a2734a29c]
                              Sep  9 17:18:41 kopano kopano-server[947]: #18. /lib/x86_64-linux-gnu/libpthread.so.0(+0x7494) [0x7f3a21e33494]
                              Sep  9 17:18:41 kopano kopano-server[947]: #19. /lib/x86_64-linux-gnu/libc.so.6(clone+0x3f) [0x7f3a212d8acf]
                              Sep  9 17:18:41 kopano kopano-server[947]: Signal errno: Erfolg, signal code: -6
                              Sep  9 17:18:41 kopano kopano-server[947]: Sender pid: 947, sender uid: 999, si_status: 0
                              Sep  9 17:18:41 kopano kopano-server[947]: Signal value: 0, faulting address: 0x3e7000003b3
                              Sep  9 17:18:41 kopano kopano-server[947]: When reporting this traceback, please include Linux distribution name (and version), system architecture and Kopano version.
                              Sep  9 17:18:46 kopano fetchmail[936]: 717 Nachrichten (717 gesehene) für   (37985430 Bytes).
                              Sep  9 17:18:47 kopano fetchmail[936]: 389 Nachrichten (389 gesehene) für (110571564 Bytes).
                              Sep  9 17:18:47 kopano fetchmail[936]: 488 Nachrichten (488 gesehene) für  (371923599 Bytes).
                              Sep  9 17:19:34 kopano kopano-spooler[514]: Unable to get outgoing queue count: network error (80040115)
                              Sep  9 17:19:34 kopano kopano-spooler[514]: ProcessQueue: ProcessAllEntries failed: network error (80040115)
                              Sep  9 17:19:34 kopano kopano-spooler[514]: Server connection lost. Reconnecting in 3 seconds...
                              Sep  9 17:19:37 kopano kopano-spooler[514]: gsoap connect: ()
                              Sep  9 17:19:37 kopano kopano-spooler[514]: HrLogon server "default:" user "SYSTEM": network error
                              .
                              .
                              .
                              

                              CheckMK logged the memory usage:

                              alt text

                              You can see the memory usage rise and then the crash of the server process and the memory usage returns to normal.

                              1 Reply Last reply Reply Quote 0
                              • marcus.bauch
                                marcus.bauch last edited by

                                …are there any messages in messages, syslog or daemon (/var/log/*) ?

                                1 Reply Last reply Reply Quote 0
                                • Sniks6
                                  Sniks6 last edited by

                                  Nothing special.

                                  The only thing I noticed in /var/log/mail.log is

                                  Sep 10 09:50:49 kopano kopano-dagent[207613]: Unable to commit message: disk error (80040116)
                                  Sep 10 09:50:49 kopano kopano-dagent[207613]: Unable to deliver message to "alex": disk error (80040116)
                                  Sep 10 09:50:49 kopano kopano-dagent[207613]: Unable to deliver all messages for server "default:"
                                  

                                  Don’t know what this is? I just set dagent log to 5, to get more info about this.

                                  The weird thing is, that everything worked for two days without any problems. And then after I restarted the server because I moved it to its designated place on my floor, it began again. Everytime I restart der server service it immediately begins flooding the memory:

                                  alt text

                                  Crazy… :-(

                                  1 Reply Last reply Reply Quote 0
                                  • Sniks6
                                    Sniks6 last edited by Sniks6

                                    I found out about the disk error message. There was one corrupted message in the postfix queue.
                                    A “postqueue -f” and the error showed up again in the log.
                                    After deleting the message from the postfix queue the kopano-dagent error vanished.

                                    1 Reply Last reply Reply Quote 1
                                    • Sniks6
                                      Sniks6 last edited by

                                      The problem still exists. I don’t see anything weird or any errors in the logs.

                                      Here is the output of kopano-stats --system:

                                              0x3001001E              0x6740001E                                                                      0x6741001E
                                              -----------------------------------------------------------------------------------------------------------------------------------------
                                              server_start_date       Time when the server was started                                                Di Sep 11 09:48:00 2018
                                              cache_purge_date        Time when the cache was cleared
                                              config_reload_date      Time when the configuration file was reloaded / logrotation (SIGHUP)
                                              connections             Number of handled incoming connections                                          436494
                                              max_socket              Highest socket number used                                                      1057
                                              redirections            Number of redirected requests                                                   0
                                              soap_request            Number of soap requests handled by server                                       2212637
                                              response_time           Response time of soap requests handled in milliseconds (includes time in queue) 14092788
                                              processing_time         Time taken to process soap requests in milliseconds (wallclock time)            14017893
                                              searchfld_loaded        Total number of searchfolders                                                   10
                                              searchfld_threads       Current number of running searchfolder threads                                  0
                                              searchupd_retry         The number of times a search folder update was restarted                        0
                                              searchupd_fail          The number of failed search folder updates after retrying                       0
                                              sql_connect             Number of connections made to SQL server                                        432837
                                              sql_select              Number of SQL Select commands executed                                          9358564
                                              sql_insert              Number of SQL Insert commands executed                                          4369
                                              sql_update              Number of SQL Update commands executed                                          2298
                                              sql_delete              Number of SQL Delete commands executed                                          1163
                                              sql_connect_fail        Number of failed connections made to SQL server                                 0
                                              sql_select_fail         Number of failed SQL Select commands                                            0
                                              sql_insert_fail         Number of failed SQL Insert commands                                            0
                                              sql_update_fail         Number of failed SQL Update commands                                            0
                                              sql_delete_fail         Number of failed SQL Delete commands                                            0
                                              sql_last_fail_time      Timestamp of last failed SQL command
                                              mwops                   MAPI Write Operations                                                           125
                                              mrops                   MAPI Read Operations                                                            873475
                                              deferred_fetches        Number rows retrieved via deferred write table                                  4657
                                              deferred_merges         Number of merges applied to the deferred write table                            4
                                              deferred_records        Number records merged in the deferred write table                               80
                                              row_reads               Number of table rows read in row order                                          4712
                                              counter_resyncs         Number of time a counter resync was required                                    0
                                              login_password          Number of logins through password authentication                                2357
                                              login_ssl               Number of logins through SSL certificate authentication                         0
                                              login_sso               Number of logins through Single Sign-on                                         0
                                              login_unix              Number of logins through Unix socket                                            433715
                                              login_failed            Number of failed logins                                                         0
                                              sessions_created        Number of created sessions                                                      436072
                                              sessions_deleted        Number of deleted sessions                                                      435995
                                              sessions_timeout        Number of timed-out sessions                                                    59
                                              sess_int_created        Number of created internal sessions                                             172
                                              sess_int_deleted        Number of deleted internal sessions                                             172
                                              sess_grp_created        Number of created sessiongroups                                                 2167
                                              sess_grp_deleted        Number of deleted sessiongroups                                                 2160
                                              ldap_connect            Number of connections made to LDAP server                                       0
                                              ldap_reconnect          Number of re-connections made to LDAP server                                    0
                                              ldap_connect_fail       Number of failed connections made to LDAP server                                0
                                              ldap_connect_time       Total duration of connections made to LDAP server                               0
                                              ldap_max_connect        Longest connection time made to LDAP server                                     0
                                              ldap_auth               Number of LDAP authentications                                                  0
                                              ldap_auth_fail          Number of failed authentications                                                0
                                              ldap_auth_time          Total authentication time                                                       0
                                              ldap_max_auth           Longest duration of authentication made to LDAP server                          0
                                              ldap_avg_auth           Average duration of authentication made to LDAP server                          0
                                              ldap_search             Number of searches made to LDAP server                                          0
                                              ldap_search_fail        Number of failed searches made to LDAP server                                   0
                                              ldap_search_time        Total duration of LDAP searches                                                 0
                                              ldap_max_search         Longest duration of LDAP search                                                 0
                                              index_search_errors     Number of failed indexer queries                                                0
                                              index_search_max        Maximum duration of an indexed search query                                     1070
                                              index_search_avg        Average duration of an indexed search query                                     1070
                                              search_indexed          Number of indexed searches performed                                            572
                                              search_database         Number of database searches performed                                           0
                                              cache_acl_items         Cache acl items                                                                 0
                                              cache_acl_size          Cache acl size                                                                  0
                                              cache_acl_maxsz         Cache acl maximum size                                                          1048576
                                              cache_acl_req           Cache acl requests                                                              0
                                              cache_acl_hit           Cache acl hits                                                                  0
                                              cache_quota_items       Cache quota items                                                               1
                                              cache_quota_size        Cache quota size                                                                104
                                              cache_quota_maxsz       Cache quota maximum size                                                        1048576
                                              cache_quota_req         Cache quota requests                                                            1238
                                              cache_quota_hit         Cache quota hits                                                                990
                                              cache_uquota_items      Cache uquota items                                                              0
                                              cache_uquota_size       Cache uquota size                                                               0
                                              cache_uquota_maxsz      Cache uquota maximum size                                                       1048576
                                              cache_uquota_req        Cache uquota requests                                                           0
                                              cache_uquota_hit        Cache uquota hits                                                               0
                                              cache_extern_items      Cache extern items                                                              3
                                              cache_extern_size       Cache extern size                                                               501
                                              cache_extern_maxsz      Cache extern maximum size                                                       26214400
                                              cache_extern_req        Cache extern requests                                                           6467
                                              cache_extern_hit        Cache extern hits                                                               3828
                                              cache_userid_items      Cache userid items                                                              3
                                              cache_userid_size       Cache userid size                                                               456
                                              cache_userid_maxsz      Cache userid maximum size                                                       26214400
                                              cache_userid_req        Cache userid requests                                                           21191
                                              cache_userid_hit        Cache userid hits                                                               21174
                                              cache_abinfo_items      Cache abinfo items                                                              3
                                              cache_abinfo_size       Cache abinfo size                                                               552
                                              cache_abinfo_maxsz      Cache abinfo maximum size                                                       26214400
                                              cache_abinfo_req        Cache abinfo requests                                                           12624
                                              cache_abinfo_hit        Cache abinfo hits                                                               12621
                                              cache_server_items      Cache server items                                                              0
                                              cache_server_size       Cache server size                                                               0
                                              cache_server_maxsz      Cache server maximum size                                                       1048576
                                              cache_server_req        Cache server requests                                                           0
                                              cache_server_hit        Cache server hits                                                               0
                                              cache_store_items       Cache store items                                                               10903
                                              cache_store_size        Cache store size                                                                1046688
                                              cache_store_maxsz       Cache store maximum size                                                        1048576
                                              cache_store_req         Cache store requests                                                            5788327
                                              cache_store_hit         Cache store hits                                                                5346082
                                              cache_obj_items         Cache obj items                                                                 136117
                                              cache_obj_size          Cache obj size                                                                  11978296
                                              cache_obj_maxsz         Cache obj maximum size                                                          16777216
                                              cache_obj_req           Cache obj requests                                                              6469036
                                              cache_obj_hit           Cache obj hits                                                                  6334828
                                              cache_cell_items        Cache cell items                                                                447448
                                              cache_cell_size         Cache cell size                                                                 1964950625
                                              cache_cell_maxsz        Cache cell maximum size                                                         2147483648
                                              cache_cell_req          Cache cell requests                                                             36588037
                                              cache_cell_hit          Cache cell hits                                                                 36073239
                                              cache_index1_items      Cache index1 items                                                              246612
                                              cache_index1_size       Cache index1 size                                                               32306108
                                              cache_index1_maxsz      Cache index1 maximum size                                                       33554432
                                              cache_index1_req        Cache index1 requests                                                           4162193
                                              cache_index1_hit        Cache index1 hits                                                               2443995
                                              cache_index2_items      Cache index2 items                                                              259385
                                              cache_index2_size       Cache index2 size                                                               31904214
                                              cache_index2_maxsz      Cache index2 maximum size                                                       33554432
                                              cache_index2_req        Cache index2 requests                                                           5690998
                                              cache_index2_hit        Cache index2 hits                                                               4491006
                                              sessions                Number of sessions                                                              18
                                              sessions_size           Memory usage of sessions                                                        1296
                                              sessiongroups           Number of session groups                                                        7
                                              sessiongroups_size      Memory usage of session groups                                                  5784
                                              persist_conn            Persistent connections                                                          0
                                              persist_conn_size       Memory usage of persistent connections                                          0
                                              persist_sess            Persistent sessions                                                             0
                                              persist_sess_size       Memory usage of persistent sessions                                             0
                                              tables_subscr           Tables subscribed                                                               1
                                              tables_subscr_size      Memory usage of subscribed tables                                               72
                                              object_subscr           Objects subscribed                                                              3
                                              object_subscr_size      Memory usage of subscribed objects                                              192
                                              searchfld_stores        Number of stores in use by search folders                                       3
                                              searchfld_folders       Number of folders in use by search folders                                      10
                                              searchfld_events        Number of events waiting for searchfolder updates                               0
                                              searchfld_size          Memory usage of search folders                                                  8703
                                              queuelen                Current queue length                                                            0
                                              queueage                Age of the front queue item                                                     0.000
                                              threads                 Number of threads running to process items                                      0
                                              threads_idle            Number of idle threads                                                          8
                                              usercnt_active          Number of active users                                                          3
                                              usercnt_nonactive       Number of total non-active objects                                              0
                                              usercnt_na_user         Number of non-active users                                                      0
                                              usercnt_room            Number of rooms                                                                 0
                                              usercnt_equipment       Number of equipment                                                             0
                                              usercnt_contact         Number of contacts                                                              0
                                              tc_allocated            Current allocated memory by TCMalloc                                            6587321000
                                              tc_reserved             Bytes of system memory reserved by TCMalloc                                     6811803648
                                              tc_page_map_free        Number of bytes in free, mapped pages in page heap                              0
                                              tc_page_unmap_free      Number of bytes in free, unmapped pages in page heap (released to OS)           47865856
                                              tc_threadcache_max      A limit to how much memory TCMalloc dedicates for small objects                 33554432
                                              tc_threadcache_cur      Current allocated memory in bytes for thread cache                              26003304
                                              pt_allocated            Current allocated memory by libc ptmalloc, in bytes                             -2002612232
                                              userplugin              User plugin used                                                                db
                                      
                                      

                                      And here is the output of top:

                                      top - 14:12:31 up 2 days,  4:50,  2 users,  load average: 1,45, 1,45, 1,37
                                      Tasks: 131 total,   2 running, 129 sleeping,   0 stopped,   0 zombie
                                      %Cpu(s): 18,5 us,  7,8 sy,  0,0 ni, 69,5 id,  3,8 wa,  0,0 hi,  0,5 si,  0,0 st
                                      KiB Mem :  8045368 total,   130000 free,  7294192 used,   621176 buff/cache
                                      KiB Swap:  4143100 total,  3929428 free,   213672 used.   457920 avail Mem
                                      
                                         PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
                                       92741 mysql     20   0  755712 182892      0 S  41,6  2,3 514:22.10 mysqld
                                      154878 kopano    20   0 7020140 6,412g  17236 S  39,6 83,6  80:59.98 kopano-server
                                      125893 kopano    20   0  513720 127600   4920 R  22,8  1,6 204:06.06 kopano-search
                                      111218 root      20   0       0      0      0 S   1,0  0,0   0:00.02 kworker/3:0
                                      119974 root      20   0   44924   3556   2892 R   1,0  0,0   0:00.09 top
                                           1 root      20   0  204592   3508   2276 S   0,0  0,0   1:00.06 systemd
                                           2 root      20   0       0      0      0 S   0,0  0,0   0:00.08 kthreadd
                                           3 root      20   0       0      0      0 S   0,0  0,0   0:07.52 ksoftirqd/0
                                           5 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/0:0H
                                           6 root      20   0       0      0      0 S   0,0  0,0   0:00.28 kworker/u480:0
                                           8 root      20   0       0      0      0 S   0,0  0,0   3:50.28 rcu_sched
                                           9 root      20   0       0      0      0 S   0,0  0,0   0:00.00 rcu_bh
                                          10 root      rt   0       0      0      0 S   0,0  0,0   0:00.84 migration/0
                                          11 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 lru-add-drain
                                          12 root      rt   0       0      0      0 S   0,0  0,0   0:00.39 watchdog/0
                                          13 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/0
                                          14 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/1
                                          15 root      rt   0       0      0      0 S   0,0  0,0   0:00.40 watchdog/1
                                          16 root      rt   0       0      0      0 S   0,0  0,0   0:00.85 migration/1
                                          17 root      20   0       0      0      0 S   0,0  0,0   0:04.95 ksoftirqd/1
                                          19 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/1:0H
                                          20 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/2
                                          21 root      rt   0       0      0      0 S   0,0  0,0   0:00.43 watchdog/2
                                          22 root      rt   0       0      0      0 S   0,0  0,0   0:00.80 migration/2
                                          23 root      20   0       0      0      0 S   0,0  0,0   0:10.55 ksoftirqd/2
                                          25 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/2:0H
                                          27 root      20   0       0      0      0 S   0,0  0,0   0:00.00 cpuhp/3
                                          28 root      rt   0       0      0      0 S   0,0  0,0   0:00.45 watchdog/3
                                          29 root      rt   0       0      0      0 S   0,0  0,0   0:00.83 migration/3
                                          30 root      20   0       0      0      0 S   0,0  0,0   0:04.34 ksoftirqd/3
                                          32 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kworker/3:0H
                                          33 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kdevtmpfs
                                          34 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 netns
                                          35 root      20   0       0      0      0 S   0,0  0,0   0:00.06 khungtaskd
                                          36 root      20   0       0      0      0 S   0,0  0,0   0:00.00 oom_reaper
                                          37 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 writeback
                                          38 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kcompactd0
                                          39 root      20   0       0      0      0 S   0,0  0,0   0:00.00 kcompactd1
                                          41 root      25   5       0      0      0 S   0,0  0,0   0:00.00 ksmd
                                          42 root      39  19       0      0      0 S   0,0  0,0   0:07.14 khugepaged
                                          43 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 crypto
                                          44 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kintegrityd
                                          45 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 bioset
                                          46 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kblockd
                                          47 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 devfreq_wq
                                          48 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 watchdogd
                                          49 root      20   0       0      0      0 S   0,0  0,0   4:18.34 kswapd0
                                          50 root      20   0       0      0      0 S   0,0  0,0   4:50.38 kswapd1
                                          51 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 vmstat
                                          63 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 kthrotld
                                          69 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 ipv6_addrconf
                                          99 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 hv_vmbus_con
                                         118 root      20   0       0      0      0 S   0,0  0,0   0:00.00 scsi_eh_0
                                         120 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 scsi_tmf_0
                                         122 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 bioset
                                         141 root       0 -20       0      0      0 S   0,0  0,0   0:00.00 bioset
                                         176 root       0 -20       0      0      0 S   0,0  0,0   0:37.67 kworker/0:1H
                                         177 root       0 -20       0      0      0 S   0,0  0,0   0:35.76 kworker/1:1H
                                         185 root       0 -20       0      0      0 S   0,0  0,0   0:35.09 kworker/3:1H
                                         190 root       0 -20       0      0      0 S   0,0  0,0   0:45.28 kworker/2:1H
                                      

                                      All I see is high CPU usage because of the kopano-search process.
                                      Shutting down the search process ends the high CPU usage. But the memory usage keeps rising.

                                      Does anybody have a hint for me? What could I check or do to get the system running without restarting every 5 hours.

                                      Thanks,

                                      Alex

                                      1 Reply Last reply Reply Quote 0
                                      • thctlo
                                        thctlo last edited by thctlo

                                        hi, can you post an output of :

                                        dpkg -l | grep kopano
                                        apt-cache policy kopano-server
                                        

                                        and did you upgrade this version from a 8.5?
                                        then read : https://forum.kopano.io/topic/1305/crash-kopano-core-upgrade-from-8-5-81-288-0-53-1-to-8-6-80-645-0-68-1/18
                                        after cleaning up the left overs, im out of problems.

                                        1 Reply Last reply Reply Quote 0
                                        • Sniks6
                                          Sniks6 last edited by Sniks6

                                          Hi,

                                          thank you for your message.
                                          here are the requested outputs:

                                          root@kopano:~# dpkg -l | grep kopano
                                          ii  kopano-backup                              8.6.81.198-0+35.1                          amd64        Utility to back up and restore Kopano stores
                                          ii  kopano-bash-completion                     8.6.81.198-0+35.1                          amd64        bash TAB completion for Kopano Core command-line utilities
                                          ii  kopano-client                              8.6.81.198-0+35.1                          amd64        Kopano MAPI provider library
                                          ii  kopano-client-dbgsym                       8.6.81.198-0+35.1                          amd64        Debug symbols for kopano-client
                                          ii  kopano-common                              8.6.81.198-0+35.1                          amd64        Shared files for Kopano services
                                          ii  kopano-contacts                            8.6.81.198-0+35.1                          amd64        MAPI provider adding contact folders in the addressbook
                                          ii  kopano-dagent                              8.6.81.198-0+35.1                          amd64        E-Mail Delivery Agent for Kopano Core
                                          ii  kopano-dagent-dbgsym                       8.6.81.198-0+35.1                          amd64        Debug symbols for kopano-dagent
                                          ii  kopano-dbg                                 8.6.81.198-0+35.1                          amd64        Debug symbols for Kopano Core
                                          ii  kopano-dev                                 8.6.81.198-0+35.1                          amd64        C++ Development files for Kopano Core
                                          ii  kopano-gateway                             8.6.81.198-0+35.1                          amd64        POP3 and IMAP Gateway for Kopano Core
                                          ii  kopano-gateway-dbgsym                      8.6.81.198-0+35.1                          amd64        Debug symbols for kopano-gateway
                                          ii  kopano-ical                                8.6.81.198-0+35.1                          amd64        ICal and CalDAV Gateway for Kopano Core
                                          ii  kopano-ical-dbgsym                         8.6.81.198-0+35.1                          amd64        Debug symbols for kopano-ical
                                          ii  kopano-lang                                8.6.81.198-0+35.1                          all          Translations for Kopano Core components
                                          ii  kopano-migration-imap                      8.6.81.198-0+35.1                          amd64        Utility to migrate between IMAP mailboxes
                                          ii  kopano-migration-pst                       8.6.81.198-0+35.1                          amd64        Utility to import PST files
                                          ii  kopano-monitor                             8.6.81.198-0+35.1                          amd64        Quota Monitor for Kopano Core
                                          ii  kopano-monitor-dbgsym                      8.6.81.198-0+35.1                          amd64        Debug symbols for kopano-monitor
                                          ii  kopano-presence                            8.6.81.198-0+35.1                          amd64        kopano presence daemon
                                          ii  kopano-python-utils                        8.6.81.198-0+35.1                          amd64        Additional Python-based command-line utils for Kopano Core
                                          ii  kopano-search                              8.6.81.198-0+35.1                          amd64        Indexed search engine for Kopano Core
                                          ii  kopano-server                              8.6.81.198-0+35.1                          amd64        Server component for Kopano Core
                                          ii  kopano-server-dbgsym                       8.6.81.198-0+35.1                          amd64        Debug symbols for kopano-server
                                          ii  kopano-server-packages                     8.6.81.198-0+35.1                          all          Metapackage to install the entire Kopano Core stack
                                          ii  kopano-spamd                               8.6.81.198-0+35.1                          amd64        ICS-driven spam learning daemon for Kopano/SpamAssasin
                                          ii  kopano-spooler                             8.6.81.198-0+35.1                          amd64        E-mail Spooler for Kopano Core
                                          ii  kopano-spooler-dbgsym                      8.6.81.198-0+35.1                          amd64        Debug symbols for kopano-spooler
                                          ii  kopano-utils                               8.6.81.198-0+35.1                          amd64        Admin command-line utils for Kopano Core
                                          ii  kopano-utils-dbgsym                        8.6.81.198-0+35.1                          amd64        Debug symbols for kopano-utils
                                          ii  kopano-webapp                              3.4.22.1724+981.1                          all          New and improved WebApp for Kopano
                                          ii  kopano-webapp-plugin-contactfax            3.4.22.1724+981.1                          all          Kopano WebApp fax plugin
                                          ii  kopano-webapp-plugin-desktopnotifications  2.0.1.5+16.2                               all          Kopano WebApp Desktop notifications plugin
                                          ii  kopano-webapp-plugin-filepreviewer         2.0.0.15+10.8                              all          Kopano File previewer plugin
                                          ii  kopano-webapp-plugin-files                 2.1.5.295+194.1                            all          Adds Files functionality to Kopano enabling access to WebDAV and other files backends.
                                          ii  kopano-webapp-plugin-filesbackend-owncloud 2.1.1.84+61.1                              all          Adds Owncloud specific functionality to Kopano Files plugin.
                                          ii  kopano-webapp-plugin-filesbackend-smb      2.1.1.48+49.1                              all          Adds Samba specific functionality to Kopano Files plugin.
                                          ii  kopano-webapp-plugin-folderwidgets         3.4.22.1724+981.1                          all          Kopano WebApp folder widgets plugin
                                          ii  kopano-webapp-plugin-gmaps                 3.4.22.1724+981.1                          all          Kopano WebApp google maps plugin
                                          ii  kopano-webapp-plugin-intranet              0.1+32.8                                   all          This plugin adds one or more buttons in the top menu bar which can be used to open a webpage inside Kopano WebApp.
                                          ii  kopano-webapp-plugin-mattermost            0.1+17.2                                   all          Integrates Mattermost into WebApp
                                          ii  kopano-webapp-plugin-mdm                   2.1.0.106+26.1                             all          Kopano WebApp MDM plugin
                                          ii  kopano-webapp-plugin-pimfolder             3.4.22.1724+981.1                          all          Kopano WebApp personal inbox plugin
                                          ii  kopano-webapp-plugin-quickitems            3.4.22.1724+981.1                          all          Kopano WebApp quick items plugin
                                          ii  kopano-webapp-plugin-spell                 2.0.0.17+34.1                              all          Kopano WebApp Spellchecker plugin
                                          ii  kopano-webapp-plugin-spell-de-at           2.0.0.4+28.1                               all          Kopano WebApp Spellchecker German (Austrian) dictionary plugin
                                          ii  kopano-webapp-plugin-spell-de-ch           2.0.0.5+27.1                               all          Kopano WebApp Spellchecker German (Swiss) dictionary plugin
                                          ii  kopano-webapp-plugin-spell-de-de           2.0.0.3+28.1                               all          Kopano WebApp Spellchecker German dictionary plugin
                                          ii  kopano-webapp-plugin-spell-en              2.0.0.1+28.1                               all          Kopano WebApp Spellchecker English dictionary plugin
                                          ii  kopano-webapp-plugin-spell-en-gb           2.0.0.1+27.1                               all          Kopano WebApp Spellchecker English (GB) dictionary plugin
                                          ii  kopano-webapp-plugin-spell-es              2.0.0.1+27.1                               all          Kopano WebApp Spellchecker Spanish dictionary plugin
                                          ii  kopano-webapp-plugin-spell-fr              2.0.0.1+28.1                               all          Kopano WebApp Spellchecker French dictionary plugin
                                          ii  kopano-webapp-plugin-spell-it              1.0.0+40.1                                 all          Kopano WebApp Spellchecker Italian dictionary plugin
                                          ii  kopano-webapp-plugin-spell-nl              2.0.0.1+29.1                               all          Kopano WebApp Spellchecker Dutch dictionary plugin
                                          ii  kopano-webapp-plugin-spell-pl-pl           2.0.0.0+33.1                               all          Kopano WebApp Spellchecker Polish dictionary plugin
                                          ii  kopano-webapp-plugin-titlecounter          3.4.22.1724+981.1                          all          Kopano WebApp Titlecounter plugin
                                          ii  kopano-webapp-plugin-webappmanual          3.4.22.1724+981.1                          all          Kopano WebApp Manual plugin
                                          ii  kopano-webapp-plugin-zdeveloper            3.4.22.1724+981.1                          all          Kopano WebApp developer plugin
                                          ii  libgsoap-kopano-2.8.62                     2.8.62-0+2.1                               amd64        Runtime libraries for gSOAP
                                          ii  libvmime-kopano1                           0.9.2.50+11.1                              amd64        a C++ mail library (runtime library)
                                          ii  libvmime-kopano1-dbgsym                    0.9.2.50+11.1                              amd64        Debug symbols for libvmime-kopano1
                                          ii  python-kopano                              8.6.81.198-0+35.1                          all          High-level Python 2 bindings for Kopano
                                          ii  python3-kopano                             8.6.81.198-0+35.1                          all          High-level Python 3 bindings for Kopano
                                          ii  z-push-backend-kopano                      2.4.4+0-0                                  all          Z-Push Kopano backend
                                          ii  z-push-kopano                              2.4.4+0-0                                  all          Z-Push for Kopano
                                          
                                          root@kopano:~# apt-cache policy kopano-server
                                          kopano-server:
                                            Installiert:           8.6.81.198-0+35.1
                                            Installationskandidat: 8.6.81.198-0+35.1
                                            Versionstabelle:
                                           *** 8.6.81.198-0+35.1 100
                                                  100 /var/lib/dpkg/status
                                          
                                          

                                          Hopefully this helps finding the problem.
                                          Thank you very much in advance.

                                          Regards,

                                          Alex

                                          P.S.: Actually there is always a high CPU usage of kopano-search, kopano-server and mysqld:

                                          top - 00:03:01 up 2 days,  8:42,  1 user,  load average: 1,31, 1,38, 1,41
                                          Tasks: 127 total,   1 running, 126 sleeping,   0 stopped,   0 zombie
                                          %Cpu(s): 20,4 us,  0,9 sy,  0,0 ni, 69,3 id,  9,3 wa,  0,0 hi,  0,0 si,  0,0 st
                                          KiB Mem :  8045376 total,   140868 free,  7740960 used,   163548 buff/cache
                                          KiB Swap:  4143100 total,  3174024 free,   969076 used.    69448 avail Mem
                                          
                                             PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
                                           43607 kopano    20   0  481320  89756   5544 D  41,7  1,1 665:50.80 kopano-search
                                           32208 kopano    20   0 8185608 6,879g    976 S  22,8 89,7  86:45.45 kopano-server
                                             714 mysql     20   0  763904 170444      0 S  20,5  2,1   1322:28 mysqld
                                           90822 root      20   0   44928   3648   2988 R   0,7  0,0   0:00.04 top
                                             175 root       0 -20       0      0      0 S   0,3  0,0   0:46.38 kworker/3:1H
                                               1 root      20   0  204692   3024   2056 S   0,0  0,0   0:24.93 systemd
                                               2 root      20   0       0      0      0 S   0,0  0,0   0:00.07 kthreadd
                                               3 root      20   0       0      0      0 S   0,0  0,0   0:08.63 ksoftirqd/0
                                          

                                          Perhaps this takes some days till index-process is over. All in all about 80 Gigabyte of attachments and MySQL DB was migrated before.

                                          1 Reply Last reply Reply Quote 0
                                          • Sniks6
                                            Sniks6 last edited by

                                            Just made an update to the actual nightly version:

                                            root@kopano:~# apt-cache policy kopano-server
                                            kopano-server:
                                              Installiert:           8.6.81.228-0+37.1
                                              Installationskandidat: 8.6.81.228-0+37.1
                                              Versionstabelle:
                                             *** 8.6.81.228-0+37.1 100
                                                    100 /var/lib/dpkg/status
                                            

                                            and:

                                            root@kopano:~# dpkg -l | grep kopano
                                            ii  kopano-backup                              8.6.81.228-0+37.1                          amd64        Utility to back up and restore Kopano stores
                                            ii  kopano-bash-completion                     8.6.81.228-0+37.1                          amd64        bash TAB completion for Kopano Core command-line utilities
                                            ii  kopano-client                              8.6.81.228-0+37.1                          amd64        Kopano MAPI provider library
                                            ii  kopano-client-dbgsym                       8.6.81.228-0+37.1                          amd64        Debug symbols for kopano-client
                                            ii  kopano-common                              8.6.81.228-0+37.1                          amd64        Shared files for Kopano services
                                            ii  kopano-contacts                            8.6.81.228-0+37.1                          amd64        MAPI provider adding contact folders in the addressbook
                                            ii  kopano-dagent                              8.6.81.228-0+37.1                          amd64        E-Mail Delivery Agent for Kopano Core
                                            ii  kopano-dagent-dbgsym                       8.6.81.228-0+37.1                          amd64        Debug symbols for kopano-dagent
                                            ii  kopano-dbg                                 8.6.81.228-0+37.1                          amd64        Debug symbols for Kopano Core
                                            ii  kopano-dev                                 8.6.81.228-0+37.1                          amd64        C++ Development files for Kopano Core
                                            ii  kopano-gateway                             8.6.81.228-0+37.1                          amd64        POP3 and IMAP Gateway for Kopano Core
                                            ii  kopano-gateway-dbgsym                      8.6.81.228-0+37.1                          amd64        Debug symbols for kopano-gateway
                                            ii  kopano-ical                                8.6.81.228-0+37.1                          amd64        ICal and CalDAV Gateway for Kopano Core
                                            ii  kopano-ical-dbgsym                         8.6.81.228-0+37.1                          amd64        Debug symbols for kopano-ical
                                            ii  kopano-lang                                8.6.81.228-0+37.1                          all          Translations for Kopano Core components
                                            ii  kopano-migration-imap                      8.6.81.228-0+37.1                          amd64        Utility to migrate between IMAP mailboxes
                                            ii  kopano-migration-pst                       8.6.81.228-0+37.1                          amd64        Utility to import PST files
                                            ii  kopano-monitor                             8.6.81.228-0+37.1                          amd64        Quota Monitor for Kopano Core
                                            ii  kopano-monitor-dbgsym                      8.6.81.228-0+37.1                          amd64        Debug symbols for kopano-monitor
                                            ii  kopano-presence                            8.6.81.228-0+37.1                          amd64        kopano presence daemon
                                            ii  kopano-python-utils                        8.6.81.228-0+37.1                          amd64        Additional Python-based command-line utils for Kopano Core
                                            ii  kopano-search                              8.6.81.228-0+37.1                          amd64        Indexed search engine for Kopano Core
                                            ii  kopano-server                              8.6.81.228-0+37.1                          amd64        Server component for Kopano Core
                                            ii  kopano-server-dbgsym                       8.6.81.228-0+37.1                          amd64        Debug symbols for kopano-server
                                            ii  kopano-server-packages                     8.6.81.228-0+37.1                          all          Metapackage to install the entire Kopano Core stack
                                            ii  kopano-spamd                               8.6.81.228-0+37.1                          amd64        ICS-driven spam learning daemon for Kopano/SpamAssasin
                                            ii  kopano-spooler                             8.6.81.228-0+37.1                          amd64        E-mail Spooler for Kopano Core
                                            ii  kopano-spooler-dbgsym                      8.6.81.228-0+37.1                          amd64        Debug symbols for kopano-spooler
                                            ii  kopano-utils                               8.6.81.228-0+37.1                          amd64        Admin command-line utils for Kopano Core
                                            ii  kopano-utils-dbgsym                        8.6.81.228-0+37.1                          amd64        Debug symbols for kopano-utils
                                            ii  kopano-webapp                              3.4.22.1724+981.1                          all          New and improved WebApp for Kopano
                                            ii  kopano-webapp-plugin-contactfax            3.4.22.1724+981.1                          all          Kopano WebApp fax plugin
                                            ii  kopano-webapp-plugin-desktopnotifications  2.0.1.5+16.2                               all          Kopano WebApp Desktop notifications plugin
                                            ii  kopano-webapp-plugin-filepreviewer         2.0.0.15+10.8                              all          Kopano File previewer plugin
                                            ii  kopano-webapp-plugin-files                 2.1.5.295+194.1                            all          Adds Files functionality to Kopano enabling access to WebDAV and other files backends.
                                            ii  kopano-webapp-plugin-filesbackend-owncloud 2.1.1.84+61.1                              all          Adds Owncloud specific functionality to Kopano Files plugin.
                                            ii  kopano-webapp-plugin-filesbackend-smb      2.1.1.48+49.1                              all          Adds Samba specific functionality to Kopano Files plugin.
                                            ii  kopano-webapp-plugin-folderwidgets         3.4.22.1724+981.1                          all          Kopano WebApp folder widgets plugin
                                            ii  kopano-webapp-plugin-gmaps                 3.4.22.1724+981.1                          all          Kopano WebApp google maps plugin
                                            ii  kopano-webapp-plugin-intranet              0.1+32.8                                   all          This plugin adds one or more buttons in the top menu bar which can be used to open a webpage inside Kopano WebApp.
                                            ii  kopano-webapp-plugin-mattermost            0.1+17.2                                   all          Integrates Mattermost into WebApp
                                            ii  kopano-webapp-plugin-mdm                   2.1.0.106+26.1                             all          Kopano WebApp MDM plugin
                                            ii  kopano-webapp-plugin-pimfolder             3.4.22.1724+981.1                          all          Kopano WebApp personal inbox plugin
                                            ii  kopano-webapp-plugin-quickitems            3.4.22.1724+981.1                          all          Kopano WebApp quick items plugin
                                            ii  kopano-webapp-plugin-spell                 2.0.0.17+34.1                              all          Kopano WebApp Spellchecker plugin
                                            ii  kopano-webapp-plugin-spell-de-at           2.0.0.4+28.1                               all          Kopano WebApp Spellchecker German (Austrian) dictionary plugin
                                            ii  kopano-webapp-plugin-spell-de-ch           2.0.0.5+27.1                               all          Kopano WebApp Spellchecker German (Swiss) dictionary plugin
                                            ii  kopano-webapp-plugin-spell-de-de           2.0.0.3+28.1                               all          Kopano WebApp Spellchecker German dictionary plugin
                                            ii  kopano-webapp-plugin-spell-en              2.0.0.1+28.1                               all          Kopano WebApp Spellchecker English dictionary plugin
                                            ii  kopano-webapp-plugin-spell-en-gb           2.0.0.1+27.1                               all          Kopano WebApp Spellchecker English (GB) dictionary plugin
                                            ii  kopano-webapp-plugin-spell-es              2.0.0.1+27.1                               all          Kopano WebApp Spellchecker Spanish dictionary plugin
                                            ii  kopano-webapp-plugin-spell-fr              2.0.0.1+28.1                               all          Kopano WebApp Spellchecker French dictionary plugin
                                            ii  kopano-webapp-plugin-spell-it              1.0.0+40.1                                 all          Kopano WebApp Spellchecker Italian dictionary plugin
                                            ii  kopano-webapp-plugin-spell-nl              2.0.0.1+29.1                               all          Kopano WebApp Spellchecker Dutch dictionary plugin
                                            ii  kopano-webapp-plugin-spell-pl-pl           2.0.0.0+33.1                               all          Kopano WebApp Spellchecker Polish dictionary plugin
                                            ii  kopano-webapp-plugin-titlecounter          3.4.22.1724+981.1                          all          Kopano WebApp Titlecounter plugin
                                            ii  kopano-webapp-plugin-webappmanual          3.4.22.1724+981.1                          all          Kopano WebApp Manual plugin
                                            ii  kopano-webapp-plugin-zdeveloper            3.4.22.1724+981.1                          all          Kopano WebApp developer plugin
                                            ii  libgsoap-kopano-2.8.62                     2.8.62-0+2.1                               amd64        Runtime libraries for gSOAP
                                            ii  libvmime-kopano1                           0.9.2.50+11.1                              amd64        a C++ mail library (runtime library)
                                            ii  libvmime-kopano1-dbgsym                    0.9.2.50+11.1                              amd64        Debug symbols for libvmime-kopano1
                                            ii  python-kopano                              8.6.81.228-0+37.1                          all          High-level Python 2 bindings for Kopano
                                            ii  python3-kopano                             8.6.81.228-0+37.1                          all          High-level Python 3 bindings for Kopano
                                            ii  z-push-backend-kopano                      2.4.4+0-0                                  all          Z-Push Kopano backend
                                            ii  z-push-kopano                              2.4.4+0-0                                  all          Z-Push for Kopano
                                            

                                            Let’s see if this changes anything.
                                            I’m still not completely desperate :-)

                                            Regards,

                                            Alex

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post