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_pthread.h on FreeBSD
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, loewis, zc_andrew
Priority: normal Keywords:

Created on 2002-05-08 15:00 by zc_andrew, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
thread_pthread.diff zc_andrew, 2002-05-08 15:00 thread_pthread.h.diff
Messages (6)
msg10699 - (view) Author: Andrew Sawyers (zc_andrew) Date: 2002-05-08 15:00
The pthread setstacksize of 64K is too small for 
FreeBSD in some cases (i.e. specifically when running 
Zope/CMF).  The attached diff has worked on 3+ 
different production sites; though the setting of the 
stacksize to 128K was WAG.  It might be possible to 
still overflow the stacksize, though in all the sites 
using this change are no longer having problems.
I've spoken with Fred about this on a few occassions...
Thanks,
Andrew
msg10700 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-05-13 14:53
Logged In: YES 
user_id=6380

It looks like a similar change has already been applied to
2.2 and beyond. Does that work for you? Do you think it
would be useful to backport this change to the Python 2.1.x
series?
msg10701 - (view) Author: Andrew Sawyers (zc_andrew) Date: 2002-05-13 17:34
Logged In: YES 
user_id=538986

Yes, I definately think it's useful to have the change in 
the 2.1.x branches; specifically anyone running Zope could 
be exposed to this bug.
Thanks,
Andrew
msg10702 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-05-14 18:04
Logged In: YES 
user_id=6380

Casey Duncan says he can live with it for 2.1.x, so I'm
closing this as Won't Fix.
msg10703 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-05-14 19:12
Logged In: YES 
user_id=6380

Oops, Casey didn't speak for everyone. Reopened as a 2.1.4
task.
msg10704 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-06-14 15:07
Logged In: YES 
user_id=21627

I have now backported the 2.3 FreeBSD RECURSION_LIMIT code
to 2.2 as 2.77.6.2 and to 2.1 as 2.55.2.1. Closing this
report as fixed.
History
Date User Action Args
2022-04-10 16:05:18adminsetgithub: 36577
2002-05-08 15:00:31zc_andrewcreate