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

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 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
    • Fix Version/s: 1.8.4
    • Component/s: Forum, Performance
    • Labels:
      None
    • Environment:
      Debian 4.0 / Apache 2.2.3 / PHP 5.2.0 / MySQl 5.0.32
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      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

              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Jan/08