Announcement

Collapse
No announcement yet.

Optimumcache - not doing much?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Optimumcache - not doing much?

    I have a server which has only WordPress sites on it. Around 400 of them. So I thought that Optimumcache would be caching many files.
    I installed it a few days ago. These are the results:

    df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 1.8T 1.3T 449G 75% /
    tmpfs 16G 8.0K 16G 1% /dev/shm
    /dev/md0 221G 28G 182G 14% /var
    /usr/tmpDSK 4.0G 256M 3.5G 7% /tmp
    /var/share/optimumcache/DiskDescriptor.xml

    Code:
                           24G   16G  7.1G  69% /var/cache/optimumcache
    Code:
    # optimumcache stat
    
    csums:        3279 (0.1%)
    
    fetched   uncached     cached percentage  de-duplication coefficient
    
    inodes:    2565371    2562092       3279       0.1%                        0.1%
    
    size,kB: 180697235  180653167      44067       0.0%                        0.0%
    
    RAM,kB:   13927220   13895908      31312       0.2%                        0.2%
    Surely these figures should be higher? Or is this to be expected?

  • #2
    This numbers tells that there are very few files having csums (0.1%) in Linux FS cache -

    > # optimumcache stat
    > csums: 3279 (0.1%)
    > fetched
    > inodes: 2565371
    > ...

    List files in Linux FS cache having no csums -

    Code:
    # optimumcache dump --all --resolve-filenames | grep -w f:cp | sort -k7
    If you see that wordpress files are there, then wordpress files marking step most probably was failed.

    It might happen that mark process has not finished correctly. Could you please list -

    Code:
    # grep optimumcache mark /var/log/messages*
    and

    Code:
    # cat /var/share/optimumcache_store
    Thanks.

    Comment


    • #3
      Hello Bogdan

      # grep optimumcache mark /var/log/messages*

      no result

      # cat /var/share/optimumcache_store

      optimumcache mark --recursive /home
      optimumcache mark --recursive /home
      optimumcache unmark --recursive /home

      Comment


      • #4
        It appears you unmark everything with the last command. You have to mark again with:

        Code:
        optimumcache mark --recursive /home

        Comment

        Working...
        X