We're having a problem with AxKit where the Apache web server pegs the cpu
and never comes back from the request. We have to stop the httpd service
and restart it. With 'AxDebugLevel 10' in the httpd.conf file, the
apache error_log ends with the following lines:
[AxKit] fast handler called for /tmp/File_732003_131122_22483.xml
[AxKit] Content Provider Override: Apache::AxKit::Provider::File
[AxKit] decoding from UTF-8
[AxKit] [req] File Provider given $r:
/usr/local/web/tmp/File_732003_131122_22483.xml
[AxKit] checking if we process this resource
[AxKit] media: screen, preferred style: #default
[AxKit] Cache: key = 00c8266794d57ac1e5a4fe47bd01342b
[AxKit] getting styles and external entities from the XML
[AxKit] styles not cached - calling $provider->get_styles()
[AxKit] using XS get_styles (libxml2)
[AxKit] encoding to UTF-8
[AxKit] calling xs_get_styles_fh()
[AxKit] calling xs_get_styles_str()
Some additional info:
- This is a dual-cpu system, and is not busy at the time of the request.
- An xml file of 3,750,509 bytes will cause this problem to occur.
- An xml file that's 984,519 bytes takes a LONG time to process, but does
eventually complete. In this case, the request starts at 13:30:59 and
finishes at 13:38:01. There appear to be three choke points:
a. xs_get_styles_str() -- this step takes 15 seconds
b. [LibXSLT] performing transformation -- this takes OVER 6 MINUTES
(from 13:31:15 to 13:37:53)
c. [LibXSLT] outputting to $r -- this takes 8 seconds
- Version info from error_log:
Apache/1.3.27 (Unix) AxKit/1.61 mod_perl/1.27 configured -- resuming
normal operations
- OS Version from 'uname -a':
Linux shasta 2.4.20-13.9smp #1 SMP Mon May 12 10:48:05 EDT 2003 i686 i686
i386 GNU/Linux
- Other version info:
libxslt-1.0.30
libxml2-2.5.7
Perl version: 5.8.0
Apache version: 1.3.27
CPAN version: 1.61
URI version: 1.21
XML::LibXML version: 1.54
XML::LibXML::Common version: 0.12_1
XML::LibXSLT version: 1.53
XML::NamespaceSupport version: 1.08
XML::NodeFilter version: 0.01
XML::Parser version: 2.31
XML::SAX version: 0.12
XML::XPath version: 1.13
Thanks in advance for any assistance,
Alan Edel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]