• Resolved bigbluesquid

    (@bigbluesquid)


    I’m getting repeated symlink, race condition errors in my control panel from Comet Cache and wondered if I can resolve them (I’ve removed a portion of the URL for posting):

    2017-05-25 09:33:48.242 [NOTICE] [108.162.246.51:18752] [STDERR] PHP Warning: symlink() has been disabled for security reasons in [URL REMOVED]/wp-content/plugins/comet-cache/src/includes/traits/Ac/ObUtils.php on line 372

    2017-05-25 09:33:48.243 [NOTICE] [108.162.246.51:18752] [STDERR] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Unable to create symlink: [URL REMOVED]/wp-content/cache/comet-cache/cache/http/www-glutenfreeireland-com/pa-itemdimensions-sitemap-xml.html .. [URL REMOVED]/wp-content/cache/comet-cache/cache/http/www-glutenfreeireland-com/----404----.html. Possible permissions issue (or race condition), please check your cache directory: [URL REMOVED]/wp-content/cache/comet-cache/cache.’ in [URL REMOVED]/wp-content/plugins/comet-cache/src/includes/traits/Ac/ObUtils.php:373

Viewing 2 replies - 1 through 2 (of 2 total)
  • @bigbluesquid The only thing that Comet Cache uses symlinks for is the 404 Error Page caching (Comet Cache → Plugin Options → 404 Requests). Since the 404 Error Page is the same regardless of where it’s loaded from, Comet Cache creates a single 404 Error Page cache file and then symlinks other 404 cache file paths to that original 404 Error Page cache file. This improves performance and saves disk space.

    If your hosting service disables the PHP symlink() function, you can simply disable the 404 Error Caching feature in Comet Cache (see Comet Cache → Plugin Options → 404 Requests) and that should resolve the issue for you.

    Thread Starter bigbluesquid

    (@bigbluesquid)

    Thank you very much, I’ve made the changes.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Symlink errors in CPanel’ is closed to new replies.