Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39645

Upgrade: PHP warnings about cache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.4.3
    • Fix Version/s: None
    • Component/s: Caching, Installation
    • Labels:
      None
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      Stress test CLI concurrency.

      Perform a fresh install of 2.3
      Switch to the master branch.
      Start upgrading the site through CLI.
      Open a browser and head to the site.
      Keep refreshing the page (very fast e.g. hold down ctrl + r).

      => at one moment I saw one:

      [Mon May 13 15:28:45 2013] [error] [client 127.0.0.1] PHP Warning: md5_file(/private/var/phpu_moodledata/integration/cache/cachestore_file/default_application/core_config/33b/Wabn6Agl5g.5190962def4a27.79735409.temp): failed to open stream: No such file or directory in /Users/jerome/Sites/integration/cache/stores/file/lib.php on line 681

      Test upgrade running concurrency.

      Browser 1 display correctly the plugin confirmation page
      Browser 1 clicks on Upgrade database button
      Browser 2 refresh and see the course page without CSS and with this warning:

      Warning: fopen(/var/phpu_moodledata/altcache/core_pluginlist/mod/mod-f9d6c1387021d10b2fed10168999ed47.cache): failed to open stream: No such file or directory in /Users/jerome/Sites/integration/cache/stores/file/lib.php on line 339
      Skip to main content

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samhemelryk Sam Hemelryk
                Reporter:
                jerome Jérôme Mouneyrac
                Participants:
                Component watchers:
                Matteo Scaramuccia, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Matteo Scaramuccia, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: