Hello Seagate,
I can totally share your frustration ! I had to work around multiple things
in GF that are not totally stable, but memory has never, ever been a problem.
But i must admit i only host java projects under the same virtual host. I
concur to what others have said, and i would definitely add the following:
Does FastCGI garbage-collects after any work is done? I think a little JVM
inspection (
http://visualvm.java.net/features.html [1]) would definitely help
you find out what looks like a huge memory leak.
Now, if the previous advice gives no results, i can only advise one thing: if
apache seems to be a better fit, maybe it is the solution you should be
looking for?
I can only advise you to wonder if you aren't suffering from
the
http://en.wikipedia.org/wiki/Law_of_the_instrument [2] .
Keep glassfish for the java projects; it will be a perfect fit. For CGI,
maybe there are better hammers. I can even suggest a glassfish behind an
apache (with mod_jk for instance), which would leave you with a complete
system that would fit both worlds. It will need a little more integration,
that's for sure.
[1]
http://visualvm.java.net/features.html
[2]
http://en.wikipedia.org/wiki/Law_of_the_instrument
--
[Message sent by forum member 'brzhk']
View Post: http://forums.java.net/node/835908