Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs

[ python-Bugs-420720 ] Starting many threads causes core dump

 

 

Python bugs RSS feed   Index | Next | Previous | View Threaded


noreply at sourceforge

May 2, 2001, 7:09 AM

Post #1 of 2 (131 views)
Permalink
[ python-Bugs-420720 ] Starting many threads causes core dump

Bugs item #420720, was updated on 2001-05-02 07:09
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420720&group_id=5470

Category: Threads
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Starting many threads causes core dump

Initial Comment:
If I start more than 1020 threads simultaneously, using
the threading module, Python 2.1 causes segmentation
faults, or will not exit, under Linux. I have not
tested this on Windows.

I don't know whether the problems are caused by the
threads themselves, or the threading.Event for which
they are waiting.

I have attached a program threadKill3.py which
demonstrates this (including sample runs and output).


----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420720&group_id=5470


noreply at sourceforge

May 9, 2001, 8:53 AM

Post #2 of 2 (129 views)
Permalink
[ python-Bugs-420720 ] Starting many threads causes core dump [In reply to]

Bugs item #420720, was updated on 2001-05-02 07:09
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420720&group_id=5470

Category: Threads
Group: None
Status: Open
Resolution: None
>Priority: 4
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Starting many threads causes core dump

Initial Comment:
If I start more than 1020 threads simultaneously, using
the threading module, Python 2.1 causes segmentation
faults, or will not exit, under Linux. I have not
tested this on Windows.

I don't know whether the problems are caused by the
threads themselves, or the threading.Event for which
they are waiting.

I have attached a program threadKill3.py which
demonstrates this (including sample runs and output).


----------------------------------------------------------------------

>Comment By: Jeremy Hylton (jhylton)
Date: 2001-05-09 08:53

Message:
Logged In: YES
user_id=31392

We need two things in order to offer any useful help:
1. A stack trace from the core file.
2. Evidence that a C program that starts 1024 threads
won't do the same thing.


----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420720&group_id=5470

Python bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.