| Summary: | Layer index failing to update due to too many open files | ||
|---|---|---|---|
| Product: | [Yocto Project Subprojects] Layer Index | Reporter: | Paul Eggleton <bluelightning> |
| Component: | Layer Index | Assignee: | Paul Eggleton <bluelightning> |
| Status: | VERIFIED FIXED | QA Contact: | Alexandru Georgescu <alexandru.c.georgescu> |
| Severity: | major | ||
| Priority: | High | CC: | belen.barros.pena, brian.avery |
| Version: | unspecified | ||
| Target Milestone: | 1.9 M1 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Paul Eggleton
2015-04-27 13:23:32 UTC
I should mention that this is not a new issue, it's been happening for some time now and is only getting worse as the database has grown in size. It seems an known issue [1] and it's fixed since v0.3.5, i think with an upgrade should be enough to solve the problem the current version is 1.0.1 [2]. [1] https://github.com/gitpython-developers/GitPython/issues/60 [2] https://pypi.python.org/pypi/GitPython/1.0.1 I had a look into this since we were not only leaking file handles, but also memory. I've applied the following fix: http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/?id=f4b45258589185fd8bb7f220470a72650dc792f8 After this everything should now be working much better - at least a refresh can now be run successfully. I'll mark this as fixed for now, if we see the problem again we can reopen. An additional fix for the fix for compatibility with daisy and earlier: http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/?id=40f1d51de67645506cbe7becb625cbcaeaa9f716 (In reply to comment #4) > An additional fix for the fix for compatibility with daisy and earlier: > > http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/ > ?id=40f1d51de67645506cbe7becb625cbcaeaa9f716 Seems that the issue is fixed after Paul's confirmation. |