I am using unoserver/unoconvert with Moodle LMS. (See MDL-75066)
Moodle uses unoserver to convert assignment submission files into pdf.
Students may submit various types of document files.
LibreOffice (soffice.bin) sometimes keeps 100% CPU usage and XMLRPC never finishes depending on input file characteristics and/or some specific conditions.
My proposal is introducing timeout and retrying mechanism for such situation.
On detecting timeout, unoserver may kill and restart LibreOffice within a certain limited number of times.
On exceeding the number limit, unoserver may return an error.
I am using unoserver/unoconvert with Moodle LMS. (See MDL-75066) Moodle uses unoserver to convert assignment submission files into pdf. Students may submit various types of document files. LibreOffice (soffice.bin) sometimes keeps 100% CPU usage and XMLRPC never finishes depending on input file characteristics and/or some specific conditions.
My proposal is introducing timeout and retrying mechanism for such situation. On detecting timeout, unoserver may kill and restart LibreOffice within a certain limited number of times. On exceeding the number limit, unoserver may return an error.
Thank you and regards,