On 28-Nov-2009, Mark Hindley wrote: > Actually, I have had another thought. > > Try this: > > diff --git a/apt-cacher2 b/apt-cacher2 > index ed53849..f04cadf 100755 > --- a/apt-cacher2 > +++ b/apt-cacher2
I can confirm that this improves the situation for me too. Specifically, I've built an ‘apt-cacher’ package from current version 1.6.9 source patched with your Git patches 8c7a9ed, c99bd95, f04cadf (in that order), and installed it on my proxy server running Debian Squeeze. When fetching updates or package files from the proxy, I no longer observe (with ‘htop’) the ‘apt-cacher’ process CPU-bound at any point. At most, it peaks around 25–30% CPU while downloading one file, and then immediately settles to a negligible level after the download of that single file finishes. Barring any regression from this situation, I consider this bug resolved by those specific patches. -- \ “Holy rising hemlines, Batman!” —Robin | `\ | _o__) | Ben Finney <b...@benfinney.id.au>
signature.asc
Description: Digital signature