[Patches] [ python-Patches-554841 ] THREAD_STACK_SIZE for 2.1

noreply@sourceforge.net noreply@sourceforge.net
Wed, 11 Sep 2002 11:28:16 -0700


Patches item #554841, was opened at 2002-05-11 15:32
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=554841&group_id=5470

Category: Core (C code)
Group: Python 2.1.2
Status: Closed
Resolution: Out of Date
Priority: 5
Submitted By: Matt Behrens (mattbehrens)
Assigned to: Nobody/Anonymous (nobody)
Summary: THREAD_STACK_SIZE for 2.1

Initial Comment:
I created this patch for OpenBSD packaging, so we could
bump up the pthread stack size in the same way it is
done for Python 2.2 -- by adding
-DTHREAD_STACK_SIZE=0x20000 to OPT.  (We need this so
Zope doesn't crash with our shared libpython.)


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

>Comment By: Martin v. Löwis (loewis)
Date: 2002-09-11 20:28

Message:
Logged In: YES 
user_id=21627

Increasing the stack size might be still needed, but this
patch is not - Python 2.2 already incorporates it. To quote
the summary of this patch

"so we could bump up the pthread stack size in the same way
it is done for Python 2.2"

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

Comment By: Myroslav Opyr (interra)
Date: 2002-09-11 19:11

Message:
Logged In: YES 
user_id=327208

Why the increase of thread stack is not needed on Python 2.2?

I just do not know that yet, because there is no Zope for
Python 2.2 relesed yet. Thus I did no stress tests against
Pyhton 2.2. AFAIK, there have to be Zope 2.7 which will
require Python 2.2.

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-09-11 18:59

Message:
Logged In: YES 
user_id=21627

It is highly unlikely that there will be a Python 2.1.4
release. In the absence of this release, the patch is not
needed.

If you update to a newer Python version, it will be Python
2.2.x or Python 2.3.x; I understand that the patch is not
needed on such a system.

This is not at all about politics. There simply is no
volunteer to make another Python 2.1 release.

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

Comment By: Myroslav Opyr (interra)
Date: 2002-09-11 18:30

Message:
Logged In: YES 
user_id=327208

The pathch is closed but an issue remains.

Do I have to apply the patch each time I update Python
version? Zope with more or less complex CMS just blows out
because of tiny stack!

Sorry if I do not understand something in politics here...

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-09-11 18:04

Message:
Logged In: YES 
user_id=21627

Closing this one as well (see 554718)

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

Comment By: Matt Behrens (mattbehrens)
Date: 2002-09-11 15:36

Message:
Logged In: YES 
user_id=240525

I am no longer involved in OpenBSD.  Chris Humphries took
over the Python ports, he is reachable at
<chumphries@drauku.net>.  I let him know about these patches
in early July.

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

Comment By: Myroslav Opyr (interra)
Date: 2002-05-20 14:39

Message:
Logged In: YES 
user_id=327208

I have FreeBSD4, Python 2.1.3 and Zope 2.5.1

The patch was mandatory to make site using CMF and heavy 
ZPT work. Uptime is 5 days already.

The bug should be eliminated in next 2.1.4 release. Can we 
increase priority?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=554841&group_id=5470