Re: JVM Heap Size

2011-10-13 Thread Justin Scott

>> However, I do not have -Xms1g -Xmx1g in the JVM args.
>> Do I need both?
>
> I'll defer to others since I never used to change settings via the admin...

The CF admin provides separate fields for the min and max memory and
will automatically include those values in the JVM arguments so there
is no need to include them in the additional arguments list in the CF
admin.


-Justin

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348131
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-13 Thread Jochem van Dieten

On Wed, Oct 12, 2011 at 9:41 PM, John M Bliss wrote:
> This may be a shot in the dark, but, does anyone on this list
> have a resource/URL/etc illustrating average traceroute/ping times between
> high-end Web hosting facilities and 'Net locations around the world?

Run your own tests: http://www.traceroute.org/

Jochem


-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348084
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-12 Thread John M Bliss

> we've also started a conversation with RackSpace netadmin types to
determine whether there might be steps we could take to improve bandwidth.

RackSpace ran some tests and provided us with some traceroute/ping times
between our server and 'Net locations around the world. They claim that
resulting times are within their expected thresholds. However, they seem
slow to us. This may be a shot in the dark, but, does anyone on this list
have a resource/URL/etc illustrating average traceroute/ping times between
high-end Web hosting facilities and 'Net locations around the world?

Basically, I need something authoritative I can use to prove/disprove RS'
claim that times are "good enough."


On Wed, Oct 5, 2011 at 7:16 PM, John M Bliss  wrote:

> True...but issue at hand is, literally, one high-traffic page that takes a
> url variable, uses it to look up a row in the DB, and returns a tiny bit of
> HTML. That's it. Not a whole lot of room for improvement there.
>
> As an aside/follow-up, further research did result in an interesting
> finding:
>
> We use pingdom.com to test said page once per minute from servers all
> around the world. Average response time (end-to-end) is approximately 260
> ms. I was tasked with reducing that number.
>
> We purchased and installed FusionReactor and one of the many things it
> illuminated today was: average *server* time (elapsed milliseconds from when
> CF first "hears" request until CF has passed HTML back to IIS) is about
> 20-30 ms!
>
> So, while it's useful for me to screw with JVM, etc to reduce that average
> (and, more importantly, to make sure that we don't have "spikes" where page
> consumes lots more server time), we've also started a conversation with
> RackSpace netadmin types to determine whether there might be steps we could
> take to improve bandwidth.
>
> Thanks for all of your help!
>
>
> On Wed, Oct 5, 2011 at 4:21 PM, Maureen Barger  wrote:
>
>>
>> There's also tons of profilers out there for the Sun JVM. Rather than
>> throw
>> spaghetti at the wall and see what sticks, install one and watch your
>> app(s)
>> for a while. Perhaps your RMI interval could be longer, GC method be
>> different, heap size smaller or larger etc.
>> And on the other side of the coin, if you are concerned with efficiency,
>> code can almost always be improved too. You can have the fastest Ferrari
>> in
>> the world but if the driver doesn't know how to drive stick, the ride is
>> going to suck.
>> Good luck!
>>
>> On Wed, Oct 5, 2011 at 17:02, Dave Watts  wrote:
>>
>> >
>> > > Nothing in server.log available in CFAdmin. Just the successful start
>> > info
>> > > from after I reverted the JVM version. Am I missing something?
>> >
>> > The log you're interested in is one of the JRun logs file
>> > (cfusion-out.log or cfusion-event.log, I forget which.). I'm not sure
>> > where that's located if you're using the standalone install of CF, but
>> > on multiserver, it's something like:
>> >
>> > c:\jrun4\logs\
>> >
>> > or
>> >
>> > /opt/jrun4/logs
>> >
>> > Alternatively, you might try running CF as an application rather than
>> > a service, which will pipe startup errors to your command prompt or
>> > terminal window.
>> >
>> > Dave Watts, CTO, Fig Leaf Software
>> > http://www.figleaf.com/
>> > http://training.figleaf.com/
>> >
>> > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
>> > GSA Schedule, and provides the highest caliber vendor-authorized
>> > instruction at our training centers, online, or onsite.
>> >
>> >
>>
>> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348071
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-11 Thread Sean Corfield

On Fri, Oct 7, 2011 at 3:35 AM, John M Bliss  wrote:
> In CFAdmin > Server Settings > Java and JVM, I have minimum and maximum JVM
> heap size form fields set to 1024 MB.
>
> However, I do not have -Xms1g -Xmx1g in the JVM args.
>
> Do I need both?

I'll defer to others since I never used to change settings via the admin...
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348052
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-07 Thread John M Bliss

In CFAdmin > Server Settings > Java and JVM, I have minimum and maximum JVM
heap size form fields set to 1024 MB.

However, I do not have -Xms1g -Xmx1g in the JVM args.

Do I need both?

On Fri, Oct 7, 2011 at 2:30 AM, Sean Corfield wrote:

>
> On Thu, Oct 6, 2011 at 4:15 AM, John M Bliss  wrote:
> >> So you have -Xms1g -Xmx1g yes? (I ask because you don't show this below)
> > No. Should I add those?
>
> Well, you said that you had min/max heap set to 1024MB so I was just
> confirming that you had those options in your JVM arguments because
> you didn't mention them.
>
> Maybe I should ask "How are you setting the JVM arguments?"
>
> >> On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss 
> wrote:
> >> > Based on some JVM tuning advice I Googled a while back, I have (on ACF
> 8)
> >> > minimum and maximum JVM heap size set to 1024 MB.
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347995
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-07 Thread Sean Corfield

On Thu, Oct 6, 2011 at 4:15 AM, John M Bliss  wrote:
>> So you have -Xms1g -Xmx1g yes? (I ask because you don't show this below)
> No. Should I add those?

Well, you said that you had min/max heap set to 1024MB so I was just
confirming that you had those options in your JVM arguments because
you didn't mention them.

Maybe I should ask "How are you setting the JVM arguments?"

>> On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss  wrote:
>> > Based on some JVM tuning advice I Googled a while back, I have (on ACF 8)
>> > minimum and maximum JVM heap size set to 1024 MB.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347994
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-06 Thread Carl Von Stetten

Did you install the regular Java JVM or the JDK?  You'll need the JDK.
HTH,
Carl

On 10/5/2011 8:36 AM, John M Bliss wrote:
>> Are you experiencing any problems with the current behaviour?
> We're just tuning stuff to get the fastest possible responses from our app.
>
> Related: I just tried to upgrade to Java version 1.6.0_27 but CF failed to
> start after I did so. Know what the max Java version 1.6.0_* usable with ACF
> 8 is?
>
>
> On Wed, Oct 5, 2011 at 10:24 AM, Jochem van Dietenwrote:
>
>> On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss wrote:
>>> Regularly, CF briefly consumes all but about 50 MB of max heap size.
>> Isn't that what is supposed to happen? The JVM uses memory until it
>> runs out which starts the garbage collector.
>>
>> Are you experiencing any problems with the current behaviour?
>>
>> Jochem
>>
>> --
>> Jochem van Dieten
>> http://jochem.vandieten.net/
>>
>>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347992
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-06 Thread Wil Genovese

I've configured several production servers ColdFusion 8.0.1 servers with JDK 
1.6.0_27 without issue.  Make sure the JDK version is installed. 


Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Oct 6, 2011, at 10:18 AM, Pete Freitag wrote:

> 
> On Wed, Oct 5, 2011 at 11:36 AM, John M Bliss  wrote:
> 
>> Related: I just tried to upgrade to Java version 1.6.0_27 but CF failed to
>> start after I did so. Know what the max Java version 1.6.0_* usable with
>> ACF
>> 8 is?
>> 
> 
> The latest version of the JVM that Adobe has certified and supports for
> ColdFusion 8 (and CF9 for that matter) is 1.6.0_24 (see:
> http://kb2.adobe.com/cps/894/cpsid_89440.html), but more current versions
> should still work fine generally speaking. The error you experienced may
> just have been due to a file path typo, or something like that.
> 
> In case you are not aware versions less than 1.6.0_24 have a DOS
> vulnerability that is fairly easy to exploit, so you will want to make sure
> you have upgraded your JVM to at least 1.6.0_24.
> 
> --
> Pete Freitag - Adobe Community Professional
> http://foundeo.com/ - ColdFusion Consulting & Products
> http://petefreitag.com/ - My Blog
> http://hackmycf.com - Is your ColdFusion Server Secure?
> 
> 
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347983
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-06 Thread Pete Freitag

On Wed, Oct 5, 2011 at 11:36 AM, John M Bliss  wrote:

> Related: I just tried to upgrade to Java version 1.6.0_27 but CF failed to
> start after I did so. Know what the max Java version 1.6.0_* usable with
> ACF
> 8 is?
>

The latest version of the JVM that Adobe has certified and supports for
ColdFusion 8 (and CF9 for that matter) is 1.6.0_24 (see:
http://kb2.adobe.com/cps/894/cpsid_89440.html), but more current versions
should still work fine generally speaking. The error you experienced may
just have been due to a file path typo, or something like that.

In case you are not aware versions less than 1.6.0_24 have a DOS
vulnerability that is fairly easy to exploit, so you will want to make sure
you have upgraded your JVM to at least 1.6.0_24.

--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347982
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-06 Thread John M Bliss

> So you have -Xms1g -Xmx1g yes? (I ask because you don't show this below)

No. Should I add those?


On Thu, Oct 6, 2011 at 1:12 AM, Sean Corfield wrote:

>
> On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss  wrote:
> > Based on some JVM tuning advice I Googled a while back, I have (on ACF 8)
> > minimum and maximum JVM heap size set to 1024 MB.
>
> So you have -Xms1g -Xmx1g yes? (I ask because you don't show this below)
>
> > -server -XX:MaxPermSize=192m -XX:PermSize=192m -XX:+UseParallelGC
> > -Dsun.rmi.dgc.client.gcInterval=60
> > -Dsun.rmi.dgc.server.gcInterval=60
> > -Dcoldfusion.rootDir={application.home}/../
> > -Dcoldfusion.libPath={application.home}/../lib
>
> Nice to see you've resisted the urge to set RMI interval to 360
> which is a common recommendation out there.
>
> You might try -XX:+UseConcMarkSweepGC instead of -XX:+UseParallelGC to
> get more even throughput.
>
> Also worth adding -XX:+ExplicitGCInvokesConc (so System.gc() uses CMS
> as well instead of the stop the world GC).
>
> Turn on verbose GC logging as well:
>
> -verbose:gc
> -XX:+PrintGCTimeStamps
> -XX:+PrintGCDetails
>
> This will allow you to see what's really going on.
>
> > Regularly, CF briefly consumes all but about 50 MB of max heap size.
>
> Yup, that's how Java works. The GC kicks in when the JVM is close to
> being out of memory.
>
> FWIW, I've been going thru a lot of JVM tuning the last few weeks :)
>
> Useful tools to analyze memory usage:
> * jmap to get a heap dump
> * jhat to do basic analysis
> * Eclipse MAT (loving this!)
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
> Railo Technologies, Inc. -- http://www.getrailo.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347970
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread Sean Corfield

On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss  wrote:
> Based on some JVM tuning advice I Googled a while back, I have (on ACF 8)
> minimum and maximum JVM heap size set to 1024 MB.

So you have -Xms1g -Xmx1g yes? (I ask because you don't show this below)

> -server -XX:MaxPermSize=192m -XX:PermSize=192m -XX:+UseParallelGC
> -Dsun.rmi.dgc.client.gcInterval=60
> -Dsun.rmi.dgc.server.gcInterval=60
> -Dcoldfusion.rootDir={application.home}/../
> -Dcoldfusion.libPath={application.home}/../lib

Nice to see you've resisted the urge to set RMI interval to 360
which is a common recommendation out there.

You might try -XX:+UseConcMarkSweepGC instead of -XX:+UseParallelGC to
get more even throughput.

Also worth adding -XX:+ExplicitGCInvokesConc (so System.gc() uses CMS
as well instead of the stop the world GC).

Turn on verbose GC logging as well:

-verbose:gc
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails

This will allow you to see what's really going on.

> Regularly, CF briefly consumes all but about 50 MB of max heap size.

Yup, that's how Java works. The GC kicks in when the JVM is close to
being out of memory.

FWIW, I've been going thru a lot of JVM tuning the last few weeks :)

Useful tools to analyze memory usage:
* jmap to get a heap dump
* jhat to do basic analysis
* Eclipse MAT (loving this!)
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347967
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread John M Bliss

True...but issue at hand is, literally, one high-traffic page that takes a
url variable, uses it to look up a row in the DB, and returns a tiny bit of
HTML. That's it. Not a whole lot of room for improvement there.

As an aside/follow-up, further research did result in an interesting
finding:

We use pingdom.com to test said page once per minute from servers all around
the world. Average response time (end-to-end) is approximately 260 ms. I was
tasked with reducing that number.

We purchased and installed FusionReactor and one of the many things it
illuminated today was: average *server* time (elapsed milliseconds from when
CF first "hears" request until CF has passed HTML back to IIS) is about
20-30 ms!

So, while it's useful for me to screw with JVM, etc to reduce that average
(and, more importantly, to make sure that we don't have "spikes" where page
consumes lots more server time), we've also started a conversation with
RackSpace netadmin types to determine whether there might be steps we could
take to improve bandwidth.

Thanks for all of your help!

On Wed, Oct 5, 2011 at 4:21 PM, Maureen Barger  wrote:

>
> There's also tons of profilers out there for the Sun JVM. Rather than throw
> spaghetti at the wall and see what sticks, install one and watch your
> app(s)
> for a while. Perhaps your RMI interval could be longer, GC method be
> different, heap size smaller or larger etc.
> And on the other side of the coin, if you are concerned with efficiency,
> code can almost always be improved too. You can have the fastest Ferrari in
> the world but if the driver doesn't know how to drive stick, the ride is
> going to suck.
> Good luck!
>
> On Wed, Oct 5, 2011 at 17:02, Dave Watts  wrote:
>
> >
> > > Nothing in server.log available in CFAdmin. Just the successful start
> > info
> > > from after I reverted the JVM version. Am I missing something?
> >
> > The log you're interested in is one of the JRun logs file
> > (cfusion-out.log or cfusion-event.log, I forget which.). I'm not sure
> > where that's located if you're using the standalone install of CF, but
> > on multiserver, it's something like:
> >
> > c:\jrun4\logs\
> >
> > or
> >
> > /opt/jrun4/logs
> >
> > Alternatively, you might try running CF as an application rather than
> > a service, which will pipe startup errors to your command prompt or
> > terminal window.
> >
> > Dave Watts, CTO, Fig Leaf Software
> > http://www.figleaf.com/
> > http://training.figleaf.com/
> >
> > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> > GSA Schedule, and provides the highest caliber vendor-authorized
> > instruction at our training centers, online, or onsite.
> >
> >
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347965
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread Jochem van Dieten

On Oct 5, 2011 8:37 AM, "John M Bliss" wrote:
> We're just tuning stuff to get the fastest possible responses from our app.

And isn't that goal best served by letting the JVM consume all
available memory instead f running the garbage collector all the time?

(If you answer "no" please include your exact definition of "fastest
possible responses".)

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347957
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread Maureen Barger

There's also tons of profilers out there for the Sun JVM. Rather than throw
spaghetti at the wall and see what sticks, install one and watch your app(s)
for a while. Perhaps your RMI interval could be longer, GC method be
different, heap size smaller or larger etc.
And on the other side of the coin, if you are concerned with efficiency,
code can almost always be improved too. You can have the fastest Ferrari in
the world but if the driver doesn't know how to drive stick, the ride is
going to suck.
Good luck!

On Wed, Oct 5, 2011 at 17:02, Dave Watts  wrote:

>
> > Nothing in server.log available in CFAdmin. Just the successful start
> info
> > from after I reverted the JVM version. Am I missing something?
>
> The log you're interested in is one of the JRun logs file
> (cfusion-out.log or cfusion-event.log, I forget which.). I'm not sure
> where that's located if you're using the standalone install of CF, but
> on multiserver, it's something like:
>
> c:\jrun4\logs\
>
> or
>
> /opt/jrun4/logs
>
> Alternatively, you might try running CF as an application rather than
> a service, which will pipe startup errors to your command prompt or
> terminal window.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347955
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread Dave Watts

> Nothing in server.log available in CFAdmin. Just the successful start info
> from after I reverted the JVM version. Am I missing something?

The log you're interested in is one of the JRun logs file
(cfusion-out.log or cfusion-event.log, I forget which.). I'm not sure
where that's located if you're using the standalone install of CF, but
on multiserver, it's something like:

c:\jrun4\logs\

or

/opt/jrun4/logs

Alternatively, you might try running CF as an application rather than
a service, which will pipe startup errors to your command prompt or
terminal window.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347953
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread John M Bliss

Nothing in server.log available in CFAdmin. Just the successful start info
from after I reverted the JVM version. Am I missing something?

On Wed, Oct 5, 2011 at 1:01 PM, Dave Watts  wrote:

>
> > The ColdFusion 8 Application Server service terminated with
> service-specific
> > error 2 (0x2).
>
> What's in the log file? (not the Event Viewer - that doesn't capture
> any information from CF)
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347945
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread Dave Watts

> The ColdFusion 8 Application Server service terminated with service-specific
> error 2 (0x2).

What's in the log file? (not the Event Viewer - that doesn't capture
any information from CF)

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347944
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread John M Bliss

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7024
Date: 10/5/2011
Time: 10:29:23 AM
User: N/A
Description:
The ColdFusion 8 Application Server service terminated with service-specific
error 2 (0x2).

On Wed, Oct 5, 2011 at 12:36 PM, Dave Watts  wrote:

>
> > > Are you experiencing any problems with the current behaviour?
> >
> > We're just tuning stuff to get the fastest possible responses from our
> app.
>
> Jochem is right, though - unless you're having a problem with memory
> consumption, I don't see what you're trying to accomplish by tuning
> memory use. Doing this won't directly make your application faster or
> slower, assuming that the application is able to allocate the memory
> it needs (which appears to be the case).
>
> > Related: I just tried to upgrade to Java version 1.6.0_27 but CF failed
> to
> > start after I did so. Know what the max Java version 1.6.0_* usable with
> ACF
> > 8 is?
>
> Actually, I think that should work. What error did you get when you
> tried to start CF?
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at our training centers, online, or onsite.
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347943
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread Dave Watts

> > Are you experiencing any problems with the current behaviour?
>
> We're just tuning stuff to get the fastest possible responses from our app.

Jochem is right, though - unless you're having a problem with memory
consumption, I don't see what you're trying to accomplish by tuning
memory use. Doing this won't directly make your application faster or
slower, assuming that the application is able to allocate the memory
it needs (which appears to be the case).

> Related: I just tried to upgrade to Java version 1.6.0_27 but CF failed to
> start after I did so. Know what the max Java version 1.6.0_* usable with ACF
> 8 is?

Actually, I think that should work. What error did you get when you
tried to start CF?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347940
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread John M Bliss

> Are you experiencing any problems with the current behaviour?

We're just tuning stuff to get the fastest possible responses from our app.

Related: I just tried to upgrade to Java version 1.6.0_27 but CF failed to
start after I did so. Know what the max Java version 1.6.0_* usable with ACF
8 is?


On Wed, Oct 5, 2011 at 10:24 AM, Jochem van Dieten wrote:

>
> On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss wrote:
> > Regularly, CF briefly consumes all but about 50 MB of max heap size.
>
> Isn't that what is supposed to happen? The JVM uses memory until it
> runs out which starts the garbage collector.
>
> Are you experiencing any problems with the current behaviour?
>
> Jochem
>
> --
> Jochem van Dieten
> http://jochem.vandieten.net/
>
> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347936
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: JVM Heap Size

2011-10-05 Thread Jochem van Dieten

On Wed, Oct 5, 2011 at 6:25 AM, John M Bliss wrote:
> Regularly, CF briefly consumes all but about 50 MB of max heap size.

Isn't that what is supposed to happen? The JVM uses memory until it
runs out which starts the garbage collector.

Are you experiencing any problems with the current behaviour?

Jochem

-- 
Jochem van Dieten
http://jochem.vandieten.net/

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347935
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


JVM Heap Size

2011-10-05 Thread John M Bliss

Based on some JVM tuning advice I Googled a while back, I have (on ACF 8)
minimum and maximum JVM heap size set to 1024 MB. Server has 2 GB of RAM and
is currently running Java version 1.6.0_10 with JVM arguments:

-server -XX:MaxPermSize=192m -XX:PermSize=192m -XX:+UseParallelGC
-Dsun.rmi.dgc.client.gcInterval=60
-Dsun.rmi.dgc.server.gcInterval=60
-Dcoldfusion.rootDir={application.home}/../
-Dcoldfusion.libPath={application.home}/../lib

Server is Microsoft Windows Server 2003 R2 (32 bit).

Regularly, CF briefly consumes all but about 50 MB of max heap size. For a
moment, assume that my CFML is as optimized as possible...is there anything
more I can tweak to:

- provide more RAM to CF

and/or

- "encourage" CF to use existing RAM more efficiently

-- 
John Bliss - http://about.me/jbliss


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347934
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


ColdFusion TechNote Notification: "Maximum JVM heap size greater than 1.8GB will prevent ColdFusion MX from starting"

2004-06-07 Thread Debbie Dickerson
Check out the new TechNote at:

http://www.macromedia.com/support/coldfusion/ts/documents/max_jvm_heap.htm
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]