On Thu, 2 Nov 2000, Tom Harper wrote:

> Hi--
> 
> In case anyone encounters the same segv issues,
> recompiled apache with mod_perl 1.24--
> 
> explicitly set Rule EXPAT=no rather than 
> Rule EXPAT=default in the apache_base/src/Configure.  
> 
> No more segv.
> 
> Then i recompiled again with mod_perl 1.23.  
> 
> Again, no more segv.
> 
> Go figure.

I'm sure that's almost exactly what the axkit faq tells you to do :-)

The problem is that the expat isn't in mod_dav, its in Apache, so even if
you don't have mod_dav installed, Apache compiles in expat. If at a later
date you feel you need mod_dav you can use the patches in the axkit
download directory.

> Anyhow, based on this experience we are very enthusiastic
> about XML::Parser package.  We are mis-using XML::Parser 
> as part of a X(HT)ML based templating engine, and since the
> fix it has handled significant load without complaint
> (>50 concurrent connections).

Just a word of warning: XML::Parser is slower than you think. All the
method calls, back and forth from C to Perl, and having one of those for
every node in the XML document, is all very slow. Cache what you can,
whenever you can, or your platform won't scale very well. (speaking from
direct personal experience).

-- 
<Matt/>

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\\
    //  \\

Reply via email to