Guessing from what you're experiencing here, when your contexts load
they're generating a few classes. Those classes take time to load. Load
time could be improved by upping the amount of memory that you're giving
your JVM.
To update the amount of memory you're providing to your JVM, edit the
following file:
/opt/openbd/tomcat/bin/setenv.sh
The default will probably look something like this:
JAVA_OPTS="-Xms128m -Xmx256m -XX:MaxPermSize=64m ";
Since your system has 1GB available to it, you could safely increase the
max memory that your JVM uses by adjusting the following value:
-Xmx256m
to
-Xmx512m
Or, if you could give your system more memory, then you could move it
even higher.
Memory is going to be your most important resource in your server
environment. Even though you're running with good CPU power, it will be
important as you grow to vastly increase your memory from what it is now.
Let us know how this works for you.
Hope this helps.
Warm Regards,
Jordan Michaels
On 08/08/2012 01:50 PM, Alan Cole wrote:
Alex,
we are using AJP (AJP13) - through apache
No - cpu load drops to half (or less than half) of normal operational
load.
OpenBD system info screen shows:
JVM memory Info
used: 338 MB
Free: 157 MB
Total: 495 MB
Max: 495 MB
(Matthew, I'm guessing the above will answer your question of Tomcat mem
usage as well).
Thanks,
Alan Cole
(PGP Key ID: 0x82D8E0C7)
Begin forwarded message:
*From: *Alex Skinner <[email protected] <mailto:[email protected]>>
*Subject: *Re: [OpenBD] Restart time
*Date: *August 8, 2012 4:35:58 PM EDT
*To: *"[email protected] <mailto:[email protected]>"
<[email protected] <mailto:[email protected]>>
*Reply-To: *[email protected] <mailto:[email protected]>
So compared to acf the time to serve requests is high, what are you
fronting tomcat with and how modproxy or ajp?
Do you get high CPU utilisation when for the period an then it drops,
check the system information screen in the bluedragon admin and let us
know ram usage
Have you upped the maxpermsize from default?
A
On Wednesday, 8 August 2012, Alan Cole <[email protected]
<mailto:[email protected]>> wrote:
> Jason,
> Fedora 16
> Thanks,
> Alan Cole
> (PGP Key ID: 0x82D8E0C7)
>
>
> Begin forwarded message:
>
> From: Jason King <[email protected]
<mailto:[email protected]>>
>
> Subject: Re: [OpenBD] Restart time
>
> Date: August 8, 2012 4:18:22 PM EDT
>
> To: [email protected] <mailto:[email protected]>
>
> Reply-To: [email protected] <mailto:[email protected]>
>
> What OS?
>
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
> --
> online documentation: http://openbd.org/manual/
> http://groups.google.com/group/openbd?hl=en
>
--
Alex Skinner
Managing Director
Pixl8 Interactive
Tel: +448452600726
Email: [email protected] <mailto:[email protected]>
Web: pixl8.co.uk <http://pixl8.co.uk>
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en