blog rss feed

Interesting tomcat memory issue on my VPS today

Author: Dave Cherry last modified
Keywords: tomcat internet deployment

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.

 

Please leave a comment



Search

Blog calendar

blog: previous month March 2010 blog: next month
su mo tu we th fr sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31