common causes are.

BIG log files, delete/archive them so a new one is created.
Thousandsof class files having to load into memory, try clearing them out.
You can disable saving class files to disk too, it does do anything except
avoid initial compile after a restart.

Cf Tmp folders full of files, try clearing them , out.

One other thing I am noticing in the archived log files for the server
that's having problems.  Lots of entries that look like this:

04/30 11:05:59 error Error while reading header S_DATE_TIME
04/30 11:06:00 error Error while reading header SERVER_SOFTWARE
04/30 11:06:00 error Error while reading header S_STACK_TRACE
04/30 11:06:01 error Error while reading header S_UNABLE
04/30 11:06:02 error Error while reading header BROBUSTENABLED
04/30 11:06:04 error Error while reading header S_EXPAND2

Also, in the current log file, entries like this:

05/05 07:00:10 error Cannot create cookie: expires = Tue, 28-Apr-2043
11:57:01 GMT
05/05 07:00:10 error Cannot create cookie: path = /


-----Original Message-----
From: Patti, Michael
Sent: Thursday, May 09, 2013 12:38 PM
To: cf-talk
Subject: RE: Slow-starting jrun service

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:dwa...@figleaf.com]
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:355698
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to