Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web admin: switches view is horribly slow with many roles #6104

Closed
ptrrkssn opened this issue Jan 25, 2021 · 2 comments
Closed

web admin: switches view is horribly slow with many roles #6104

ptrrkssn opened this issue Jan 25, 2021 · 2 comments

Comments

@ptrrkssn
Copy link

Describe the bug
The web admin switches view (Configuration - Policies -> Switches) is horribly slow / unusable if you have many role -> VLAN mappnings defined. Current we have around 90 xxxVlan=VLAN lines under "default" and them some overridden rules per switch.
Trying to open the Switches web page is horribly slow.

To Reproduce
Steps to reproduce the behavior:
Put many rules into conf/switches.conf and try to access the web UI.

Screenshots
It eventually loads, after giving a couple of warnings about slow web pages.

Expected behavior
It should be usable...

Desktop (please complete the following information):

  • Linux
  • Firefox
  • Version 84.0
    (also tried other browsers)

PacketFence version: 10.2.0

@julsemaan
Copy link
Collaborator

Hi, thanks for the report, this is a known issue of the v10.x release.

There is unfortunately no easy fix for this and @satkunas is currently refactoring all the configuration section to improve the speed (especially for the switches)

This will get done for version 11.0 which will be out shortly

@satkunas
Copy link
Contributor

Performance was improved in #6397

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants