[Zope-dev] FreeBSD, Zope and Plone

Casey Duncan casey@zope.com
Mon, 16 Sep 2002 15:51:12 -0400


In my experience, python crashes on FreeBSD are due to the default thread=
=20
stack size problem exclusively. I run Python/Zope with complex sites all =
the=20
time (not plone tho) and once patched appropriately it never crashes unle=
ss I=20
cause it to.

There are two solutions to this IMHO:

1. Release a bug fix in Python (hasn't happened yet, but it has been disc=
ussed=20
several times)

2. Patch the FreeBSD python port. This is likely an excellent solution an=
d one=20
which could also solve the large file support issue simulaneously.

Unless PythonLabs tells me that 2.1.4 will fix these things, I will work =
on=20
making this happen this week. I will also see how plone behaves on my BSD=
 box=20
(firstly I guess).

-Casey

On Monday 16 September 2002 03:11 pm, alan runyan wrote:
> I have just spent several hours trying to get plone.org back up.
> It appears that Plone and FreeBSD are not made for each other.
> I end up getting core dumps.  I applied the 'thread stack' patch.
> I also tried to use Python2.2.1 w/ chrism_installer branch and
> I get the same results. =20
>=20
> I am most likely going to move away from FreeBSD to Linux -
> which is a shame, one less FreeBSD/Zope/Plone combination
> running in the wild.  I know the iMeme guys have Plone running
> but I have seen really freakish behavior there as well.  So I am
> giving up.  If someone wants to hand hold me - I will try again
> but in a few minutes I'm moving the Data.fs file to a linux box
> and trying to get plone.org back up.
>=20
> Notes from my experience:
> - chrism_installer_branch is *very very* nice - thanks ChrisM.
>=20
> - seemingly large file support is never turned on by default in
> python tarballs.  I think this is a shame.  I dont know the reasons
> but reading the posix large file page is very scary.  Zope Corp
> should always enable large file support on all of their python
> interpreters.=20
>=20
> - Its really depressing that Python/FreeBSD/Plone have this problem.
> iirc yahoo.com runs lots of FreeBSD boxens running python for
> some of their services.  but the fact that I have spent some 3 hours
> trying to get all of this to work and Plone still causes python to
> core dump is a huge shame.  CMF sites work fine.  Plone site crash.
> I have never seen Plone crash on either win32 or linux.  This is
> FreeBSD problem.
>=20
> please help make Zope/Python/*BSD work together gurus - your
> our only hope.  I remember asking the python maintainer to up
> the thread stack size in python2.1.2 and his response was something
> like - if your requiring more than whats allocated you have serious
> problems.
>=20
> ~runyaga
>=20
>=20
>=20
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -=20
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>=20