Christopher Schultz schrieb am 12.11.2008 um 16:42:06 (-0500):
> André Warnier wrote:

> > In other words, while this application is being loaded, our Tomcat
> > and the whole system are totally unresponsive for about 5 minutes.

> 1. DNS settings. Especially when parsing XML (which often requires
> looking up a DTD or XML Schema file on a remote server), you might be
> hitting a problem where your DNS resolver is taking a long time, but
> finally succeeding (which is why you don't see any errors).

If this is happening here (and it may be), consider using XML catalogs,
which are simply local filesystem caches of XML/SGML resources. (On
Debian, IIRC, the package is called "xml-base".)

Waiting on the net, however, wouldn't account for your server's
unresponsiveness.

Processing 25 MB of XML in memory (as opposed to by stream), as in DOM
or XSL, may easily consume 200 MB of RAM. If it's XSL and not done
properly, five minutes of CPU hogging are easily attainable :-)

I'd ask the vendor to explain what's going on.

Michael Ludwig

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to