Moodle

Some users seem to break the forum digests

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Won't Fix
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9
  • Component/s: Forum
  • Labels:
    None
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

After improving and fixing digests memory usage and robustness, it seems that cron execution is stopped 3-4 times each day. After some debugging, it seems that some users cause the process to die every-day (note that it isn't critical because, after MDL-11657, things will continue in next execution).

But it's far from perfect so I'm debugging a bit more cron execution in order to detect what happens with those users.

Some ids causing problems:

83598
91841
102551
189544

Ciao

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

Continuing with debugging... problem with users above happens after:

course setup

and before:

headers

Going to add some more debug in that part of the digests cron.

Show
Eloy Lafuente (stronk7) added a comment - Continuing with debugging... problem with users above happens after: course setup and before: headers Going to add some more debug in that part of the digests cron.
Hide
Eloy Lafuente (stronk7) added a comment -

After some more days of logging problematic users... they remain constant.

All them are pl_utf8 and vi_utf8 users so I've reviewed all the "digest*" strings in that languages trying to find something wrong.

Also, I've updated the server lang packs to see if this stops the problem with that users definitively. Let's see what happens.

Ciao

Show
Eloy Lafuente (stronk7) added a comment - After some more days of logging problematic users... they remain constant. All them are pl_utf8 and vi_utf8 users so I've reviewed all the "digest*" strings in that languages trying to find something wrong. Also, I've updated the server lang packs to see if this stops the problem with that users definitively. Let's see what happens. Ciao
Hide
Eloy Lafuente (stronk7) added a comment -

Same continues happening with same users intermittently:

Nov, 20-24-27 - 83598

the cron process dies after "course setup ok" when generating such user digest.
(note that it's not critical because digest will continue in next cron execution but have to detect WHY such user stops the cron).

Show
Eloy Lafuente (stronk7) added a comment - Same continues happening with same users intermittently: Nov, 20-24-27 - 83598 the cron process dies after "course setup ok" when generating such user digest. (note that it's not critical because digest will continue in next cron execution but have to detect WHY such user stops the cron).
Hide
Eloy Lafuente (stronk7) added a comment -

Closing this as won't fix.

I've been looking latest digests in moodle.org and cannot see the problem anymore. Perhaps it was something related with lang packages (all users used to be from "pl") or some recent change has alleviated the problem.

Anyway, if it happens again... digest will continue in next cron execution so it's no major anymore.

Ciao

Show
Eloy Lafuente (stronk7) added a comment - Closing this as won't fix. I've been looking latest digests in moodle.org and cannot see the problem anymore. Perhaps it was something related with lang packages (all users used to be from "pl") or some recent change has alleviated the problem. Anyway, if it happens again... digest will continue in next cron execution so it's no major anymore. Ciao
Hide
Petr Škoda (skodak) added a comment -

aaah, I think MD fixed it today - there was a problem with $a\x1221 in some language pack (Bulgarian or some from asia)

Show
Petr Škoda (skodak) added a comment - aaah, I think MD fixed it today - there was a problem with $a\x1221 in some language pack (Bulgarian or some from asia)

People

Dates

  • Created:
    Updated:
    Resolved: