Very poor performance after 3.7.8 to 4.0.5 upgrade #9881

Closed
opened 2025-12-29 21:23:57 +01:00 by adam · 0 comments
Owner

Originally created by @Kage1 on GitHub (Jun 21, 2024).

Deployment Type

Self-hosted

NetBox Version

v4.0.5

Python Version

3.10

Steps to Reproduce

  1. Backup database and took VM snap shot of current 3.7.8 version
  2. Pull the current netbox git repository against master
  3. Run ./upgrade.sh from the /etc/netbox/ install directory
  4. Upgrade.sh runs with out an error
  5. Restarted the netbox and netbox-rq services
  6. Flush cookies/cache and open a new tab to the netbox instance. Web interface is extremely slow, 30+ seconds to navigtate to any page in the system. 3.7.8 version was very snappy, 1 sec or less load times for just about everything.

OS version: Ubuntu 22.04.4 LTS x64
Netbox version: 4.0.5
Redis version: Redis 6.0.16
Postgre db version: PostgreSQL 14.12
Postgre db size: ~ 51 MB

I checked the NB, Redis, and Postgre logs and there are no issues being reported. htop does not show any abnormal process activity, e.g. the python3 environments running are not spiking the processor etc. and memory utilizing is approx 80% free.

Expected Behavior

Similar performance as before.

Observed Behavior

Extremely slow performance to the point of being unusable.

Originally created by @Kage1 on GitHub (Jun 21, 2024). ### Deployment Type Self-hosted ### NetBox Version v4.0.5 ### Python Version 3.10 ### Steps to Reproduce 1. Backup database and took VM snap shot of current 3.7.8 version 2. Pull the current netbox git repository against master 3. Run ./upgrade.sh from the /etc/netbox/ install directory 4. Upgrade.sh runs with out an error 5. Restarted the netbox and netbox-rq services 6. Flush cookies/cache and open a new tab to the netbox instance. Web interface is extremely slow, 30+ seconds to navigtate to any page in the system. 3.7.8 version was very snappy, 1 sec or less load times for just about everything. OS version: Ubuntu 22.04.4 LTS x64 Netbox version: 4.0.5 Redis version: Redis 6.0.16 Postgre db version: PostgreSQL 14.12 Postgre db size: ~ 51 MB I checked the NB, Redis, and Postgre logs and there are no issues being reported. htop does not show any abnormal process activity, e.g. the python3 environments running are not spiking the processor etc. and memory utilizing is approx 80% free. ### Expected Behavior Similar performance as before. ### Observed Behavior Extremely slow performance to the point of being unusable.
adam closed this issue 2025-12-29 21:23:57 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9881