Long Response Time for Viewing IP Addresses with A Large Number of Duplicate Assignments #4153

Closed
opened 2025-12-29 18:33:29 +01:00 by adam · 2 comments
Owner

Originally created by @mtbutler07 on GitHub (Sep 29, 2020).

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
Originally created by @mtbutler07 on GitHub (Sep 29, 2020). ### 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](https://user-images.githubusercontent.com/33135168/94573233-81426100-0237-11eb-8b08-ff8cc8b3e88f.PNG) <!-- What did you expect to happen? --> ### 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) <!-- What happened instead? --> ### 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
adam added the type: bugstatus: accepted labels 2025-12-29 18:33:29 +01:00
adam closed this issue 2025-12-29 18:33:29 +01:00
Author
Owner

@jeremystretch commented on GitHub (Sep 29, 2020):

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.

@jeremystretch commented on GitHub (Sep 29, 2020): 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.
Author
Owner

@mtbutler07 commented on GitHub (Sep 29, 2020):

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

@mtbutler07 commented on GitHub (Sep 29, 2020): That seems reasonable and would work for my environment. Thanks for the quick reply!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4153