[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-dev
Subject:    Re: [Zope-dev] Building / installing Zope on AIX 5.3
From:       "Marcello Bax" <marcello.bax () gmail ! com>
Date:       2008-03-20 0:01:13
Message-ID: c37c23cb0803191701l14c36efbh706eaabe58338659 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Thank you for the help.
The unifiedInstaller from plone.org seems to have a Python package that
corrects this "stack size" issue.

After installing GNU versions of "tar", "make", "gcc" and "ln" on AIX-5.3, I
followed, step by step, the install.sh script from unifiedInstaller bundle
using bash shell. I continued progressing and correcting some small AIX
environment differences.
It worked very well. Many thanks to the Plone community and the
unifiedinstaller!

Marcello Bax
Paradigma.com.br

On Wed, Mar 19, 2008 at 3:54 PM, Dieter Maurer <dieter@handshake.de> wrote:

> Marcello Bax wrote at 2008-3-19 09:31 -0300:
> > ...
> >I compiled Python 2.4.4 on AIX 5.3, with cc_r compiler, installed
> Zope-2.9.8and
> >Plone-2.5.1.
> >
> >Everything seems work well, excepted when I call Plone on the browser or
> >click on the "view tab" inside one Plone site at the ZMI.
> >When I do this, I get a "Segmentation fault" on the server.
>
> Looks very much like a C runtime stack overflow.
>
> > ...
> >I found this text in  at Zope-2.9/doc/PLATFORMS/AIX.txt :
> >
> >"from Wolfgang Roesner (reporting segfaults and a fix)
> >
> >  The default stack size for a pthread on AIX (at least in my
> >  configuration) is 96kB. On Solaris it's 1M. As soon as I explicitly
> >  set the initial stack size to 1M the problem went away and it
> >  appears as if Zope is up and running.
> >
> >  Unfortunately I really had to change "thread_pthread.h" in Python
> >  which obviously is not a nice thing to do as I now have a need for
> >  my own private version of Python. But at least I have a running
> >  version of Zope on AIX."
> >
> >Is this really something to try?
>
> Definitely. Almost surely, you see precisely this problem (C runtime
> stack too small).
>
>
>
> --
> Dieter
>

[Attachment #5 (text/html)]

<br>Thank you for the help.<br>The unifiedInstaller from <a \
href="http://plone.org">plone.org</a> seems to have a Python package that corrects \
this &quot;stack size&quot; issue.<br><br>After installing GNU versions of \
&quot;tar&quot;, &quot;make&quot;, &quot;gcc&quot; and &quot;ln&quot; on AIX-5.3, I \
followed, step by step, the install.sh script from unifiedInstaller bundle using bash \
shell. I continued progressing and correcting some small AIX environment \
differences.<br> It worked very well. Many thanks to the Plone community and the \
unifiedinstaller!<br><br>Marcello Bax<br><a \
href="http://Paradigma.com.br">Paradigma.com.br</a><br><br><div \
class="gmail_quote">On Wed, Mar 19, 2008 at 3:54 PM, Dieter Maurer &lt;<a \
href="mailto:dieter@handshake.de">dieter@handshake.de</a>&gt; wrote:<br> <blockquote \
class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt \
0pt 0.8ex; padding-left: 1ex;">Marcello Bax wrote at 2008-3-19 09:31 -0300:<br> &gt; \
...<br> <div class="Ih2E3d">&gt;I compiled Python 2.4.4 on AIX 5.3, with cc_r \
compiler, installed Zope-2.9.8and<br> &gt;Plone-2.5.1.<br>
&gt;<br>
&gt;Everything seems work well, excepted when I call Plone on the browser or<br>
&gt;click on the &quot;view tab&quot; inside one Plone site at the ZMI.<br>
&gt;When I do this, I get a &quot;Segmentation fault&quot; on the server.<br>
<br>
</div>Looks very much like a C runtime stack overflow.<br>
<br>
&gt; ...<br>
<div class="Ih2E3d">&gt;I found this text in &nbsp;at Zope-2.9/doc/PLATFORMS/AIX.txt \
:<br> &gt;<br>
&gt;&quot;from Wolfgang Roesner (reporting segfaults and a fix)<br>
&gt;<br>
&gt; &nbsp;The default stack size for a pthread on AIX (at least in my<br>
&gt; &nbsp;configuration) is 96kB. On Solaris it&#39;s 1M. As soon as I \
explicitly<br> &gt; &nbsp;set the initial stack size to 1M the problem went away and \
it<br> &gt; &nbsp;appears as if Zope is up and running.<br>
&gt;<br>
&gt; &nbsp;Unfortunately I really had to change &quot;thread_pthread.h&quot; in \
Python<br> &gt; &nbsp;which obviously is not a nice thing to do as I now have a need \
for<br> &gt; &nbsp;my own private version of Python. But at least I have a \
running<br> &gt; &nbsp;version of Zope on AIX.&quot;<br>
&gt;<br>
&gt;Is this really something to try?<br>
<br>
</div>Definitely. Almost surely, you see precisely this problem (C runtime<br>
stack too small).<br>
<br>
<br>
<br>
--<br>
<font color="#888888">Dieter<br>
</font></blockquote></div><br>



_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic