Details

      Description

      When ViewCaching is disabled for a node using cache_ttl=0 and stalecache is used (either with eZDB or eZFS2), webserver connexions may remain opened.

      The fact is that since processCache() needs to execute the template to receive the nocache advice, generation for the cache item is always started even though no cache should be generated.

      The only workaround at the moment is to disable ViewCaching for this specific node using the CacheTweaks[xxx]=disabled parameter in site.ini.

      One possible way for a next release would be to save a cache file that will be used to tell processCache that no cache should be stored and generation should not be started.

        Activity

        Hide
        Bertrand Dunogier added a comment -

        Fixed in eZ Publish trunk (4.2.0b1) rev. 23939.

        Show
        Bertrand Dunogier added a comment - Fixed in eZ Publish trunk (4.2.0b1) rev. 23939.
        Hide
        Damien Pobel added a comment -

        In reply to comment #048308
        No fix for the 4.1 branch ?

        Show
        Damien Pobel added a comment - In reply to comment #048308 No fix for the 4.1 branch ?
        Hide
        Bertrand Dunogier added a comment -

        In reply to comment #048309
        Hi Damien,

        yes, this fix will probably be applied to 4.1 too. But as the 4.2 beta release is getting close, we're focusing on this one, and this patch is more invasive that originally planned.

        Show
        Bertrand Dunogier added a comment - In reply to comment #048309 Hi Damien, yes, this fix will probably be applied to 4.1 too. But as the 4.2 beta release is getting close, we're focusing on this one, and this patch is more invasive that originally planned.
        Hide
        Bertrand Dunogier added a comment -

        In reply to comment #048310
        Backported to release/4.1.4 (will be merged to stable/4.1), rev. 24108.

        Show
        Bertrand Dunogier added a comment - In reply to comment #048310 Backported to release/4.1.4 (will be merged to stable/4.1), rev. 24108.
        Hide
        ezrobot added a comment -

        This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

        Show
        ezrobot added a comment - This issue has been automatically closed due to the lack of activity over a long period of time. It is very likely that it is obsolete, but if you think it is still valid, do not hesitate to reopen it and mention why.

          People

          • Assignee:
            Bertrand Dunogier
            Reporter:
            Bertrand Dunogier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: