lkml.org 
[lkml]   [2000]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 1023rd thread crashes 2.4.0-test8 from non-root user (fwd)
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). This _appears_ to be a
bug in perl-5.005-threads as shipped with debian potato.

Using Mark Hahn's test code, I get all 2000 threads successfully created,
and they respond properly when killed via ctrl-c. So that appears to fix
the problem.

ASSUMING the perl-5.005-thread problem is indeed a perl problem I think
this solves the kernel crash problem. (NOTE, I have test this with
max_queued_signal at 4096 and 1024... no difference for either perl or
Mark's code.)

I'll get the source to perl-5.005-thread and play with it later tonight.

--
Ted Deppner
http://www.psyber.com/~ted/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.035 / U:1.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site