mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Lang <dlang@digitalinsight.com>
To: Alexander Nyberg <alexn@telia.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4 VS 2.6 fork VS thread creation time test
Date: Mon, 24 May 2004 00:15:41 -0700 (PDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0405240003290.8199@dlang.diginsite.com> (raw)
In-Reply-To: <D53BF43BC70DD511A22500508BB3C0070A73CE83@wlvexc00.diginsite.com>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2015 bytes --]

I just found part of a thread from early april about zombie problems in
both 2.4 and 2.6
thread titles are
Exploring sigqueue leak (was: Strange 'zombie' problem both in 2.4 and
2.6)
Local DoS (was: Strange 'zombie' problem both in 2.4 and 2.6)


one piece of info that those threads were looking for is the sigqueue info

on my box I get

baseline:/proc/sys/kernel# grep sigqueue /proc/slabinfo
sigqueue              22     24    160   24    1 : tunables  120   60    8
: slabdata      1      1      0
baseline:/proc/sys/kernel# cat /proc/sys/kernel/rtsig-*
2048
1

default rtsig-max was 1024, I bumped it up to 2048 but it did not affect
the problem

one interesting point is that rtsig-nr is normally 0 but when it is in the
error condition that causes all children to become zombies it sits at 1

since my last message didn't go out to linux-kernel and I didn't notice it
I am attaching the source for a program that also generates this problem

David Lang


On Sun, 23 May 2004, David Lang wrote:

> Date: Sun, 23 May 2004 17:46:40 -0700 (PDT)
> From: David Lang <dlang@digitalinsight.com>
> To: Alexander Nyberg <alexn@telia.com>
> Subject: Re: Linux 2.4 VS 2.6 fork VS thread creation time test
>
> > >
> > > unfortunantly trying to leave strace attached while running the test slows
> > > it down to ~1200 forks/sec and the problem never forms.
> >
> > Could you please show me this program? I wrote a small one together
> > myself but I cannot reproduce this problem, maybe because of UP, don't
> > know.
>
> Ok, here is another program that has the same problem.
>
> David Lang
>
> --
> "Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it." - Brian W. Kernighan
>
>

-- 
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan


[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 14604 bytes --]

      parent reply	other threads:[~2004-05-24  7:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-23  7:57 Gergely Czuczy
2004-05-23  8:55 ` Nick Piggin
2004-05-23  9:03   ` Gergely Czuczy
2004-05-23  9:38     ` Nick Piggin
2004-05-23 15:08     ` Anton Blanchard
2004-05-23  9:39 ` Christian Borntraeger
2004-05-23 10:00   ` David Lang
2004-05-23 19:47     ` Christian Borntraeger
2004-05-24  0:06       ` David Lang
     [not found]     ` <1085325156.622.0.camel@boxen>
     [not found]       ` <D53BF43BC70DD511A22500508BB3C0070A73CE83@wlvexc00.diginsite.com>
2004-05-24  7:15         ` David Lang [this message]

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=Pine.LNX.4.58.0405240003290.8199@dlang.diginsite.com \
    --to=dlang@digitalinsight.com \
    --cc=alexn@telia.com \
    --cc=linux-kernel@vger.kernel.org \
    /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®