On 10 Nov 2009, at 08:56, Martin Gerdes wrote:
First, how slow is slow? Time from pushing the send button until the new webpage is loaded rises from 10.6 to 103 seconds.
10.6 is already horrendously slow (unless perhaps it's a 20-year-old PC),
which leads me to wonder what you're doing. One thing is that with ProxyHTMLExtended On you could be parsing lots of text, so make sure you use flags to ensure you don't apply more rules to it than you absolutely need to.
And every page of the webapplication I have tried is just as slow, so its not just a particular page which loads very slowly.
The encoding to utf-8 happens within libxml2 if the input encoding is supported. The output is a invokes apr_xlate, which in turn is normallya wrapper for iconv. So this could be pointing the finger at your iconv.
Does it make any difference if lots of small rewrites have happened vs. if nothing matched any proxy_html rules?
Top on the server shows that the server is sitting idle, so it's not that the recoding is taking up that much CPU (which would be ridiculous anyway).
Does it make any difference if you send an HTTP/1.0 request or force a connection close? Can you get mod_diagnostics output to track the data running through the filter? -- Nick Kew --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx