Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter elig7

    (@elig7)

    Can you please explain what exactly are
    define(‘DOCKET_CACHE_PRELOAD’, false);
    define(‘DOCKET_CACHE_PAGELOADER’, true);

    Are they relevant only to the wordpress administration?

    Thanks

    Thread Starter elig7

    (@elig7)

    Thank you for your respond,
    It is actually more of high availability solution, both instances serve the same website, it is working for all other plugins.
    For docket so far I can see in terms of functionality the site is behaving ok, I am just trying to figure out what query keeps on changing that they are missed and not cached.

    Can you explain what DOCKET_CACHE_DEV do? it is not in the doc.
    What will setting DOCKET_CACHE_PRECACHE to false do? what is the expected impact?

    Thanks

    Thread Starter elig7

    (@elig7)

    Great, I will try and update with logs and findings,
    Thanks again for looking into it.

    Thread Starter elig7

    (@elig7)

    @nawawijamili thank you for the prompt response,
    I will look into the cron issue however if I am pressing the manual GC, don’t you agree that the GC should have run and prune the expired resources? I get success feedback, I am waiting extra time but there is no change in the Object Cache Stats or any other metrics for in the overview tab.

    Could it be it is not working if using DOCKET_CACHE_CONTENT_PATH?
    Is there someting in the log I can look for?

    Thanks

    Thread Starter elig7

    (@elig7)

    Hi Again and thank you so much for this fine help,

    I installed the latest version and I am using the new parameter DOCKET_CACHE_CONTENT_PATH + wrapper and it works perfectly.

    I have serious concern regarding the GC and memory management:

    1. GC is never run automatically and when I trigger it manually it complete successfully however as I understood from your prevues response, expired files should be set to 0 but in fact I see 0 files of that size, am I missing someting?

    2. Second problem is the cached files are now part of the opcache.max_accelerated_files but even if you will set those to 0 the php opcache never cleaned them and very fast this max file is reached and the server keeps restarting.

    3. I set DOCKET_CACHE_MAXFILE to 15000 so I can see what happen when this limit is reached and the files keep on accumulating way after this value. Any idea?

    Thanks

    Thread Starter elig7

    (@elig7)

    Amazing exactly what I needed, I will try and update…
    So if ‘DOCKET_CACHE_CONTENT_PATH’ is define, will it also place the object-cache.php file in it?

    Thread Starter elig7

    (@elig7)

    Thank you for the prompt response it is very helpful,
    Because of a unique installation and permission model the plugin don’t have permission to write to wp-content so I added the object-cache.php file to enable the plugin and set DOCKET_CACHE_PATH , DOCKET_CACHE_DATA_PATH and DOCKET_CACHE_LOG_FILE to the ram disk with more permissive options.
    Are there more files that the plugin needs to write to the disk?

    The cron service security-wise is not an option, does the cron tasks suppose to work without it? for now looks like tasks are skipped and the gc never run, any idea why? do we need to implement a call to it?

    Thanks,
    Eli

Viewing 7 replies - 1 through 7 (of 7 total)