Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Deferred
    • Affects Version/s: 1.9.9, 2.3.1
    • Fix Version/s: None
    • Component/s: Forum
    • Labels:
    • Environment:
      1.9.9+ (Build: 20100804), RedHat
    • Database:
      Any
    • Testing Instructions:
      Hide

      Prerequisites: You must a moodle with email sending enabled. It is useful to use $CFG->divertallemailto = '';

      1. Create a new course
      2. Enrol 10 users to the course
      3. Create a new standard forum, forced subscription
      4. Go to Forum > Settings > Show/Edit current subscribers
      5. VERIFY: that the 10 users are subscribed
      6. Change the settings to forum subscription to optional
      7. Go to Forum > Settings > Show/Edit current subscribers
      8. VERFIY: no users are subscribed
      9. Turn editing on
      10. Subscribe one of the users
      11. Turn editing off
      12. VERIFY: the user you enrolled is subscribed
      13. Subscribe another two users.
      14. Add a new post to the forum, click the 'mailnow' tickbox.
      15. Run cron manually.
      16. VERIFY: that the 3 users you subscribed received the email
      Show
      Prerequisites: You must a moodle with email sending enabled. It is useful to use $CFG->divertallemailto = ''; Create a new course Enrol 10 users to the course Create a new standard forum, forced subscription Go to Forum > Settings > Show/Edit current subscribers VERIFY: that the 10 users are subscribed Change the settings to forum subscription to optional Go to Forum > Settings > Show/Edit current subscribers VERFIY: no users are subscribed Turn editing on Subscribe one of the users Turn editing off VERIFY: the user you enrolled is subscribed Subscribe another two users. Add a new post to the forum, click the 'mailnow' tickbox. Run cron manually. VERIFY: that the 3 users you subscribed received the email
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:

      Description

      We have a suggestion to fix this issue by limiting the get_record parameters cached while processing the digest items and raising the forum cron to use 256Mb.

      Processing email digest for user 4366... PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 104 bytes) in /git/moodle/lib/weblib.php on line 1728

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: