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

High memory usage, assignfeedback_editpdf, pdftoppm oomkill

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.1.13
    • Tasks
    • None
    • MOODLE_401_STABLE

      According to the logs, one of the PDF conversion processes was running incorrectly, which caused memory problems, and because of this, one of the main system processes also stopped. 

      We first tried to solve the problem at the site level using several methods.
      In the first time that we turned off the use of converters in the "Manage document converters" menu, but its not solved the problem. 
      In the next time we turn off the "Annotate PDF-assignfeedback_editpdf" plugin, in the plugins menu. Unfortunetly, this did not solve the problem either.

      You can see in the running tasks that there is a stuck task that has been running for 8 hours. This happens several times and sometimes it runs in 10-12 hours, incorrectly. It generates a large DPF file, which consists of about 47,000 pages, thereby reducing memory usage.
      Such tasks are constantly running, basically they do not cause problems, only this 1-1 is stuck.

      We need some help how to debug this problem. When there is an exam, it is very unpleasant that you can stop and slow down because of this. Usually, up to 1,200-1,300 students take the exam at the same time.

      I am attaching some more pictures of this problem

      We found the pdf with many thousands of pages and lots of image files on this path:
      /mnt2/moodle/moodledata/temp/assignfeedback_editpdf/pageimages/fd3a6d00ace83f0487d8dee1b255236b71dd5400/combined.pdf

        1. assignfeedback_plugin_disabled.png
          27 kB
          Kiss Balázs
        2. assignfeedback_task_running_now.png
          21 kB
          Kiss Balázs
        3. assignfeedback_tasks.png
          89 kB
          Kiss Balázs
        4. assignfeedback_tasks2.png
          9 kB
          Kiss Balázs
        5. Azure.png
          33 kB
          Kiss Balázs
        6. Documents_converters_off.png
          42 kB
          Kiss Balázs
        7. Memory usage.png
          18 kB
          Kiss Balázs
        8. Memory usage2.png
          11 kB
          Kiss Balázs

            Unassigned Unassigned
            balikabo Kiss Balázs
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.