Re: 15s wait for prompt for sudo su - on -current

From: Michael Gmelin <freebsd_at_grem.de>
Date: Sun, 13 Jun 2021 19:16:58 UTC

> On 13. Jun 2021, at 20:50, Ronald Klop <ronald-lists@klop.ws> wrote:
> 
> What do you have configured as prompt? Or shell startup script?
> Does it contain a call to git? 
> 

I agree that this smells like a prompt that calls "git status" or something similar (when on the FreeBSD source tree on an rpi, 15 seconds feels about right for performing such a call).

-m

> Regards,
> Ronald 
> 
> Van: tech-lists <tech-lists@zyxst.net>
> Datum: 13 juni 2021 19:20
> Aan: freebsd-current@freebsd.org
> Onderwerp: Re: 15s wait for prompt for sudo su - on -current
> 
>> On Sun, Jun 13, 2021 at 12:48:11PM -0400, Allan Jude wrote:
>> >
>> >During the 15 seconds of waiting, press control+t a bunch of times, what
>> >is the waitchan?
>> % sudo su -
>> load: 0.11  cmd: git 79703 [running] 0.81r 0.67u 0.12s 8% 141608k
>> load: 0.11  cmd: git 79703 [running] 1.42r 1.28u 0.14s 13% 161384k
>> load: 0.18  cmd: git 79703 [running] 2.06r 1.91u 0.14s 18% 177460k
>> load: 0.18  cmd: git 79703 [running] 2.69r 2.52u 0.16s 24% 197724k
>> load: 0.18  cmd: git 79703 [running] 3.92r 3.74u 0.18s 34% 225796k
>> load: 0.18  cmd: git 79703 [running] 4.55r 4.32u 0.22s 37% 255252k
>> load: 0.18  cmd: git 79703 [running] 5.23r 4.99u 0.23s 40% 270948k
>> load: 0.18  cmd: git 79703 [running] 5.79r 5.53u 0.25s 46% 283704k
>> load: 0.18  cmd: git 79703 [running] 6.37r 6.09u 0.26s 47% 296864k
>> load: 0.18  cmd: git 79703 [running] 6.98r 6.69u 0.28s 48% 310828k
>> load: 0.18  cmd: git 79703 [running] 7.54r 7.23u 0.30s 53% 323440k
>> load: 0.32  cmd: git 79703 [running] 8.13r 7.81u 0.31s 54% 336756k
>> load: 0.32  cmd: git 79703 [running] 8.66r 8.34u 0.31s 59% 355228k
>> load: 0.32  cmd: git 79705 [running] 0.05r 0.04u 0.00s 0% 32984k
>> load: 0.32  cmd: git 79705 [running] 0.65r 0.57u 0.07s 5% 116316k
>> load: 0.32  cmd: git 79705 [running] 1.23r 1.13u 0.09s 11% 138692k
>> load: 0.32  cmd: git 79705 [running] 1.85r 1.73u 0.11s 16% 161508k
>> load: 0.32  cmd: git 79705 [running] 2.43r 2.28u 0.14s 22% 186196k
>> load: 0.32  cmd: git 79705 [running] 3.06r 2.90u 0.14s 26% 199808k
>> load: 0.32  cmd: git 79705 [running] 3.71r 3.52u 0.18s 30% 217844k
>> how weird is that??!
>> git isn't running:
>> # ps ax | grep git
>> 79708  1  S+       0:00.00 grep git
>> -- 
>> J.