New Member
Posts: 29
Registered: ‎10-03-2018
Kudos: 1

Bad performance with tens of thousands of clients

Clicking on System->Organizations->Edit on an organization that has tens of thousands of clients results in 100% cpu usage on the server, followed by a 504 gateway time-out after several minutes.  This is because the page tries to load all of the clients into a drop-down list on this page.

Highlighted
Ubiquiti Employee
Posts: 4,167
Registered: ‎12-10-2015
Kudos: 1472
Solutions: 315

Re: Bad performance with tens of thousands of clients

@pengdahl thanks for reporting. We will look into it asap. Maybe if you could specify the exact page (I assume /system/organizations/1/edit) and the "drop down list", which you are referring to, it could be helpful for us.
New Member
Posts: 29
Registered: ‎10-03-2018
Kudos: 1

Re: Bad performance with tens of thousands of clients

Actually I think I'm wrong about the drop down list.  I'm not sure what is making it so slow once I have all my clients loaded, but there is something slowing it down.  I also have > 500,000 client logs - maybe that has something to do with it.

Ubiquiti Employee
Posts: 4,167
Registered: ‎12-10-2015
Kudos: 1472
Solutions: 315

Re: Bad performance with tens of thousands of clients

@pengdahl we have found the bug with the Organization edit. It will be fixed soon.
Regarding the logs - note that you can limit the log history at /system/settings/logs