Here's what I have under Coldfusion9\runtime\bin\jvm.config on the server that
is having problems:
# Arguments to VM
java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m
-XX:+UseParallelGC -Dcoldfusion.rootDir={application.home}/../
-Dcoldfusion.libPath={application.home}/../lib
-Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars
Here's those arguments for one of the two servers that is NOT having problems:
# Arguments to VM
java.args=-server -Xms1024m -Xmx1024m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=192m -XX:+UseParallelGC
-Dcoldfusion.rootDir={application.home}/../
-Dcoldfusion.libPath={application.home}/../lib
-Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars
The main difference is that I don't have -xms specified on that server, but
even when I had that set to -Xms1024m, it was still having problems starting
up.
Note that both of these servers have 4GB of RAM.
-----Original Message-----
From: Dave Watts [mailto:[email protected]]
Sent: Thursday, May 09, 2013 12:28 PM
To: cf-talk
Subject: Re: Slow-starting jrun service
> On two of these servers (one production and one staging) whenever I
> have to restart Coldfusion, it usually takes no more than a minute to
> restart. But on the third server, it will invariably take up to 30 minutes
> for jrun to restart, and it usually hangs at around
> 38MB for several minutes. I'll invariably have to end the process tree and
> start over before the service will start up. Obviously,
> during that time, my websites are offline, and it's becoming increasingly
> frustrating for me and my clients.
>
> I'm stumped as to what's causing the service to start up slowly on
> this one server, and could use some advice. If it helps, here's what the
> coldfusion-event.log is showing immediately before the service is restarted:
>
> 05/09 10:39:04 error ROOT CAUSE:
> java.lang.OutOfMemoryError: PermGen space
What are the startup parameters for this server - what's in jvm.config? (Make
sure you clearly identify which jvm.config is being used, if you have more than
one.)
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:355690
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm