Re: 1023rd thread crashes 2.4.0-test8 from non-root user (fwd)

2000-09-25 Thread Ted Deppner
On Mon, Sep 25, 2000 at 03:02:05PM -0700, Linus Torvalds wrote: > sigdelset(&list->signal, sig); I just tested this using my perl-5.005-threads program... no change from my last email (only 1023 threads created, program fails to respond to ctrl-c when more than 1023 threads are attempted).

Re: 1023rd thread crashes 2.4.0-test8 from non-root user

2000-09-25 Thread Ted Deppner
On Mon, Sep 25, 2000 at 10:33:06AM +0200, Ingo Molnar wrote: > On Mon, 25 Sep 2000, Ted Deppner wrote: > > > I ask because on my perl-threads test case, I can't create more than 1023 > > threads, but I get a kernel crash when I've _attempted_ to create more > > than 1023 and hit ctrl-c. > > coul

Re: 1023rd thread crashes 2.4.0-test8 from non-root user (fwd)

2000-09-25 Thread Linus Torvalds
Duh. This was a really stupid bug. In kernel/signal.c, collect_signal(), for the case where we don't find a siginfo block, we need to clear the signal set. In short, add the line sigdelset(&list->signal, sig); just before the first "return 1" in collect_signal(), and all should be wel

Re: 1023rd thread crashes 2.4.0-test8 from non-root user

2000-09-25 Thread Ingo Molnar
btw., maybe it's init that gets those 2000 signals, not bash? Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: 1023rd thread crashes 2.4.0-test8 from non-root user

2000-09-25 Thread Ingo Molnar
indeed, after changing max_queued_signals to 4096, i cannot crash the kernel anymore with 2000 threads. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: 1023rd thread crashes 2.4.0-test8 from non-root user

2000-09-25 Thread Ingo Molnar
On Mon, 25 Sep 2000, Mark Hahn wrote: > > The problem is large numbers of threads in 2.4.0-test8 can result in a > > hard crash of the entire kernel. This can be done as a non-root user. > > this appears to be reproducable (128M duron, haven't tried intel UP/SMP): i've done some experimentati

Re: 1023rd thread crashes 2.4.0-test8 from non-root user

2000-09-24 Thread Mark Hahn
> The problem is large numbers of threads in 2.4.0-test8 can result in a > hard crash of the entire kernel. This can be done as a non-root user. this appears to be reproducable (128M duron, haven't tried intel UP/SMP): // code derived from a clone demo in lmbench. #include #include #include

1023rd thread crashes 2.4.0-test8 from non-root user

2000-09-23 Thread Ted Deppner
Greetings. I have already done some high level searchs of the linux-kernel mailing list, as well as linux24.sourceforge.net (tytso's 2.4 todo list) and haven't seen mention of a problem referencing this problem. The problem is large numbers of threads in 2.4.0-test8 can result in a hard crash of