From: Andrew Morton <akpm@osdl.org>
To: Florian Schanda <ma1flfs@bath.ac.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 99% System load
Date: Wed, 11 Feb 2004 23:44:13 -0800 [thread overview]
Message-ID: <20040211234413.3d90df5d.akpm@osdl.org> (raw)
In-Reply-To: <200402111423.02217.ma1flfs@bath.ac.uk>
Florian Schanda <ma1flfs@bath.ac.uk> wrote:
>
> Sometimes (not allways, thats the problem, otherwise I could just avoid the
> offending command) during paralel builds (for instance kde-libs or kde-base)
> the build just stops, and I get a 99% system load.
>
> For instance, just now I have (from top):
>
> Tasks: 89 total, 5 running, 84 sleeping, 0 stopped, 0 zombie
> Cpu0 : 0.3% us, 99.7% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
> Cpu1 : 0.3% us, 99.7% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
> Cpu2 : 1.3% us, 98.7% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
> Cpu3 : 1.0% us, 99.0% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.0% si
> Mem: 2071872k total, 1220772k used, 851100k free, 48080k buffers
> Swap: 401616k total, 0k used, 401616k free, 892428k cached
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 5197 ma1flfs 25 0 2256 884 2184 R 99.5 0.0 6:29.38 sh
> 5199 ma1flfs 25 0 2260 888 2184 R 99.5 0.0 6:28.02 sh
> 5201 ma1flfs 25 0 2260 884 2184 R 98.5 0.0 6:29.99 sh
> 5208 ma1flfs 25 0 1560 440 1404 R 98.5 0.0 6:32.03 grep
Make sure that you have enabled CONFIG_KALLSYMS, and that
/proc/sys/kernel/sysrq is set to one. Then, when it hangs, do
echo t > /proc/sysrq-trigger
or type alt-sysrq-t
Then, run
dmesg -s 1000000 > /tmp/foo
and make `foo' available.
It would help if you could make a note of the PIDs of the hung processes,
so they can be correlated with the sysrq output.
Thanks.
next prev parent reply other threads:[~2004-02-12 7:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-11 14:22 Florian Schanda
2004-02-11 14:30 ` Florian Schanda
2004-02-11 19:02 ` Michel Angelo da Silva Pereira
2004-02-12 7:44 ` Andrew Morton [this message]
2004-02-17 21:16 ` Florian Schanda
2004-02-17 21:43 ` Andrew Morton
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=20040211234413.3d90df5d.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ma1flfs@bath.ac.uk \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®