By dave | June 30, 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.

Other pages within this category

comments powered by Disqus

This site uses cookies to analyse traffic, and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.

Send a message
X

Please use the forum for help with UI & libraries.

This message will be securely transmitted to our servers.