This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: THREAD_STACK_SIZE for 2.1
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: interra, loewis, mattbehrens
Priority: normal Keywords: patch

Created on 2002-05-11 13:32 by mattbehrens, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch-Python_thread_pthread_h mattbehrens, 2002-05-11 13:32 THREAD_STACK_SIZE patch for Python 2.1
Messages (8)
msg39997 - (view) Author: Matt Behrens (mattbehrens) Date: 2002-05-11 13:32
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.)
msg39998 - (view) Author: Myroslav Opyr (interra) Date: 2002-05-20 12:39
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?
msg39999 - (view) Author: Matt Behrens (mattbehrens) Date: 2002-09-11 13:36
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.
msg40000 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-09-11 16:04
Logged In: YES 
user_id=21627

Closing this one as well (see 554718)
msg40001 - (view) Author: Myroslav Opyr (interra) Date: 2002-09-11 16:30
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...
msg40002 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-09-11 16:59
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.
msg40003 - (view) Author: Myroslav Opyr (interra) Date: 2002-09-11 17:11
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.
msg40004 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-09-11 18:28
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"
History
Date User Action Args
2022-04-10 16:05:18adminsetgithub: 36590
2002-05-11 13:32:28mattbehrenscreate