I don&#39;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&#39;m getting most of my information out of &#39;The DEBIAN SYSTEM&quot; 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 &lt;<a href="mailto:Zhenghe.Zhang@plenware.com">Zhenghe.Zhang@plenware.com</a>&gt;:<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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; That &nbsp;is right&nbsp;
that you say. But if you add many repositories and enter "apt-get&nbsp; 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">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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">&nbsp;</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">&nbsp;</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">&nbsp;</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 &quot;apt-get install&quot; there should
only be one http process running to retrieve the application for install.<br>
<br>
Denis&nbsp; </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 &lt;<a href="mailto:marius.vollmer@nokia.com" target="_blank">marius.vollmer@nokia.com</a>&gt; 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">&quot;ext
Zhenghe Zhang&quot; &lt;<a href="mailto:Zhenghe.Zhang@plenware.com" target="_blank">Zhenghe.Zhang@plenware.com</a>&gt;
writes:<br>
<br>
&gt; If you want to download three packages ,you will see three processes of<br>
&gt; &quot;/usr/lib/apt/methods/http&quot;. And if you want to download ten
package<br>
&gt; ,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&#39;t think this is true. &nbsp;Apt-get will use one
&quot;http&quot; 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>
&gt; I want to ask you about controling the processes of &quot;http&quot;.I
would like<br>
&gt; 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. &nbsp;See
the &quot;apt.conf&quot; 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>
&nbsp; &nbsp;Acquire::Queue-Mode &quot;access&quot;;<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">&nbsp;</span></font></p>

</div></div></div>

</div>


</blockquote></div><br>