Re: About Process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't think you will see apt-get upgrade spawn child processes running http, since it downloads and installs the files one at a time, I do think the update switch will spawn a number of http processes.

I'm getting most of my information out of 'The DEBIAN SYSTEM" by Martin F. Krafft. ISBN 1593270690

You may want to grab a copy and read chapter 5.

Denis


2008/7/14 Zhenghe Zhang <Zhenghe.Zhang@xxxxxxxxxxxx>:

Hi Denis,

         That  is right  that you say. But if you add many repositories and enter "apt-get  update" in terminal ,you will find many processes , do you think ?

         Thanks

 

Zhenghe Zhang

 


From: Denis Dimick [mailto:dgdimick@xxxxxxxxx]
Sent: 2008
715 0:26
To: Marius Vollmer
Cc: Zhenghe Zhang; maemo-users@xxxxxxxxx
Subject: Re: About Process

 

I think Marius is correct, apt-get will spawn child process, one for each repository, hoever, when downloading and installing via "apt-get install" there should only be one http process running to retrieve the application for install.

Denis 

On Mon, Jul 14, 2008 at 7:06 AM, Marius Vollmer <marius.vollmer@xxxxxxxxx> wrote:

"ext Zhenghe Zhang" <Zhenghe.Zhang@xxxxxxxxxxxx> writes:

> If you want to download three packages ,you will see three processes of
> "/usr/lib/apt/methods/http". And if you want to download ten package
> ,you will see ten processes.

I don't think this is true.  Apt-get will use one "http" process per server
for parallel downloading, not one per package.


> I want to ask you about controling the processes of "http".I would like
> to limit the number of the process when download many packages.

You can use the Acquire::Queue-Mode setting.  See the "apt.conf" man
page.

Since we have so many repositories and since that seems to cause some
problems, we should probably use

   Acquire::Queue-Mode "access";

by default.

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

 


_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux