Tim McLaughlin wrote:
Glad to see more Zopes out there are on FreeBSD... We actually haven't seen any of these issues on our systems; we're using the FreeBSD Python 2.1.1 port and Zope 2.5.1. We're not running Plone either though.
There was a question about a patch. I suppose the main patch location is https://sourceforge.net/tracker/?func=detail&atid=305470&aid=554841&group_id... Python tracker on SourceForge. We also faced the problem when running Zope+CMF+CMFDecor(zpt). Patch solved the problem but I think we made stack even bigger then proposed in a patch. Now we have Plone site with Zope-2.6a+CMF-1.3+Plone1.0beta1+AltPT+AltPTi18n. The last combination have to consume huge stack! Nothing wrong with that, even when invoking Plone site page as the first one after Zope start (that makes stack be very deep). Regards, m.
I sincerely hope BSD doesn't become second class for running Zope :/
Tim
Casey Duncan wrote:
In my experience, python crashes on FreeBSD are due to the default thread stack size problem exclusively. I run Python/Zope with complex sites all the time (not plone tho) and once patched appropriately it never crashes unless I 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 discussed several times)
2. Patch the FreeBSD python port. This is likely an excellent solution and one 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 making this happen this week. I will also see how plone behaves on my BSD box (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. 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.
Notes from my experience: - chrism_installer_branch is *very very* nice - thanks ChrisM.
- 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. - 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.
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.
~runyaga
-- Myroslav Opyr zope.net.ua <http://zope.net.ua/> ° Ukrainian Zope Hosting e-mail: myroslav@zope.net.ua <mailto:myroslav@zope.net.ua>