Hi,
Does this ring a bell with someone? I'm hunting after a considerable
size growth per request with the following configuration:
-- httpd.conf ----------------------------
PerlModule AxKit
<VirtualHost *>
ServerName test.it.bond.edu.au
ServerAdmin rho@....
DocumentRoot /usr/local/apache/htdocs/test
DefaultType application/xhtml+xml
AddType text/xml .xsp
SetHandler perl-script
PerlHandler AxKit
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript
<Files *.xsp>
AxAddProcessor application/x-xsp .
AxAddProcessor application/x-xpathscript /rumsti.xps
</Files>
</VirtualHost>
-- The XML document faq.xps --------------
<?xml version="1.0"?>
<xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:my="http://astma.bond.edu.au/NS/XSP">
<my:page>
<my:body>
sdfsdf
</my:body>
</my:page>
</xsp:page>
-- and the XPS rumsti.xps ----------------
<html>
<body>testing!</body>
</html>
Observations:
- using an XSLT sheet instead of xpathscript does NOT show the memory leak
- using NO rumsti.xps and delivering the XSP output does NOT show the leak
- using XML::LibXML 1.51 1.50 shows the same effect (still my main suspect)
- using libxml 2.4.23 shows the same effect
- the amount of leakage is 8 or 12 kb per request with small files but
can be 100 kb for bigger versions
Any hint, where I could start debugging is really appreciated!
-- config (on a Debian machine, but all Perl modules installed via CPAN) --------
[notice] Apache/1.3.26 (Unix) AxKit/1.6 mod_perl/1.27 configured -- resuming normal
operations
compiled with
root@monad:~# more /usr/local/cpan/build/makepl_args.mod_perl
APACHE_SRC=/usr/local/src/apache_1.3.26/src/ SSL_BASE=/usr/ \
APACHE_PREFIX=/usr/local/apache \
USE_APACI=1 APACI_ARGS=--disable-rule=EXPAT,\
--disable-module=autoindex,--disable-module=userdir,\
--disable-module=asis,--disable-module=include,\
--disable-module=imap,--disable-module=status \
EVERYTHING=2 DO_HTTPD=1 ALL_HOOKS=1
root@monad:~# xml2-config --version
2.4.24
root@monad:~# perl -MXML::LibXML -e 'print $XML::LibXML::VERSION'
1.52
root@monad:~# perl -MAxKit -e 'print $AxKit::VERSION'
1.6
\rho
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]