Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Component/s: moodle.org
    • Labels:
    • Rank:
      44923

      Description

      This condition existed for a couple weeks (MDLSITE-1834) and then was fixed. Is now recurring though I got my 10/16 digest on 10/20. Nothing since.

        Issue Links

          Activity

          Hide
          Helen Foster added a comment -

          Bob, thanks for your report.

          Dan, as moodle.org forums notification expert, I've added you as a watcher hoping you have some ideas.

          Show
          Helen Foster added a comment - Bob, thanks for your report. Dan, as moodle.org forums notification expert, I've added you as a watcher hoping you have some ideas.
          Hide
          Robert Puffer added a comment -

          Additional info, was suggested I try just headers rather than entire messages in the digest. This did not change the situation.

          Show
          Robert Puffer added a comment - Additional info, was suggested I try just headers rather than entire messages in the digest. This did not change the situation.
          Hide
          Dan Poltawski added a comment -

          Had a look in the logs and it seems to be failing mid-cron again at some points

          Show
          Dan Poltawski added a comment - Had a look in the logs and it seems to be failing mid-cron again at some points
          Hide
          Robert Puffer added a comment -

          I got headers last night so switching to the useful full posts to see if I can get those.

          Show
          Robert Puffer added a comment - I got headers last night so switching to the useful full posts to see if I can get those.
          Hide
          Robert Puffer added a comment -

          And so I didn't get the digest this morning with full subjects.

          Show
          Robert Puffer added a comment - And so I didn't get the digest this morning with full subjects.
          Hide
          Dan Poltawski added a comment -

          Hi Matt,

          Can you look into this (I am too busy with integration until 2.4 release).

          It looks like the moodle cronjob is terminating early from the logs. Could be running out of memory, that was the theory last time.

          Show
          Dan Poltawski added a comment - Hi Matt, Can you look into this (I am too busy with integration until 2.4 release). It looks like the moodle cronjob is terminating early from the logs. Could be running out of memory, that was the theory last time.
          Hide
          Matt Sharpe (Inactive) added a comment -

          Cron was terminating early due to what looks like lack of memory. The script has been increased in allowance and appears to have at least parsed over email properly. Could somebody confirm they got today's digest?

          Show
          Matt Sharpe (Inactive) added a comment - Cron was terminating early due to what looks like lack of memory. The script has been increased in allowance and appears to have at least parsed over email properly. Could somebody confirm they got today's digest?
          Hide
          Robert Puffer added a comment -

          I received my Moodle digest today. Thanks.

          Show
          Robert Puffer added a comment - I received my Moodle digest today. Thanks.
          Hide
          Matt Sharpe (Inactive) added a comment -

          Set Cron to use more memory for the email handling (256MB -> 1024MB). This appears sufficient although other parts of the cron seemed to time out.

          Helen, if you could keep and eye on the digests and make sure they're going through for the new few days? Please close the issue if so or otherwise let me know and I'll dig a little deeper.

          Show
          Matt Sharpe (Inactive) added a comment - Set Cron to use more memory for the email handling (256MB -> 1024MB). This appears sufficient although other parts of the cron seemed to time out. Helen, if you could keep and eye on the digests and make sure they're going through for the new few days? Please close the issue if so or otherwise let me know and I'll dig a little deeper.
          Hide
          Robert Puffer added a comment -

          I did not get a digest today.

          Show
          Robert Puffer added a comment - I did not get a digest today.
          Hide
          Helen Foster added a comment -

          Robert, thanks for your feedback. Reopening as it seems the problem remains unresolved. (See also MDLSITE-1975.)

          Show
          Helen Foster added a comment - Robert, thanks for your feedback. Reopening as it seems the problem remains unresolved. (See also MDLSITE-1975 .)
          Hide
          Robert Puffer added a comment -

          Got a digest today but wondering if that's only because traffic over the weekend is lighter.

          Show
          Robert Puffer added a comment - Got a digest today but wondering if that's only because traffic over the weekend is lighter.
          Hide
          Matt Sharpe (Inactive) added a comment -

          Traffic has little to do with it, it's more the amount of memory PHP takes up generating the lists of stuff. I find it hard to believe it's more than 1GB though. Further investigation has shown memory is generally fine for this. Dan, can I ask the devs to take a look because this has to be a code issue. I understand if you're busy with integration for 2.4, feel free to pass this on to someone else if need be, I'll give full access to the required logs and servers as needed.

          Show
          Matt Sharpe (Inactive) added a comment - Traffic has little to do with it, it's more the amount of memory PHP takes up generating the lists of stuff. I find it hard to believe it's more than 1GB though. Further investigation has shown memory is generally fine for this. Dan, can I ask the devs to take a look because this has to be a code issue. I understand if you're busy with integration for 2.4, feel free to pass this on to someone else if need be, I'll give full access to the required logs and servers as needed.
          Hide
          Martin Dougiamas added a comment -

          Traffic is totally related to it, Matt. More traffic on forums == more posts == more data to email == more ram taken up in cron.

          Show
          Martin Dougiamas added a comment - Traffic is totally related to it, Matt. More traffic on forums == more posts == more data to email == more ram taken up in cron.
          Hide
          Helen Foster added a comment -

          I set my moodle.org profile email digest type to 'complete' in order to test this issue and have just received one digest mail today containing one forum post from Friday 2 Nov.

          Show
          Helen Foster added a comment - I set my moodle.org profile email digest type to 'complete' in order to test this issue and have just received one digest mail today containing one forum post from Friday 2 Nov.
          Hide
          Robert Puffer added a comment -

          Got another digest today. Thanks.

          Show
          Robert Puffer added a comment - Got another digest today. Thanks.
          Hide
          Robert Puffer added a comment -

          I did not get a digest today so being now into the week I'd guess its still a memory issue because of the increased volume.

          Show
          Robert Puffer added a comment - I did not get a digest today so being now into the week I'd guess its still a memory issue because of the increased volume.
          Hide
          Robert Puffer added a comment -

          Bit more info, eliminated the Quiz forum (lots of volume) from my digest and got one for Friday (busy day).

          Show
          Robert Puffer added a comment - Bit more info, eliminated the Quiz forum (lots of volume) from my digest and got one for Friday (busy day).
          Hide
          Robert Puffer added a comment -

          Alas... nothing Sat, Sun or today.

          Show
          Robert Puffer added a comment - Alas... nothing Sat, Sun or today.
          Hide
          Robert Puffer added a comment -

          Got one today, first in a bit over a week

          Show
          Robert Puffer added a comment - Got one today, first in a bit over a week
          Hide
          Robert Puffer added a comment -

          got one HUGE one today dating back to 11/20

          Show
          Robert Puffer added a comment - got one HUGE one today dating back to 11/20
          Hide
          Dan Poltawski added a comment -

          Hmm, that is curious Robert. We upgraded to 2.4 today on moodle.org. Though I don't believe there should be changes relating to forum specifically.

          Show
          Dan Poltawski added a comment - Hmm, that is curious Robert. We upgraded to 2.4 today on moodle.org. Though I don't believe there should be changes relating to forum specifically.
          Hide
          Robert Puffer added a comment -

          Got another one today. Haven't had two in a row for quite a while. Maybe 2.4 mysteriously fixed it. Thanks.

          Show
          Robert Puffer added a comment - Got another one today. Haven't had two in a row for quite a while. Maybe 2.4 mysteriously fixed it. Thanks.
          Hide
          Robert Puffer added a comment -

          I'm getting consistent. Feel like this could be closed. Thank you for 2.4.

          Show
          Robert Puffer added a comment - I'm getting consistent. Feel like this could be closed. Thank you for 2.4.
          Hide
          Dan Poltawski added a comment -

          Thanks, will close this.

          (Though i'd would have liked to have found out what the problem was )

          Show
          Dan Poltawski added a comment - Thanks, will close this. (Though i'd would have liked to have found out what the problem was )

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development