30-06-2012

I had an interesting issue with tomcat today on my VPS.

I added a new domain to my tomcat server configuration, and accidentally caused a circular reference

in the alias section of one virtual host to another virtual host. By this I mean that one virtual host configuration had the same alias as in another host. I am assuming this made some web applications load up more than once, and therefore the server use more memory than would normally be required.

If you do this, first thing you'll notice is that the server performs poorly, and soon after starts to suffer from out of memory errors.

It took me a while to check the config, as at first I assumed that adding another domain had just pushed memory usage over the edge.

These may be of interest

We use cookies to analyse traffic and to personalise content. We also embed Twitter and Youtube on some pages, these companies have their own privacy policies.

See the privacy policy and terms of use of this site should you need more information or wish to adjust your settings.