Comment 2 for bug 1066775

Revision history for this message
John A Meinel (jameinel) wrote :

Offhand I don't have a machine with "only" 8000 nodes.

I have an EC2 instance that currently has 72,000. The main page loads the original view in about 5s. Afterwards, it has sat with a spinner for 1m30s, and is finally at the point to display '0 nodes in this MAAS".

At the 2.5min mark, it still says 0 nodes, and has a spinner.

At the 5 minute mark, it still has a spinner and 0 nodes listed.

It is possible that other things are broken (like txlongpoll) in this particular configuration.

From memory, I would say is that it was taking minutes to show me 758 nodes available out of the 8000 that I had added to the system.

After 10min or so, Firefox asked me if I wanted to stop the script, because it seemed broken.

To test it yourself, you can do:

bin/maas shell
from maasserver.testing.factory import factory
from maasserver.models import NodeGroup
ng = NodeGroup.objects.ensure_master()
for i in range(8000):
 node = factory.make_node(mac=True, set_hostname=True)

And that should just create 8000 nodes and you can see how long it takes to load '/MAAS/' on that machine.