• Resolved wpshushu

    (@wpshushu)


    I added this into wp-config.php

    define( 'WP_SQLITE_OBJECT_CACHE_DB_FILE', '/tmp/mysite-object-cache.sqlite' );
    

    one .sqlite file under /tmp/ does appear (with random salt in the middle of the file name), but it’s a small file, the big files located under wp-content/ are still growing. There are 4 sqlite related files under wp-content/ with old names:

    .ht.object-cache.salt.sqlite

    .ht.object-cache.salt.sqlite-shm

    .ht.object-cache.salt.sqlite-wal

    .ht.object-cache.sqlite

    How can I move all of them to /tmp/?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter wpshushu

    (@wpshushu)

    I deactivated the plugin, deleted .sqlite files under wp-content, reactivated the plugin, now files are created under /tmp/ – as expected.

    Plugin Author OllieJones

    (@olliejones)

    Thanks for the feedback.

    Notice that some operating systems, Linux Ubuntu in particular, have a feature to automatically create subdirectories under /tmp/ to give an extra measure of security.

    Thread Starter wpshushu

    (@wpshushu)

    @olliejones I configured the files to be directly under /tmp/, is it better to put it under a subdirectory?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.