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-cachestat (Core 8.7.0)

    Kopano Groupware Core
    2
    2
    246
    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.
    • xthbx
      xthbx last edited by xthbx

      Hi,

      after upgrading to kopano-core 8.7 on Ubuntu 18.04 running kopano-cachestat i get the following message:

      kopano-cachestat
      Traceback (most recent call last):
        File "/usr/sbin/kopano-cachestat", line 7, in <module>
          import kopano
      ImportError: No module named kopano
      

      /usr/sbin/kopano-cachestat

      **#! /usr/bin/python2
      # SPDX-License-Identifier: AGPL-3.0-only
      
      from collections import defaultdict
      from datetime import datetime
      
      import kopano
      from MAPI.Tags import PR_EC_STATSTABLE_SYSTEM, PR_DISPLAY_NAME_W, PR_EC_STATS_SYSTEM_VALUE, PR_EC_STATS_SYSTEM_DESCRIPTION**
      

      i’m pretty sure it worked before the upgrade

      regards,
      Thomas

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

        At least in core-8.7.80.529-Ubuntu_18.04-amd64 kopano-cachestat is working:

        root@server:~# kopano-cachestat 
        Kopano Cache Statistics
          Server start time: b'Wed Jan 30 12:17:52 2019'
          Current time     : Fri Feb  8 10:56:01 2019
        
             Cache                Hit ratio                  Mem usage ratio
              cell (   224838290/   225394483) (99%)   (   203173926/  2185232384) ( 9%)
            abinfo (     5792911/     5792966) (99%)   (        9568/    26214400) ( 0%)
               obj (    37307767/    37341267) (99%)   (     5169472/    67108864) ( 7%)
             store (    12902815/    12921698) (99%)   (      736032/     1048576) (70%)
            server (           0/           0) (N/A)   (           0/     1048576) ( 0%)
            userid (     7773214/     8078082) (96%)   (        7904/     1048576) ( 0%)
               acl (         215/         221) (97%)   (         600/     1048576) ( 0%)
            extern (     2614014/     2696750) (96%)   (        6536/     1048576) ( 0%)
            uquota (      883137/      908505) (97%)   (         312/     1048576) ( 0%)
            index2 (    22745106/    22963788) (99%)   (     6739144/    33554432) (20%)
             quota (      872037/      931742) (93%)   (         728/     1048576) ( 0%)
            index1 (     2736582/    16475802) (16%)   (     7150768/    33554432) (21%)```
        1 Reply Last reply Reply Quote 0
        • First post
          Last post