Hi,

Unless Jetty gives me an easy way to setup virtual hosts with all the
same bang of Apache/Tomcat (in production use with AJP it rocks), I
guess I will stay a Tomcat whore :-)

But anyhow, the connection string for H2 and RAM settings are the
same. I have now a year experience with heavy loads on a Tomcat server
and done a lot of tweaking. In the end I have the RAM settings at the
below and I'm (the server) seams to be quite happy:

-Xms1024m -Xmx4096m

Thought I have a Linux server with 6GB RAM and I'm NOT using the H2 in
this environment. So it is only Tomcat.

We have customers which deployed Razuna in a server with 4GB Ram with
H2 and they tell me performance with -Xms1024m -Xmx2048m is great.

One thought, why are you setting your minimum requirement to the same
as you maximum? I think you could benefit from a -Xms512m setting.

Kind Regards,
Nitai

On Wed, Dec 23, 2009 at 7:10 PM, gt <[email protected]> wrote:
> Dear Nitai,
>
> Another quick question for you:
>
> I've got my new connection string for H2 as: jdbc:h2:[C:\absolutepath]
> \h2databases
> \test_h2;AUTO_SERVER=FALSE;IGNORECASE=true;CACHE_SIZE=131072;DB_CLOSE_DELAY=-1
>
> Although I still cannot get the in-memory mode to work with OBD. I'll
> try using a URL instead of absolute file path.
>
> Now for the question:
>
> Are you running Jetty and if so what are you using for the -Xss -Xms
> abnd -Xmx? I use rc.local to start Jetty when the server starts and
> have my settings as follows: java -Xss128k -Xms1024m -Xmx1024m -jar
> start.jar Do you see anything wrong with this? Should I increase -Xmx?
> Most of the machines I'm using have 2 GB of RAM.
>
> Thanks for all of your feedback. It's been a really good learning
> experience.
>
> Anyone else who wants to comment or share their H2 connection strings
> or Jetty, JVM settings please feel free to do so!
>
> Thanks!
> GT
>
> --
> 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 !!
>



-- 
See for yourself how easy it is to manage files today. Join the revolution!

Razuna SaaS On-Demand - Hosted Digital Asset Management Solution
http://www.razuna.com/

Razuna - Open Source Digital Asset Management
http://www.razuna.org/

Follow us on Twitter
http://twitter.com/razunahq

-- 
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