Custom Query (894 matches)
Results (1 - 3 of 894)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#986 | https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc | https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc | fixed | yum 3.2.20 returns None for arch of gpg-pubkey packages |
Description |
Yum 3.2.20 on SLES 11.1 returns None (instead of "noarch") for the arch attribute of gpg-pubkey packages. This breaks YUMng, which expects "noarch" (which is what happens with, e.g. yum 3.2.22 on CentOS 5.5). For example:
... print "%s.%s" % (pkg.name, pkg.arch) ... gpg-pubkey.None I've attached a patch that backports some functionality from the YUM24.py tool to scrub package epochs and archs that are set to None and make the YUMng.py tool more resilient. |
|||
#976 | solj | Richard Connon <[email protected]…> | fixed | with the -d flag bcfg2 should output the output from apt-get |
Description |
bcfg2 doesn't currently output any stdout data from apt-get |
|||
#954 | https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc | https://www.google.com/accounts/o8/id?id=AItOawkfar6gGD3PuUixQdEZQyRr2mpowLW1A70 | fixed | web_debug = true in bcfg2.conf causes memory over usage |
Description |
When running tests using guppy. Adding this into bcfg2 code somewhere: from guppy.heapy import Remote Remote.on() Then from another window ran: $ python -c "from guppy import hpy;hpy().monitor()" <Monitor> * Connection 1 opened * <Monitor> lc CID PID ARGV
<Monitor> sc 1 Remote connection 1. To return to Monitor, type <Ctrl-C> or .<RETURN> <Annex> int Remote interactive console. To return to Annex, type '-'.
At this point the memory counters are reset and I ran a bcfg2 client update on another server. Next taking a tip from a blog post about analysing django memory leaks[f5e4281313ff9004be488e420f90d5fe413bb5c1] (SVN r2) I run a method to extract information about the references hierarchy. This is as the post states magic!
Reference Pattern by <[dict of] class>.
Bcfg2.Serv...
django.db.backends.mysql.base.DatabaseWrapper?: 0x8...
django.db.backends.mysql.creation.DatabaseCreati?...
django.db.backends.mysql.creation.DatabaseCreation?: 0x8... <Type e.g. '_.more' for more.> "Django keeps track of all queries for debugging purposes (connection.queries). This list is reset at the end of HTTP request. But in standalone mode, there are no requests. So you need to manually reset to queries list after each working cycle." Django is only caching these queries if it's in debug mode. I have web_debug = true in my /etc/bcfg2.conf. I've set this to False and have reran some of the tests and the memory usage is much different. Memory increase between client runs with web_debug:
So that's 1.2Mb increase per client update. |