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

Forum digest sending breaks the cron task and don't send the messages

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7, 1.7.1, 1.7.2, 1.7.3, 1.8, 1.8.1, 1.8.2, 1.8.3
    • 1.8.4
    • Forum, Performance
    • None
    • Debian 4.0 / Apache 2.2.3 / PHP 5.2.0 / MySQl 5.0.32
    • MySQL
    • MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_18_STABLE

    Description

      We have a Moodle installation with more than 3000 users and 300 courses.
      Most users want the forum digest sending feature but it doesn't work well for us.
      Every attemp with the cron task hangs without explanation when trying to send digests.
      The cron report ends at "Sending forum digests:" line
      The normal message sending works well.
      After increasing "memory_limit" to 256M and "max_execution_time" to 600 the problem persists. The script uses a lot of CPU and time without success.
      Another installation with the same code in the same server using the same SMTP, but with fewer users works well.

      Attachments

        1. patch-12231.txt
          23 kB
        2. patch-12321.txt
          28 kB
        3. patch-12321.txt
          28 kB

        Issue Links

          Activity

            People

              scyrma Mathieu Petit-Clair
              generazion Generazion Consulting S.L.
              Adrian Greeve, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jan/08