wagtail admin super slow page loads

670 views Asked by At

I have an existing django 3.0 project that I've integrated Wagtail 2.10.2 into. Wagtail seems to be working ok but the wagtail admin is super slow. The user facing pages themselves are fine.

Django debug toolbar shows that the delay is due to the browser request taking 5 - 8 seconds for each page load. The time panel shows 74601 involuntary context switches (5 voluntary.)

This is happening on a localserver. I have only a handful of wagtail page objects and the database size is small.

I've run collectstatic and all the GET requests are either 200 or 304.

Can anyone help?

1

There are 1 answers

0
John On

Following tomd's suggestion, I disabled django debug toolbar and the problem is resolved. See the links in his comments.