[Python-bugs-list] [ python-Bugs-553736 ] thread_pthread.h on FreeBSD

SourceForge.net noreply@sourceforge.net
Sat, 14 Jun 2003 08:07:05 -0700


Bugs item #553736, was opened at 2002-05-08 17:00
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=553736&group_id=5470

Category: Threads
Group: Python 2.1.2
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Andrew Sawyers (zc_andrew)
Assigned to: Nobody/Anonymous (nobody)
Summary: thread_pthread.h on FreeBSD

Initial Comment:
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

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

>Comment By: Martin v. Löwis (loewis)
Date: 2003-06-14 17:07

Message:
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.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-05-14 21:12

Message:
Logged In: YES 
user_id=6380

Oops, Casey didn't speak for everyone. Reopened as a 2.1.4
task.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-05-14 20:04

Message:
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.

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

Comment By: Andrew Sawyers (zc_andrew)
Date: 2002-05-13 19:34

Message:
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

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-05-13 16:53

Message:
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?

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

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