Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20443

Purge cache problem with a lot of site accesses

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Medium Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      eZ Publish 4.3 in non- cluster mode.

      Description

      In a FS configuration with a large number of siteaccesses (customer mentions about 150), cache will not be purged when the "php bin/php/ezcache.php --clear-all --purge" command is issued from the command line.

        Activity

        Show
        Patrick Allaert (Inactive) added a comment - Pull request at: https://github.com/ezsystems/ezpublish-legacy/pull/577
        Show
        Patrick Allaert (Inactive) added a comment - Fixed in: eZ Publish master (merge commit): https://github.com/ezsystems/ezpublish-legacy/commit/20ac8f384f1d7676914e2d316b9ee4ff839941d5 eZ Publish master: https://github.com/ezsystems/ezpublish-legacy/commit/708c48a1d300db01a6e12a0597dffff914bb2d86
        Hide
        Paulo Bras (Inactive) added a comment -

        the "with a lot of siteaccesses" seems like a hard way to reproduce. the glob() ( http://www.php.net/manual/en/function.glob.php ) will throw a warning when the the pattern is more than 4096 chars long.

        so, instead of "a lot" of siteaccesses, "a few" with very long names also works, as long as the sum of the SA names is bigger than 4096 chars.

        Show
        Paulo Bras (Inactive) added a comment - the "with a lot of siteaccesses" seems like a hard way to reproduce. the glob() ( http://www.php.net/manual/en/function.glob.php ) will throw a warning when the the pattern is more than 4096 chars long. so, instead of "a lot" of siteaccesses, "a few" with very long names also works, as long as the sum of the SA names is bigger than 4096 chars.
        Hide
        Patrick Allaert (Inactive) added a comment -

        Indeed Paulo, this is what I was about to suggest.

        Show
        Patrick Allaert (Inactive) added a comment - Indeed Paulo, this is what I was about to suggest.
        Hide
        Joao Pingo (Inactive) added a comment -

        Tested using tc-1530 on ezp4.3 and in master branch
        Tests Passed .... Approved by QA

        Show
        Joao Pingo (Inactive) added a comment - Tested using tc-1530 on ezp4.3 and in master branch Tests Passed .... Approved by QA

          People

          • Assignee:
            Unassigned
            Reporter:
            Nuno Oliveira (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 3 days, 1 hour, 15 minutes
              3d 1h 15m