GNU bug report logs - #26706
mingetty consumes 40% CPU printing the login prompt over and over

Previous Next

Package: guix;

Reported by: myglc2 <myglc2 <at> gmail.com>

Date: Sat, 29 Apr 2017 01:12:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26706 in the body.
You can then email your comments to 26706 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#26706; Package guix. (Sat, 29 Apr 2017 01:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to myglc2 <myglc2 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 29 Apr 2017 01:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: myglc2 <myglc2 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: mingetty consumes 40% CPU printing the login prompt over and over
Date: Fri, 28 Apr 2017 21:11:06 -0400
[Message part 1 (text/plain, inline)]
I noticed that my headless server running GuixSD was busy when I am not
doing anything. When I looked at top I saw mingetty consuming 40% CPU
...

$ top -o %CPU -n 1 | head -n 25
top - 20:44:13 up 5 days, 12:58,  3 users,  load average: 0.33, 0.33, 0.35
Tasks: 192 total,   1 running, 191 sleeping,   0 stopped,   0 zombie
%Cpu0  :   0.0/0.1     0[                                                                  ]
%Cpu1  :   0.1/2.9     3[||                                                                ]
%Cpu2  :   0.2/4.0     4[|||                                                               ]
%Cpu3  :   0.3/4.9     5[|||                                                               ]
%Cpu4  :   0.2/0.1     0[                                                                  ]
%Cpu5  :   0.2/4.6     5[|||                                                               ]
%Cpu6  :   0.2/4.3     5[|||                                                               ]
%Cpu7  :   0.3/4.1     4[|||                                                               ]
GiB Mem :  6.5/15.610   [                                                                  ]
GiB Swap:  0.0/9.649    [                                                                  ]

  PID USER      PR  NI    VIRT    RES  %CPU %MEM     TIME+ S COMMAND
  384 root      20   0    6.2m   0.3m  40.0  0.0   2386:36 S mingetty
    7 root      20   0    0.0m   0.0m   6.7  0.0   2:20.86 S rcu_sched
 4154 g1        20   0  300.3m 135.1m   6.7  0.8   3:37.67 S emacs
 7431 root      20   0    0.0m   0.0m   6.7  0.0   0:26.07 S kworker/u16:2
 7539 root      20   0    0.0m   0.0m   6.7  0.0   0:06.54 S kworker/u16:0
    1 root      20   0  130.1m  27.9m   0.0  0.2   0:03.22 S shepherd

If I plug in a console display, I see the login prompt is being rapidly
printed over and over. If I hit the console return key the printing
stops and mingetty stops using CPU.

I am running a relatively recent GuixSD built from git checkout ...

g1 <at> g1 ~$ guix --version
guix (GNU Guix) 0.12.0
g1 <at> g1 ~$ stat ~/.config/guix/latest | grep File:
  File: /home/g1/.config/guix/latest -> /home/g1/src/guix/
g1 <at> g1 ~$ git -C ~/.config/guix/latest describe
v0.12.0-3191-g25a49294c
g1 <at> g1 ~$ git -C ~/.config/guix/latest log -n 1 --oneline
25a49294c cache: Work around 'time-monotonic' bug in Guile 2.2.2.

Here is the system config:

[sys.scm (application/octet-stream, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#26706; Package guix. (Thu, 05 Apr 2018 22:42:01 GMT) Full text and rfc822 format available.

Message #8 received at 26706 <at> debbugs.gnu.org (full text, mbox):

From: myglc2 <at> gmail.com
To: 26706 <at> debbugs.gnu.org
Subject: Re: bug#26706: mingetty consumes 40% CPU printing the login prompt
 over and over
Date: Thu, 05 Apr 2018 18:41:43 -0400
As of guix (GNU Guix) 0.14.0.4032-cfb55 I can't reproduce this, and
haven't seen it since ~ when first reported, so I suggest it be
closed. TIA - George




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 06 Apr 2018 08:07:02 GMT) Full text and rfc822 format available.

Notification sent to myglc2 <myglc2 <at> gmail.com>:
bug acknowledged by developer. (Fri, 06 Apr 2018 08:07:02 GMT) Full text and rfc822 format available.

Message #13 received at 26706-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: myglc2 <at> gmail.com
Cc: 26706-done <at> debbugs.gnu.org
Subject: Re: bug#26706: mingetty consumes 40% CPU printing the login prompt
 over and over
Date: Fri, 06 Apr 2018 10:06:38 +0200
myglc2 <at> gmail.com skribis:

> As of guix (GNU Guix) 0.14.0.4032-cfb55 I can't reproduce this, and
> haven't seen it since ~ when first reported, so I suggest it be
> closed. TIA - George

Great, thanks for the update.




Information forwarded to bug-guix <at> gnu.org:
bug#26706; Package guix. (Fri, 06 Apr 2018 09:09:01 GMT) Full text and rfc822 format available.

Message #16 received at 26706-done <at> debbugs.gnu.org (full text, mbox):

From: Chris Marusich <cmmarusich <at> gmail.com>
To: myglc2 <at> gmail.com
Cc: 26706-done <at> debbugs.gnu.org
Subject: Re: bug#26706: mingetty consumes 40% CPU printing the login prompt
 over and over
Date: Fri, 06 Apr 2018 02:07:55 -0700
[Message part 1 (text/plain, inline)]
myglc2 <at> gmail.com writes:

> As of guix (GNU Guix) 0.14.0.4032-cfb55 I can't reproduce this, and
> haven't seen it since ~ when first reported, so I suggest it be
> closed. TIA - George

I'll close it now, then.

-- 
Chris
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 04 May 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.