All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Witek Krecicki" <adasi@kernel.pl>
To: "Manfred Spraul" <manfred@colorfullife.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [BUG 2.5.X] Hollow processes
Date: Mon, 13 May 2002 00:48:46 +0200	[thread overview]
Message-ID: <007201c1fa07$2d7bd5d0$0201a8c0@witek> (raw)
In-Reply-To: <3CDED21B.3050208@colorfullife.com>

----- Original Message -----
From: "Manfred Spraul" <manfred@colorfullife.com>
> > It's impossible to check what the process is (trying to read
>  > /proc/{pid}/{anyting} causes reading process to hang in the
>  > same way (so we have now 2 hanging processes).
>
> Have you tried SysRQ+showTasks? That dumps the kernel stack. You can
> convert the numbers to names with ksymoops, or often klogd will convert
> them and the result is in /var/log/messages.
>
> What exactly hangs?
> Could you run
>
> strace ls /proc/1234
> strace cat /proc/1234/maps
> strace ls /proc/1234/fd -l
>
> Which syscall hangs?
> SMP or UP?
It's UP machine with UP kernel. I haven't tried it now strace'ing 'cat
/proc/1234/cmdline' (on 2.5.15) but as I remember from earlier kernels it
hanged on file reading processes. I'll try to make some additional tests as
soon as I'll be back from short vacation
ls'ing /proc/1234 doesn't hangs but ls -al does.
BTW: from my earlier post:
<cut>
mremap(0x407c5000, 8192, 12288, MREMAP_MAYMOVE) = 0x407c1000
brk(0x82e5000)                          = 0x82e5000
brk(0x82e6000)                          = 0x82e6000
old_mmap(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x407dc000
mremap(0x407ce000, 8192, 12288, MREMAP_MAYMOVE
</cut>
This is strace poldek on 2.5.11 kernel (behaviour is the same)
WK
P.S. now I can't reproduce it (on 2.5.15) as it's glibc compilation and it
takes far too long and has many subprocesses, but poldek issue on 2.5.11/12
was reproductible.
WK



  reply	other threads:[~2002-05-12 22:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-12 20:35 [BUG 2.5.X] Hollow processes Manfred Spraul
2002-05-12 22:48 ` Witek Krecicki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-12 20:01 Witek Kręcicki

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='007201c1fa07$2d7bd5d0$0201a8c0@witek' \
    --to=adasi@kernel.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    /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.