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.<br><br>I'm getting most of my information out of 'The DEBIAN SYSTEM" by Martin F. Krafft. ISBN 1593270690<br>
<br>You may want to grab a copy and read chapter 5.<br><br>Denis<br><br><br><div class="gmail_quote">2008/7/14 Zhenghe Zhang <<a href="mailto:Zhenghe.Zhang@plenware.com">Zhenghe.Zhang@plenware.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="ZH-CN">
<div>
<p><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US">Hi Denis,</span></font></p>
<p><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US"> 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 ?</span></font></p>
<p><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US"> Thanks </span></font></p>
<p><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<p><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US">Zhenghe Zhang</span></font></p>
<p><font color="navy" face="Arial" size="1"><span style="font-size: 9pt; font-family: Arial; color: navy;" lang="EN-US"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
Denis Dimick [mailto:<a href="mailto:dgdimick@gmail.com" target="_blank">dgdimick@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> 2008</span></font><font face="宋体" size="2"><span style="font-size: 10pt; font-family: SimSun;">年</span></font><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">7</span></font><font face="宋体" size="2"><span style="font-size: 10pt; font-family: SimSun;">月</span></font><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">15</span></font><font face="宋体" size="2"><span style="font-size: 10pt; font-family: SimSun;">日</span></font><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
0:26<br>
<b><span style="font-weight: bold;">To:</span></b> Marius Vollmer<br>
<b><span style="font-weight: bold;">Cc:</span></b> Zhenghe Zhang; <a href="mailto:maemo-users@maemo.org" target="_blank">maemo-users@maemo.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: About Process</span></font><span lang="EN-US"></span></p>
</div><div><div></div><div class="Wj3C7c">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"> </span></font></p>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">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.<br>
<br>
Denis </span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">On Mon, Jul 14, 2008 at 7:06 AM, Marius Vollmer <<a href="mailto:marius.vollmer@nokia.com" target="_blank">marius.vollmer@nokia.com</a>> wrote:</span></font></p>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">"ext
Zhenghe Zhang" <<a href="mailto:Zhenghe.Zhang@plenware.com" target="_blank">Zhenghe.Zhang@plenware.com</a>>
writes:<br>
<br>
> If you want to download three packages ,you will see three processes of<br>
> "/usr/lib/apt/methods/http". And if you want to download ten
package<br>
> ,you will see ten processes.</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">I don't think this is true. Apt-get will use one
"http" process per server<br>
for parallel downloading, not one per package.</span></font></p>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"><br>
> I want to ask you about controling the processes of "http".I
would like<br>
> to limit the number of the process when download many packages.</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">You can use the Acquire::Queue-Mode setting. See
the "apt.conf" man<br>
page.<br>
<br>
Since we have so many repositories and since that seems to cause some<br>
problems, we should probably use<br>
<br>
Acquire::Queue-Mode "access";<br>
<br>
by default.</span></font></p>
<div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">_______________________________________________<br>
maemo-users mailing list<br>
<a href="mailto:maemo-users@maemo.org" target="_blank">maemo-users@maemo.org</a><br>
<a href="https://lists.maemo.org/mailman/listinfo/maemo-users" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-users</a></span></font></p>
</div>
</div>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"> </span></font></p>
</div></div></div>
</div>
</blockquote></div><br>