Steven Erat's Blog Steven Erat Photography
 
 
Viewing By Entry
 
 

TalkingTree  Keep Library Loaded - Check this box to retain the library in RAM

 

I just worked a case where a ColdFusion MX 6.1 server was restarting over and over again every 1-5 minutes with virtually no helpful information in any of the ColdFusion, JRun, Webserver, or Windows Event logs, and there wasn't a HotSpot crash log anywhere.

The app was being tested in staging using the Microsoft Web Stress Tool, which will just hammer one or more designated pages. Running a brief stress test on an isolated test page having only "hello world" did not cause the CFMX server to restart, running the test on the application's main index.cfm easily crashed the server.

The app was loaded onto another CFMX server and the CFAdmin was adjusted for the CFX tags and the datasources. The same stress test did not crash the CFMX server here. A detailed comparison of the two servers and the two CF Admins was made, and it was noticed that the crashing server did not have the checkbox enabled to keep the C++ CFX tag loaded in memory, whereas the stable server was checked.

On the detail view for "Add/Edit C++ CFX Tag" the checkbox can be found, labelled as "Keep Library Loaded - Check this box to retain the library in RAM". Once this box was enabled on the crashing server it immediately became stable. The particular CFX tag was the popular CFX_IMAGE. Having to load an unload the CFX into memory for every request was demonstrated to crash the server while leaving very little evidence in its wake.

 


Comments

That's crazy stuff man. What's this HotSpot crash log you mention??


Um, well there was no HotSpot crash log, that was the point.

When ColdFusion's JVM crashes it often leaves log entries behind in the CF or JRun log files, and maybe something in the Windows Event log, and sometimes there's a HotSpot crash log, hserr_pidNNNNNN.log where NNNNNN is the PID number of the JVM process. HotSpot is the runtime optimizer in Sun JVMs.


AH! see that's what i was missing. Learn something new every day :)


Very good information to have Steven. This is one of those things where a few lines taking a few minutes to write hides hours of detective work, great post.


 

 

Calendar

 
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Search This Site

 
This is an exact search only

About This Site

 
Adobe Alumni & Community Professional. Expert in ColdFusion, Flex, LCDS, Photoshop, Lightroom. Linux RHCE. Follow Me!. For my photography check out Boston Portrait Photographer.
More about me

Recent Entries

 
ColdFusion 9.01 Server Monito..

Recent Comments

 
Posted By Swagat:
Ben Forta, best-selling ColdFusion author is coming to India this August at India's largest Adobe Flash Platform Conference. Ben Forta will conduct a ...

Posted By Steve:
The updated presentation I gave at CF.Objective() 2010 is available here: [link] At the end of the preso I gave a brief, pre-recorded demo of wri ...

Posted By Brad Munz:
I've come across a OOM problem in HotSpot which looks alot like this: java.lang.OutOfMemoryError: requested 4096000 bytes for GrET in /BUILD_AREA/jdk6 ...

recently played

 

no song is playing

now playing, a plug-in for itunes

Categories

 
RSS Adobe (34)
RSS Bicycling (9)
RSS Blogging (39)
RSS Books (13)
RSS Breeze (13)
RSS CFMX Podcasts (10)
RSS ColdFusion (429)
RSS Computer Technology (51)
RSS Events (26)
RSS Flex (20)
RSS Gadgets (10)
RSS HiTech Industry (16)
RSS Java (25)
RSS Learning (57)
RSS Linux (70)
RSS Mac OS X (22)
RSS Macromedia (27)
RSS Meetup (35)
RSS New England (62)
RSS Odds & Ends (25)
RSS Outdoors (32)
RSS Personal (29)
RSS Photos (111)
RSS Photoshop (29)
RSS Podcasts (18)
RSS Rants (19)
RSS Restaurants (8)
RSS Science (34)
RSS Spain (16)
RSS Travel (42)
RSS Twitter (10)
RSS Video (20)
RSS Webcam (3)
RSS Writing (10)

Blogs I Read

 
Terrence Ryan
Ben Forta
Ray Camden
Kinky Solutions
Dan Vega
Gary Gilbert
Simeon Bateman
Red Hat Blogs
O'Reilly Digital Media
O'Reilly Radar
John Nack
The Strobist
Scott Kelby
Matt Kloskowski
Joe McNally
Digital Photography School
Engadget
Science Blog

RSS

 


Add to Google
Add to My Yahoo!

Aggregated By

 


Aggregated by ColdFusionBlogger.org

Credits and Stuff

 
BlogCFC - Free ColdFusion Powered Blog Software
CJM Group - ColdFusion Website Hosting


 
 
blog | photos | flickr | referers | webcam | stats | about | contact
 
Copyright © 2010 Steven Erat. All rights reserved.
This is a personal weblog. The opinions expressed here represent my own and not those of my employer