[Zope] Threading, dtml and performance?!

Oliver Erlewein oliver@erlewein.de
Wed, 24 Oct 2001 21:06:01 +0200


Sorry the Script might not do what it should. But that's not the important 
thing. Just select a script, that occupies Zope quite some time (e.g. long 
running <dtml-in>). The try to call another page on the site. Does ist appear?

Below I've changed the script a little. It might work (sorry can't test 
because my home implementation of Zope isn't up & running yet).  Please start 
it in a Folder with manny Subfloders (big site).

Oliver Erlewein

>
> <dtml-call logic>
> <dtml-var head>
> <dtml-var standard_html_header>
> start<br>
>
>  <dtml-in
> "[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
> 1,1]">
>   a<br>
>   <dtml-in "ZopeFind(this(),  search_sub=1)"> 
sort=bobobase_modification_time reverse>
>     b<br>
>     <dtml-var bobobase_modification_time>, <dtml-var id><br>  </dtml-in>
>   </dtml-in>
> end<br>
> <dtml-var standard_html_footer>
>
>
>
> Thanks for help,
> Paul Zwarts
>
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org] On Behalf Of
> Chris McDonough
> Sent: Wednesday, October 24, 2001 12:48 AM
> To: Tony McDonald; Oliver Erlewein; zope@zope.org
> Subject: Re: [Zope] Threading, dtml and performance?!
>
> Can somebody with a multiprocessor Linux machine try this out?
>
> ----- Original Message -----
> From: "Tony McDonald" <tony.mcdonald@ncl.ac.uk>
> To: "Chris McDonough" <chrism@zope.com>; "Oliver Erlewein"
> <oerlewein@gmx.de>; <zope@zope.org>
> Sent: Tuesday, October 23, 2001 6:12 PM
> Subject: Re: [Zope] Threading, dtml and performance?!
>
> > On 23/10/01 4:21 pm, "Chris McDonough" <chrism@zope.com> wrote:
> > > This "hogging" behavior doesn't show up on a Linux 2.4.2 kernel,
>
> Zope
>
> > > 2.3.3 system we have here.  I can browse the site normally while
>
> the
>
> > > DTML method runs.
> > >
> > > I don't have a Solaris machine to test this on; can anyone else
> > > confirm the behavior on Solaris?
> >
> > Solaris 8, Zope 2.4.1 compiled from source.
> > Save the DTML as a method, 'view' it. Try and do something else on
>
> the same
>
> > site .... No-go.
> >
> > Damn.
> >
> > Tone.
> > --
> > Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
> > The Medical School, Newcastle University Tel: +44 191 243 6140
> > A Zope list for UK HE/FE
>
> http://www.fmcc.org.uk/mailman/listinfo/zope
>
> > _______________________________________________
> > Zope maillist  -  Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )