Comments (3)
For Golden Config, we should approach it this way. nautobot/nautobot-app-golden-config#683
For Nautobot Core in general, I am not sure what the best path forward is.
from nautobot.
As far as I understand the original issue, the current biggest problem is gitpython-developers/GitPython#718, which may be mitigated by ensuring that we explicitly delete any git.Repo
objects when done with them, most likely either by explicitly calling Repo.__del__()
at the end of our ensure_git_repository()
utility function, or by calling Repo.__del__()
when a nautobot.core.utils.git.GitRepo
instance is deleted.
Shallow clone might be a nice feature to mitigate disk space requirements but to the best of my knowledge the memory leak is the current problem to solve.
from nautobot.
Thus far in some manual testing I'm unable to trigger the GitPython memory leak. Even after re-cloning a repository 1000 times, or cloning 100 separate repos, there are no extraneous open file handles and no apparent increase in memory consumption. This leads me to believe that my previous understanding was perhaps incorrect, and perhaps the "OOM" referenced in the issue was due to disk space exhaustion rather than memory exhaustion -- @mattmiller87 can you provide any additional clarity?
from nautobot.
Related Issues (20)
- Serial number of a device does not support filters HOT 2
- /api/dcim/interfaces/ and /api/dcim/{console-ports,console-server-ports} behave differently when fetching elements for non-existent device HOT 2
- Git Repository - Not Enabled for GraphQL HOT 1
- Assign IPAddress: No error message when submitting an empty form HOT 2
- Prefix CSV bulk upload requires unspecified column `display` HOT 4
- SavedView modal JSON field is white in dark mode HOT 2
- Module Type Component Name field needs help text
- Git repo jobs across multiple works do not seem to be in sync Nautobot 1.6 HOT 2
- Include worker details in job results
- [2.3] 'Configure' button for adjusting Device Interface fields does nothing HOT 1
- GitRepository URL Validator does not allow for local DNS URLs HOT 3
- Missing image attachment file using Azure Storage account results in exception and page not loading
- Module Position Templating (Inheritance) HOT 2
- Display an "API" tab for every object in the UI which shows the JSON representation for that object.
- Move `SavedView` feature from `users` app to `extras`
- Saved View UI/UX improvements
- Custom Templates do not load for Local Jobs HOT 2
- Job Custom Templates Errors can report the wrong template name HOT 1
- API version 2.0/2.1 not honored for `available-prefixes` endpoint in v2.2
- A long running custom field cleanup task will fail HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nautobot.