I just did a fresh install of WW 2.18 using the Ubuntu 22.04 ova image. I'm running this image as a virtual system (3 CPU, 6GB RAM) and accessing the WebWork server publicly through an apache reverse proxy on the Fedora host system. After some tinkering with site.conf and with the Apache server, I have a functioning WebWork application. Right now it's just me using it, but the current hang-up is that problem rendering (most noticeably in the Library Browser) is REALLY sluggish---typically a couple of problems will be rendered almost immediately, then a lengthy pause, and then a burst with a few more problems, a pause, etc. This happens with both mathjax and images. There's nothing written concurrently in the ssl_error_log file on apache even with 'LogLevel debug' and the same with webwork2.log on the server. There is nothing obvious in the javascript console (though I'm sure what to look for) and ssl_access_log from a typical burst looks like:
172.16.1.1 - - [06/Sep/2023:13:36:16 -0500] "GET /pg_files/js/Knowls/knowl.876813f4.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:16 -0500] "GET /pg_files/js/Essay/essay.1b4fee36.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:31 -0500] "POST /webwork2/render_rpc HTTP/1.1" 200 8298
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/jquery-ui-dist/jquery-ui.min.css?version=%5E1.13.2 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/themes/math4/bootstrap.9efba867.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/@fortawesome/fontawesome-free/css/all.min.css?version=%5E6.2.1 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/themes/math4/math4.0860e381.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/themes/math4/math4-overrides.e3b0c442.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/Problem/problem.d73e6b85.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/Knowls/knowl.778c6dfe.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/ImageView/imageview.867ecd5a.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/node_modules/mathquill/dist/mathquill.css?version=github:openwebwork/mathquill@WeBWorK-2.18 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/MathQuill/mqeditor.0ea84c29.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/jquery/dist/jquery.min.js?version=%5E3.6.3 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/iframe-resizer/js/iframeResizer.contentWindow.min.js?version=%5E4.3.2 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/jquery-ui-dist/jquery-ui.min.js?version=%5E1.13.2 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/js/MathJaxConfig/mathjax-config.d097a5f4.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/mathjax/es5/tex-svg.js?version=%5E3.2.2 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js?version=~5.2.3 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/js/Problem/problem.c9e3e018.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/themes/math4/math4-overrides.e3b0c442.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/themes/math4/math4.518a56fc.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/Base64/Base64.40f8ebee.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/InputColor/color.0f2f96d1.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/iframe-resizer/js/iframeResizer.contentWindow.map HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/Knowls/knowl.876813f4.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/ImageView/imageview.b0b2f87f.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/Essay/essay.1b4fee36.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/node_modules/mathquill/dist/mathquill.js?version=github:openwebwork/mathquill@WeBWorK-2.18 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /pg_files/js/MathQuill/mqeditor.219476ec.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/mathjax/es5/input/tex/extensions/noerrors.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/mathjax/es5/input/asciimath.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "GET /webwork2_files/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js.map HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:32 -0500] "POST /webwork2/render_rpc HTTP/1.1" 200 8796
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/themes/math4/math4-overrides.e3b0c442.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/node_modules/jquery-ui-dist/jquery-ui.min.css?version=%5E1.13.2 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/Problem/problem.d73e6b85.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/node_modules/@fortawesome/fontawesome-free/css/all.min.css?version=%5E6.2.1 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/themes/math4/bootstrap.9efba867.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/themes/math4/math4.0860e381.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/Knowls/knowl.778c6dfe.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/ImageView/imageview.867ecd5a.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/MathQuill/mqeditor.0ea84c29.min.css HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/node_modules/jquery/dist/jquery.min.js?version=%5E3.6.3 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/node_modules/jquery-ui-dist/jquery-ui.min.js?version=%5E1.13.2 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/node_modules/iframe-resizer/js/iframeResizer.contentWindow.min.js?version=%5E4.3.2 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/js/MathJaxConfig/mathjax-config.d097a5f4.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/node_modules/mathjax/es5/tex-svg.js?version=%5E3.2.2 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js?version=~5.2.3 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/js/Problem/problem.c9e3e018.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/themes/math4/math4.518a56fc.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /webwork2_files/themes/math4/math4-overrides.e3b0c442.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/InputColor/color.0f2f96d1.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/Base64/Base64.40f8ebee.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/Knowls/knowl.876813f4.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/ImageView/imageview.b0b2f87f.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/Essay/essay.1b4fee36.min.js HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/node_modules/mathquill/dist/mathquill.js?version=github:openwebwork/mathquill@WeBWorK-2.18 HTTP/1.1" 304 -
172.16.1.1 - - [06/Sep/2023:13:36:33 -0500] "GET /pg_files/js/MathQuill/mqeditor.219476ec.min.js HTTP/1.1" 304 -
I've read the "Serving via Proxy by Apache2" section. I've set 'Timeout 1200' in httpd.conf and played with MaxConnectionsPerChild and MaxRequestWorkers. The current mpm_event.conf is below but I see issues with both configurations:
<IfModule mpm_event_module>
StartServers 3
MinSpareThreads 75
MaxSpareThreads 250
ThreadLimit 64
ThreadsPerChild 25
MaxRequestWorkers 400
MaxConnectionsPerChild 0
# MaxRequestWorkers 50
# MaxConnectionsPerChild 50
</IfModule>
Somewhat strange: I slept on it last night, and when I went back to look at it this morning it was much peppier--I wouldn't have noticed a problem. Things got worse when I tinkered some more.
Any ideas? Thanks!