New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure garbage collector will collect all the VMs object and QubesDB/libvirt connections #1697

Closed
marmarek opened this Issue Jan 26, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Jan 26, 2016

Related to #1380

@marmarek marmarek added this to the Release 4.0 milestone Jan 26, 2016

@marmarek marmarek changed the title from Make sure garbage collector will collect all the VMs object and QubesDB connections to Make sure garbage collector will collect all the VMs object and QubesDB/libvirt connections Feb 10, 2016

marmarek added a commit to marmarek/old-qubes-core-admin that referenced this issue Feb 10, 2016

Move libvirt_conn.close to object destructor
Process exit is too late for long-running processes. Especially tests,
which create a lot of such objects which leads to depleting all
the file descriptors.

QubesOS/qubes-issues#1697

marmarek added a commit to marmarek/old-qubes-core-admin that referenced this issue Feb 10, 2016

core/log: do not attach multiple handlers to the same logger
logging.getLogger when given the same name twice, will return the same
object. Do not attach handler there every time, it will really open new
file, leading to multiplicated log entries and depleting file
descriptors.

QubesOS/qubes-issues#1697

marmarek added a commit to marmarek/old-qubes-core-admin that referenced this issue Feb 10, 2016

woju added a commit to woju/qubes-core-admin that referenced this issue Feb 29, 2016

Move libvirt_conn.close to object destructor
Process exit is too late for long-running processes. Especially tests,
which create a lot of such objects which leads to depleting all
the file descriptors.

QubesOS/qubes-issues#1697

woju added a commit to woju/qubes-core-admin that referenced this issue Feb 29, 2016

core/log: do not attach multiple handlers to the same logger
logging.getLogger when given the same name twice, will return the same
object. Do not attach handler there every time, it will really open new
file, leading to multiplicated log entries and depleting file
descriptors.

QubesOS/qubes-issues#1697

woju added a commit to woju/qubes-core-admin that referenced this issue Feb 29, 2016

woju added a commit to woju/qubes-core-admin that referenced this issue Mar 3, 2016

Move libvirt_conn.close to object destructor
Process exit is too late for long-running processes. Especially tests,
which create a lot of such objects which leads to depleting all
the file descriptors.

QubesOS/qubes-issues#1697

woju added a commit to woju/qubes-core-admin that referenced this issue Mar 3, 2016

core/log: do not attach multiple handlers to the same logger
logging.getLogger when given the same name twice, will return the same
object. Do not attach handler there every time, it will really open new
file, leading to multiplicated log entries and depleting file
descriptors.

QubesOS/qubes-issues#1697

woju added a commit to woju/qubes-core-admin that referenced this issue Mar 3, 2016

woju added a commit to woju/qubes-core-admin that referenced this issue Mar 3, 2016

Move libvirt_conn.close to object destructor
Process exit is too late for long-running processes. Especially tests,
which create a lot of such objects which leads to depleting all
the file descriptors.

QubesOS/qubes-issues#1697

woju added a commit to woju/qubes-core-admin that referenced this issue Mar 3, 2016

core/log: do not attach multiple handlers to the same logger
logging.getLogger when given the same name twice, will return the same
object. Do not attach handler there every time, it will really open new
file, leading to multiplicated log entries and depleting file
descriptors.

QubesOS/qubes-issues#1697
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment