Thursday, July 19, 2007

So I got my new ip address and domain name and had a little trouble getting my scripts to work correctly for deployment. Just for sake of clarification, the scripts I have are used for sending my changes to the server and unwaring and waring my deployment. Why would I unwar and war my deployment. Well the reason is because the number of libs required for my webapp. The jars are around 10mb and sending them locally to the server wastes valuable bandwidth that I have to pay for, not that I have that much traffic!!! Though it does waste a lot of time! So I have all the common jars located on the server and only scp the jars that change. The big pain in the behind is that I have these PermGen errors/Out of memory errors. The box has a gig of memory and so it was the last thing I'd thought I'd see. Looking on the web has revealed that the default Permgen setting is 64mb and its suggested that I bump that up to 256mb. And thats why I'm writing this blog as I wait for my fire wall changes to take effect. As a side note, although I have a gig of memory I see that at least 700mb is already used. I don't know whats running besides apache, and mysql, I'll need to figure that out sooner or later. When I launch tomcat it takes up 200mb so I'm left with 18mb left, there is still swap space, a concept that I don't truly understand so... hopefully this works before I have to start disabling things.

No comments:

Blog Archive