<div dir="ltr">Use "strace -p <pid> -f -rT -o strace.out" to see what the process and its children spend time on.</div><div class="gmail_extra"><br><div class="gmail_quote">On 7 December 2014 at 03:39, Shlomo Solomon <span dir="ltr"><<a href="mailto:shlomo.solomon@gmail.com" target="_blank">shlomo.solomon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried running ps -A before clicking, a few times during the 4 minute<br>
wait and after the GUI started. I then used diff to compare. The only<br>
change I found during the wait was an additional kworker/2:0 (there<br>
were already over 20 kworker processes running). Could this be<br>
significant? I haven't yet run strace as you suggested.<br>
<br>
When the GUI started, I found a MageiaUpdate process and an additional<br>
drakrpm-update process (for a total of 2). I assume the first one is<br>
responsible for the periodic check if new updates are available.<br>
<br>
On Fri, 5 Dec 2014 00:10:06 +0200<br>
shimi <<a href="mailto:linux-il@shimi.net">linux-il@shimi.net</a>> wrote:<br>
<br>
> On Thu, Dec 4, 2014 at 8:06 PM, Shlomo Solomon<br>
> <<a href="mailto:shlomo.solomon@gmail.com">shlomo.solomon@gmail.com</a>> wrote:<br>
><br>
> > Since upgrading from Mageia 3 to Mageia 4, when I get a<br>
> > notification that updates are available, I click on it but Software<br>
> > Package Update starts only after exactly a 4 minute delay.<br>
> ><br>
> > Any ideas why?<br>
> ><br>
> ><br>
> ><br>
> Maybe it is waiting on some lock file? Package managers has this<br>
> tendency...<br>
><br>
> Does it really start after 4 minutes, or does it just start showing<br>
> the UI after 4 minutes? See if new process has been created. If<br>
> there's a new process, try to strace -f -p <pid> to see what it is<br>
> waiting on (you probably want to suffix this command with<br>
> [ >update.strace 2>&1 ] as the output will probably become quite<br>
> large. Also you should run this as root if the process launched is<br>
> not in your own UID)<br>
><br>
> -- Shimi<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Shlomo Solomon<br>
<a href="http://the-solomons.net" target="_blank">http://the-solomons.net</a><br>
Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4<br>
<br>
<br>
_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><a href="http://au.linkedin.com/in/gliderflyer" target="_blank"><img src="https://static.licdn.com/scds/common/u/img/webpromo/btn_viewmy_160x25.png"></a><br></div></div>
</div>