Just taking the easy questions for now:
On Sat, 2009-11-28 at 11:08 +0000, Mark Hindley wrote:
> On Fri, Nov 27, 2009 at 06:41:04PM -0800, Ross Boylan wrote:
> > > With both these patches (8c7a9ed and c99bd95) applied, I'm now seeing
> > > ???apt-cacher??? processes maintain a negligible CPU usage, even when APT
> > > is fetching from them.
> > > 
> > > This is highly imprecise (I'm just watching ???htop???) and I haven't put
> > > any significant stress onto it, but is a good sign. I would encourage
> > > anyone else experiencing the behaviour reported in this bug report to
> > > try these patches and report the results.
> > > 
> > The changes have no apparent effect for me. aptitude update goes
> > basically to 100% CPU; while downloading debs, CPU use was also high,
> > though possibly a bit lower than in the past (the download was too quick
> > to be sure).
> 
> Disappointing.
> 
> Could you
> 
>  - Download something bigger so you can be sure which process is
>    hogging.
> 
>  - Is it still the [libcurl] process?
No, at least in aptitude update.  I can't remember exactly what tool was
showing this, but I don't see it in any of them (ps -l, top, ksysguard).
corn:~# ps -lC apt-cacher
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
1 S    33  5765 14804  0  80   0 -  3879 -      ?        00:00:00 apt-cacher
1 R    33  5766  5765 85  80   0 -  3888 -      ?        00:01:48 apt-cacher
1 S    33  5795  5765  0  80   0 -  3879 -      ?        00:00:00 apt-cacher
5 S    33 14804     1  0  80   0 -  3879 -      ?        00:00:00 apt-cacher
5766 is the hog, e.g., 70% user, 20% system CPU.  The command line shows
a perl invocation.
> 
>  - Are you running aptitude on the same server as apt-cacher.
Yes.
>  What is
>    the aptitude CPU usage? 
Negligible.
> It might be worth using wget to download a
>    single file through the cache and check it is still hogging.
What's the command line for that?
> 
>  - What does the load average go up to whilst you have 100% CPU?
>From c 0.5 to c. 2.0.
> 
>  - Tell me the versions of the underlying libraries: libc6, 
2.7-18 

> libcurl3
ii  libcurl3                                      7.18.2-8lenny3                
 Multi-protocol file transfer library (OpenSS
ii  libcurl3-gnutls                               7.18.2-8lenny3                
 Multi-protocol file transfer library (GnuTLS

Ross




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to