Re: [SLUG] slowdown

From: ronan (ronan@tampabay.rr.com)
Date: Wed Feb 13 2008 - 05:49:33 EST


>
> Curiouser and curiouser. "rxvt -e bash -c exit" pops us the rxvt
> window right away then disappears (after a few seconds) as expected,
> "time rxvt -e bash -c exit" hangs. "xterm -e bash -c exit" pauses
> before appearing, "time xterm -e bash -c exit" runs in, well it's weird:
>
> eben@pc:~$ time xterm -e bash -c exit
>
> real 0m5.029s
> user 0m0.011s
> sys 0m0.005s
>
> X is honked up (in a way that hangs rxvt but not xterm)?
>
You could try "strace": strace xterm -r bash -c exit

You'll probably see it either hang on a certain system call, or spin
through a small set over-and-over. Figuring out what the output
signifies is often hard (unless you see something obvious like a failing
open() call on a missing file).

Even more performance information, on an entire machine, can be
collected with "oprofile". It profiles all userspace software function
calls, and the kernel (if you want). However, since your CPU is 93%
idle, this kind of profiling might not help?

The rootkit is an interesting possibility.

--ronan
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:00:47 EDT