-
Improvement
-
Resolution: Fixed
-
Minor
-
4.0.6, 4.1.1
It's been found that LaTeX may produce high load on shared storage due to lots of LaTeX conversions running at the same time.
It looks like LaTeX temporary files stored in shared temp dir https://github.com/moodle/moodle/blob/556208417deb47ccea80d00849aae6fb4d47f228/filter/tex/latex.php#L22-L23 only persist for the life of a single request.
Could a new local temp dir config be implemented with a default value of /tmp so Moodle subsystems like LaTeX could take advantages of it and use local temp dir when practicable?