All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@saunalahti.fi>
To: "Bram Matthys (Syzop)" <syzop@vulnscan.org>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] umls unresponsive & consuming 100% cpu time
Date: Wed, 14 May 2008 11:41:18 +0300	[thread overview]
Message-ID: <482AA5AE.3000900@saunalahti.fi> (raw)
In-Reply-To: <48255FC4.4040805@vulnscan.org>

Bram Matthys (Syzop) wrote:
> Thanks for your reply.
> 
> $ grep HZ .config
> CONFIG_HZ=100
> # CONFIG_NO_HZ is not set
> 
> I've applied your patch against my 2.6.25 (vanilla)...
> patching file arch/um/os-Linux/time.c
> patching file arch/um/kernel/time.c
> Hunk #1 succeeded at 74 (offset -1 lines).
> Hunk #2 succeeded at 82 (offset -1 lines).
> and recompiled etc..
> 
> I saw vincent's issue, and when I set the time like 5 seconds back.. the UML
> freezes and uses 100% cpu and doesn't respond at all. This is however not
> entirely the same as what I had, because i still had it somewhat responsive...

Hi,

I think I have experienced the same problem. I don't have time now to 
investigate it further, but I have some info which may or may not be 
useful in debugging. So this is mainly just FYI.

I have three UML instances running on a host. First, they all were 
unresponsive simultaneously using all CPU time they could get. After a 
while they became responsive again. I could log in through SSH. The 
funny thing is that the date command showed correct date and time (as 
far as I remember, can't test it now as they are hung again) while the 
time in bash prompt was constant showing the time around the initial 
hang, which is the same on all three instances.

I think there was some NTP related activity on the host while this 
happened. The time the UMLs were showing was 23:xx:xx, don't know 
exactly. :(

---
May 13 22:58:56 retiisi ntpd[20630]: synchronized to 192.26.119.7, stratum 2
May 13 22:58:56 retiisi ntpd[20630]: time reset -5.151310 s
May 13 22:58:56 retiisi ntpd[20630]: kernel time sync enabled 0001
May 13 22:58:52 retiisi kernel: set_rtc_mmss: can't update from 1 to 58
May 13 22:58:56 retiisi last message repeated 4 times
May 13 22:59:27 retiisi kernel: set_rtc_mmss: can't update from 1 to 59
May 13 22:59:40 retiisi last message repeated 13 times
May 13 22:59:41 retiisi kernel: set_rtc_mmss: can't update from 2 to 59
May 13 22:59:59 retiisi last message repeated 18 times
May 13 23:02:29 retiisi ntpd[20630]: synchronized to 192.26.119.7, stratum 2
---

The host is 2.6.24 (skas4) and the clients are vanilla 2.6.24. Oh dear, 
I seem to have CONFIG_NO_HZ enabled...

-- 
Sakari Ailus
sakari.ailus@saunalahti.fi

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  parent reply	other threads:[~2008-05-14  8:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-07 14:00 [uml-devel] umls unresponsive & consuming 100% cpu time Bram Matthys (Syzop)
2008-05-07 20:23 ` Nix
2008-05-08 10:02   ` [SPAM] " Bram Matthys (Syzop)
2008-05-09 15:45 ` Jeff Dike
2008-05-10  8:41   ` [SPAM] " Bram Matthys (Syzop)
2008-05-13 15:40     ` Jeff Dike
2008-05-14  8:41     ` Sakari Ailus [this message]
2008-05-19 16:16       ` Jeff Dike
2008-05-31  9:16         ` Bram Matthys (Syzop)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=482AA5AE.3000900@saunalahti.fi \
    --to=sakari.ailus@saunalahti.fi \
    --cc=syzop@vulnscan.org \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.