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

Amount of compiled template cache files is reaching the limit

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: High High
    • Resolution: Unresolved
    • Affects Version/s: 4.1.3, 4.2.0, 4.3.0
    • Fix Version/s: None
    • Component/s: Caching
    • Labels:
      None

      Description

      Hi,

      at one installation we have 18 siteaccesses and a lot of extensions and templates...

      Currently we have like 12.000 files in the template/compiled directory. But if we use the eztc.php script which generates a compiled file for each template (no matter if its used or not), we have like 1.200 files per siteaccess.

      The linux limit is 32.000 files per directory.

      So we need sub directories there. Whats about the idea taking the siteaccess as directory?

      var/cache/template/compiled/mysite/

      So we would solving two problems: First of all we can delete compiled files per site access and we have enough room for the templates...

      Best wishes,
      Georg.

        Issue Links

          Activity

          Georg Franz created issue -
          Hide
          Gaetano Giunta added a comment -

          not a definitive solution, but using ext4, you get 64000 files per dir

          Show
          Gaetano Giunta added a comment - not a definitive solution, but using ext4, you get 64000 files per dir
          André Rømcke made changes -
          Field Original Value New Value
          Workflow eZ Community Workflow [ 20411 ] eZ Engineering Scrumban Workflow [ 35136 ]
          André Rømcke made changes -
          Workflow eZ Engineering Scrumban Workflow [ 35136 ] EZ* Development Workflow [ 68400 ]
          Alex Schuster made changes -
          Workflow EZ* Development Workflow [ 68400 ] EZEE Development Workflow [ 106578 ]

            People

            • Assignee:
              unknown
              Reporter:
              Georg Franz
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: