Re: Slow-starting jrun service
Typical causes of excessive files in the windows temp folder are software installs and updates, software crashes, and email attachments being left open. On Thu, May 9, 2013 at 11:29 PM, Patti, Michael wrote: > I suspect that the windows temp files were the culprit, and I'm going to work > with my hosting provider to figure out why there were so many files in the > that directory; but your advice has saved me hours of work. ~| 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:355745 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Slow-starting jrun service
Good deal, Windows temp usually gets full from Windows and .Net stuff. I know we have jobs on most machines to do a periodic cleanup. For future this works a bit faster for large windows directory deletes. >del /f /q [directory]/* > nul Byron Mann Lead Engineer & Architect HostMySite.com ~| 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:355721 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Slow-starting jrun service
Unfortunately there is no auto cc cleanup of any of the tmp folders, you do have to check them every so often. Cf has its own that it uses as well as the windows one, it's in the wwwroot folder I think. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On 10 May 2013 07:31, "Patti, Michael" wrote: > > Thanks Byron, Dave, Russ, and Gonzo for your helpful suggestions. > > There were a massive number of files on C:/windows/temp (1.6 GB worth), > and I was only able to begin to delete them by running "del > C:\windows\temp\*.*" from the command prompt. Right now, there are still > around 200 mb of files in that folder, but it's steadily decreasing. > > I also un-checked "Save class files" under server settings > Caching and > updated my JVM settings to: > > # Arguments to VM > java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false > -XX:MaxPermSize=256m -XX:+AggressiveHeap -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 > > That combination of things definitely helped, and Coldfusion was able to > start up in 2 minutes rather than 30. > > I suspect that the windows temp files were the culprit, and I'm going to > work with my hosting provider to figure out why there were so many files in > the that directory; but your advice has saved me hours of work. > > Eternally grateful, > Michael > > > > > > -----Original Message----- > From: Byron Mann [mailto:byronos...@gmail.com] > Sent: Thursday, May 09, 2013 9:46 PM > To: cf-talk > Subject: Re: Slow-starting jrun service > > > You could try starting cf from the command line, may give you a bit more > insight as to where things are lagging at startup. > > Kill anything else running like anti virus, and etc that may be getting in > the way. > > Check c:/windows/temp, had a machine with obscene number of files in there > one time and services would start really really slow. > > If fusion reactor is running on there or anything similar, maybe disable > that for now. > > Byron Mann > Lead Engineer & Architect > HostMySite.com > > > > > ~| 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:355703 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Slow-starting jrun service
Thanks Byron, Dave, Russ, and Gonzo for your helpful suggestions. There were a massive number of files on C:/windows/temp (1.6 GB worth), and I was only able to begin to delete them by running "del C:\windows\temp\*.*" from the command prompt. Right now, there are still around 200 mb of files in that folder, but it's steadily decreasing. I also un-checked "Save class files" under server settings > Caching and updated my JVM settings to: # Arguments to VM java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+AggressiveHeap -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 That combination of things definitely helped, and Coldfusion was able to start up in 2 minutes rather than 30. I suspect that the windows temp files were the culprit, and I'm going to work with my hosting provider to figure out why there were so many files in the that directory; but your advice has saved me hours of work. Eternally grateful, Michael -Original Message- From: Byron Mann [mailto:byronos...@gmail.com] Sent: Thursday, May 09, 2013 9:46 PM To: cf-talk Subject: Re: Slow-starting jrun service You could try starting cf from the command line, may give you a bit more insight as to where things are lagging at startup. Kill anything else running like anti virus, and etc that may be getting in the way. Check c:/windows/temp, had a machine with obscene number of files in there one time and services would start really really slow. If fusion reactor is running on there or anything similar, maybe disable that for now. Byron Mann Lead Engineer & Architect HostMySite.com ~| 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:355702 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Slow-starting jrun service
You could try starting cf from the command line, may give you a bit more insight as to where things are lagging at startup. Kill anything else running like anti virus, and etc that may be getting in the way. Check c:/windows/temp, had a machine with obscene number of files in there one time and services would start really really slow. If fusion reactor is running on there or anything similar, maybe disable that for now. Byron Mann Lead Engineer & Architect HostMySite.com ~| 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:355700 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Slow-starting jrun service
Reading this thread my gut feeling is hardware. Are you sure all 4 gig is available? On Thu, May 9, 2013 at 12:49 PM, Russ Michaels wrote: > > 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:355699 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Slow-starting jrun service
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
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 - ... Are you using the onServerStart method in server.cfc to do anything? You could increase your MaxPermSize to see if that solves the problem, since your server is running out of PermGen space, but it's quite odd for it to do that on startup. 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:355696 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Slow-starting jrun service
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:355692 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
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:355690 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
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:355689 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Slow-starting jrun service
I have two production and one staging webservers, all of them Windows 2003 32-bit, running Coldfusion Standard 9.0.1.274733 (hf901-8). All servers are using JDK 1.6.0_39, which is located at C:\Java\jdk1.6.0_39. Under that same Java directory, I also have the _12, _23, and _24 jdks, and have made it a point to have Coldfusion use the latest 1.6 JVM as they are made available and given Adobe's blessing. 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 javax.servlet.ServletException: ROOT CAUSE: java.lang.OutOfMemoryError: PermGen space at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:70) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) 05/09 10:39:07 error (JRun Service: ProxyService [jrun.servlet.jrpp.JRunProxyService@53c3d8]) JRunPRoxyServer.invokeRunnable: java.lang.IllegalStateException at jrun.servlet.JRunResponse.getWriter(JRunResponse.java:205) at jrun.servlet.JRunResponse.sendError(JRunResponse.java:597) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:328) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) I'm also seeing this at the top of that file, which doesn't make much sense to me, since I am licensed for the Standard version: # Created by JRun on 05/04 10:07:21 05/04 10:07:21 error A License exception has occurred: You tried to access a restricted feature for the Standard edition: JSP coldfusion.license.LicenseManager$LicenseIllegalAccessException: A License exception has occurred: You tried to access a restricted feature for the Standard edition: JSP at coldfusion.license.LicenseManager.byte(Unknown Source) at coldfusion.license.LicenseManager.checkJSP(Unknown Source) at coldfusion.license.JspLicenseServlet.service(Unknown Source) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doRequestNoFilter(FusionReactorCoreFilter.java:712) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doFusionRequest(FusionReactorCoreFilter.java:341) at com.intergral.fusionreactor.filter.FusionReactorCoreFilter.doFilter(FusionReactorCoreFilter.java:246) at com.intergral.fusionreactor.filter.FusionReactorFilter.doFilter(FusionReactorFilter.java:121) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.d