Moin2 Performance Problems
I tried importing a 1.9 Moin wiki into a fresh development install of Moin2, and while it appears to have successfully imported most of the pages, the performance is horrible! There are nearly 400 pages that were imported, and selecting any of them can take 5 seconds or more before rendering. The 1.9 setup is just fine. And the Moin2 setup is fine, when it is empty. Nothing unusual is displayed on the log either. Any ideas on what might be going on, or what I should start looking at? Thanks, Scott.
Did you try to load the help pages? You can run moin load-help -n en moin load-help -n common Opening following pages should last less than 1 second http://localhost:8080/help-en/Home http://localhost:8080/+index/help-en Are you using a lot of macros in your wiki? Is there a difference between simple pages without macros and complex wiki pages? With regards, Ulrich
I loaded the help pages. With the server running in debug mode, part of the log output is this when I click on those two links: 2022-08-23 *15:42:33*,524 INFO moin.signalling.log:19 item MyMoinMoin:help-en/Home displayed 2022-08-23 *15:42:42*,744 INFO werkzeug:113 127.0.0.1 "←[37mGET /help-en/Home HTTP/1.1←[0m" 200 - 2022-08-23 15:42:43,312 INFO werkzeug:113 127.0.0.1 "←[37mGET /+get/+f9f0caf384f048aead91c7d4bf69dc96/help-common/logo.png HTTP/1.1←[0m" 200 - 2022-08-23 *15:42:53*,297 INFO werkzeug:113 127.0.0.1 "←[37mGET /+index/help-en HTTP/1.1←[0m" 200 - 2022-08-23 15:42:53,476 INFO werkzeug:113 127.0.0.1 "←[37mGET /static/img/mime-type/moin-text.png HTTP/1.1←[0m" 200 - It took nearly 9 seconds between the time when I clicked on the first link and when it actually rendered. You can see the difference between the two first lines. The first log entry with the "moin.signaling.log:19" is when I clicked on it (15:42:33). The next log entry is when it actually rendered (15:42:42). The second link was not quite as long, but still took quite some time. I don't remember using any complex macros on the old site. I did check the plugins directory and there was one for calendar and another one for newaccounts. Even so, they shouldn't have made a difference when clicking on the help pages, right? I have also tried using sqlite as a backend, and it didn't make a difference. Scott. On 8/23/2022 15:04, Ulrich B. wrote:
Did you try to load the help pages? You can run
moin load-help -n en moin load-help -n common
Opening following pages should last less than 1 second
http://localhost:8080/help-en/Home http://localhost:8080/+index/help-en
Are you using a lot of macros in your wiki? Is there a difference between simple pages without macros and complex wiki pages?
With regards, Ulrich _______________________________________________ moin-devel mailing list moin-devel@python.org https://mail.python.org/mailman/listinfo/moin-devel
I ran at the command prompt, "moin index-optimize" and that fixed it! On 8/23/2022 15:51, M. Scott Reynolds wrote:
I loaded the help pages. With the server running in debug mode, part of the log output is this when I click on those two links:
2022-08-23 *15:42:33*,524 INFO moin.signalling.log:19 item MyMoinMoin:help-en/Home displayed 2022-08-23 *15:42:42*,744 INFO werkzeug:113 127.0.0.1 "←[37mGET /help-en/Home HTTP/1.1←[0m" 200 - 2022-08-23 15:42:43,312 INFO werkzeug:113 127.0.0.1 "←[37mGET /+get/+f9f0caf384f048aead91c7d4bf69dc96/help-common/logo.png HTTP/1.1←[0m" 200 - 2022-08-23 *15:42:53*,297 INFO werkzeug:113 127.0.0.1 "←[37mGET /+index/help-en HTTP/1.1←[0m" 200 -
2022-08-23 15:42:53,476 INFO werkzeug:113 127.0.0.1 "←[37mGET /static/img/mime-type/moin-text.png HTTP/1.1←[0m" 200 -
It took nearly 9 seconds between the time when I clicked on the first link and when it actually rendered. You can see the difference between the two first lines. The first log entry with the "moin.signaling.log:19" is when I clicked on it (15:42:33). The next log entry is when it actually rendered (15:42:42). The second link was not quite as long, but still took quite some time.
I don't remember using any complex macros on the old site. I did check the plugins directory and there was one for calendar and another one for newaccounts. Even so, they shouldn't have made a difference when clicking on the help pages, right?
I have also tried using sqlite as a backend, and it didn't make a difference.
Scott.
On 8/23/2022 15:04, Ulrich B. wrote:
Did you try to load the help pages? You can run
moin load-help -n en moin load-help -n common
Opening following pages should last less than 1 second
http://localhost:8080/help-en/Home http://localhost:8080/+index/help-en
Are you using a lot of macros in your wiki? Is there a difference between simple pages without macros and complex wiki pages?
With regards, Ulrich _______________________________________________ moin-devel mailing list moin-devel@python.org https://mail.python.org/mailman/listinfo/moin-devel
Added an issue: Slow response after import19 · Issue #1310 · moinwiki/moin (github.com) On Tuesday, August 23, 2022 at 09:59:16 PM MST, M. Scott Reynolds <mscottreynolds@gmail.com> wrote: I ran at the command prompt, "moin index-optimize" and that fixed it! On 8/23/2022 15:51, M. Scott Reynolds wrote: I loaded the help pages. With the server running in debug mode, part of the log output is this when I click on those two links: 2022-08-23 15:42:33,524 INFO moin.signalling.log:19 item MyMoinMoin:help-en/Home displayed 2022-08-23 15:42:42,744 INFO werkzeug:113 127.0.0.1 "←[37mGET /help-en/Home HTTP/1.1←[0m" 200 - 2022-08-23 15:42:43,312 INFO werkzeug:113 127.0.0.1 "←[37mGET /+get/+f9f0caf384f048aead91c7d4bf69dc96/help-common/logo.png HTTP/1.1←[0m" 200 - 2022-08-23 15:42:53,297 INFO werkzeug:113 127.0.0.1 "←[37mGET /+index/help-en HTTP/1.1←[0m" 200 - 2022-08-23 15:42:53,476 INFO werkzeug:113 127.0.0.1 "←[37mGET /static/img/mime-type/moin-text.png HTTP/1.1←[0m" 200 - It took nearly 9 seconds between the time when I clicked on the first link and when it actually rendered. You can see the difference between the two first lines. The first log entry with the "moin.signaling.log:19" is when I clicked on it (15:42:33). The next log entry is when it actually rendered (15:42:42). The second link was not quite as long, but still took quite some time. I don't remember using any complex macros on the old site. I did check the plugins directory and there was one for calendar and another one for newaccounts. Even so, they shouldn't have made a difference when clicking on the help pages, right? I have also tried using sqlite as a backend, and it didn't make a difference. Scott. On 8/23/2022 15:04, Ulrich B. wrote: Did you try to load the help pages? You can run moin load-help -n en moin load-help -n common Opening following pages should last less than 1 second http://localhost:8080/help-en/Home http://localhost:8080/+index/help-en Are you using a lot of macros in your wiki? Is there a difference between simple pages without macros and complex wiki pages? With regards, Ulrich _______________________________________________ moin-devel mailing list moin-devel@python.org https://mail.python.org/mailman/listinfo/moin-devel _______________________________________________ moin-devel mailing list moin-devel@python.org https://mail.python.org/mailman/listinfo/moin-devel
participants (3)
-
M. Scott Reynolds -
Roger Haase -
Ulrich B.