Hello OpenBDers,

I'm a stranger in a strange land when it comes to OpenBD and Apache
Tomcat, so I'm looking for some advice regarding minimum memory
requirements.

I lend a hand with a non-profit group that runs a small site with
OpenBD, where "small" means less than ~400 unique visitors/day or
about 1,000 page views daily.  We have a CentOS 4.x virtual private
server with 768MB of RAM allotted, leaving 400MB for OpenBD 1.2 and
Tomcat 6.0.20.


setenv.sh is set to the defaults provided by the Viviotech OpenBD
installer:

        JAVA_OPTS="-Xms128m -Xmx256m"


According to `top`, Tomcat's resident memory size hits about 110MB
before it goes into 'perpetual garbage collection mode', eating 100%
CPU time on 2 cores.  D'oh!  I can't blame it--as soon as the startup
script executes, we're down to 0KB of free RAM without having served a
single page!


My question: Given that money may not be abundant, what would your
recommendation be for a minimum amount of free RAM for OpenBD to play
with? "As much as possible", of course, but we may have to cut or or
farm out some services instead.

If there are any other relevant details that would help, please let me
know.



Many thanks for your input,
--Derek



[1] Our host is all SAN-based, so no swapping allowed. (!)

[2] Our host allows us to go beyond our allotted 768MB of RAM if the
hypervisor sees that other VPS instances are not using all their
allotted RAM.  I'm guessing we're in this situation because the box is
more crowded these days, and also because our control panel software
has continually upgraded mail and anti-spam services, etc., to newer
versions, all of which consume a little more memory than their older
counterparts.


--
[ http://derek.trideja.com/buxton-sig.mov ]
-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to