Netbox: Long Response Time for Viewing IP Addresses with A Large Number of Duplicate Assignments

Created on 29 Sep 2020  路  2Comments  路  Source: netbox-community/netbox

Environment

  • Python version: 3.6.8
  • NetBox version: 2.8.6

Steps to Reproduce

  1. Create any IP Address in Netbox and assign it to a large number of interfaces (1000+)
  2. View the IP Address object

Capture

Expected Behavior

  • The page to load faster
  • The list of duplicate IP addresses to be paginated (similar to the changelog view on the home page)

Observed Behavior

  • Long response time (3m15s for 16K duplicates)

    • We have a lot of access points....

  • Gunicorn worker at 100% for the duration of the response
accepted bug

Most helpful comment

It probably makes sense to just cap the number of duplicates returned to, say, 10, and link to a filtered list to "see all duplicates" if there are more than that.

All 2 comments

It probably makes sense to just cap the number of duplicates returned to, say, 10, and link to a filtered list to "see all duplicates" if there are more than that.

That seems reasonable and would work for my environment.
Thanks for the quick reply!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bellwood picture bellwood  路  3Comments

bellwood picture bellwood  路  4Comments

robbagithub picture robbagithub  路  3Comments

markve-sa picture markve-sa  路  4Comments

VictorJ76 picture VictorJ76  路  3Comments