Scott Henson wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
We recently tripled the number of interfaces in our cobbler instance,
which resulted in some fairly strange errors coming out of cobbler
sync. We (thank you John and Michael) eventually tracked it down to
an out of memory condition in manage_isc.py. I think John and Michael
have already committed speed ups for the serializer that helps the
situation. But we still had problems. Thus, I patched manage_isc.py
to not call blender so much and to cache its results a little.
Instead of calling blender twice, once for the profile and once for
the system, per interface, we now only call it once per system.
The attached patch is against devel. It should cherry-pick/apply
against sustain14 and master as the code hasn't changed.
- --
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org
iEYEARECAAYFAknHyI4ACgkQZ+CEIfzQ+ErgNACfZ2f66lX5tB9vT36TQ9/chNtt
PNAAn1uWS1lbPzMsmwJoTNCkyv1OutFn
=hbEx
-----END PGP SIGNATURE-----
------------------------------------------------------------------------
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel
Looks like John already merged this one to devel. I've backported it
to master.
"sustain14" is primarily around for Spacewalk contigency reasons, so I
haven't moved that there since, for a minor upgrade, we wouldn't want
folks to have to remember and move their templates from rpmnew's.
That is, I don't plan to do a 1.4.4 unless Spacewalk specifically
requires it (for Satellite Server, really) and then they would not be
using manage_isc.
Thank you!
--Michael