RE: PID errors - much simpler
James, if the JVM crashes, it will certainly create a hs_err_pid file, but how do you know that the OP's problem is related to hotspot optimization? I'm pretty sure that hs_err_pid files are only generated for Hot Spot errors specifically. Other JVM crashes don't create them. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311563 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
Dave, I believe that you are correct. I'm fairly certain that the prefix hs_ is indicating that it was a HotSpot error. - James # Java VM: Java HotSpot(TM) Server VM (10.0-b19 mixed mode windows-x86) James, if the JVM crashes, it will certainly create a hs_err_pid file, but how do you know that the OP's problem is related to hotspot optimization? I'm pretty sure that hs_err_pid files are only generated for Hot Spot errors specifically. Other JVM crashes don't create them. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311570 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
Brad, Do you know what it WAS related to? Do you make extensive use of CFTHREAD ? - James Yes, I've gotten them when JRUN had a hard crash, but it was never related to image manipulation. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311571 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PID errors - much simpler
Our JVM is fully updated. No love. We have the new CFImage patch from Adobe. No love. I am curious what you meant about this being a classic sign of the problem. We can often go through 7,000 images without one error and then we'll get two errors within 20 images of each other and then go another 5,000 without issue. I dont know if that is a classic sign of the problem but I am interested in learning more about what you mean and how to debug it if you are correct. - James Because the OP says they get the crash once in every ~10,000 attempts which is probably the limit at which the hotspot compiler decided to compile the given class to native code. After the auto restart the same code works fine. It's a classic sign of this problem. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311572 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: PID errors - much simpler
Our JVM is fully updated. No love. We have the new CFImage patch from Adobe. No love. I am curious what you meant about this being a classic sign of the problem. We can often go through 7,000 images without one error and then we'll get two errors within 20 images of each other and then go another 5,000 without issue. I dont know if that is a classic sign of the problem but I am interested in learning more about what you mean and how to debug it if you are correct. The HotSpot compiler only kicks in if the JVM thinks it will take less time to compile to native code and run than to just compile to bytecode and run that. So, repeated operations are one place you see this a lot. After some number of repetitions, the JVM invokes the HotSpot compiler. If there's no other way to prevent this, you can simply disable HotSpot, although that will generally make a lot of things a LOT slower. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311578 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
No. Usually, I have only gotten errors like that just after a botched install CF, or when I am screwing around with stuff. (Fiddling with core JAR files and such for experiments) I can't remember the last time I got an error like that under a normal usage scenario. ~Brad - Original Message - From: James Wolfe [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, August 26, 2008 9:44 AM Subject: Re: PID errors - much simpler Brad, Do you know what it WAS related to? Do you make extensive use of CFTHREAD ? - James Yes, I've gotten them when JRUN had a hard crash, but it was never related to image manipulation. ~Brad ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311589 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
What the other James and Dave said actually makes some sense now that I think about it. Read http://java.sun.com/javase/technologies/hotspot/index.jsp-- it explains what hotspot optimization does. Basically, your JVM will actually change how it is compiling code after your server had been running for a while and warmed up. It keeps track of pieces of code that run A LOT. Those are hot spots in your application and could use a little extra boost of performance. Therefore, the hotspot compiler will compile those parts down to optimized machine instructions. It is costly to do that, but if that code is called enough, it could be worth it because the is much faster. What we are suggesting is that after your server has been up for a while, the HotSpot compiler finds some code it thinks it can optimize, but it crashes instead. Perhaps, if you examine the content of the error file you can get some info. Generally, it's not too awful useful though. As far as how to debug, I don't know. If you provide the proper arguments to your JVM, the hotspot compiler will be disabled. That will at least allow you to confirm if it fixes the problem. Your overall performance will probably suffer though. ~Brad - Original Message - From: James Wolfe [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, August 26, 2008 9:47 AM Subject: Re: PID errors - much simpler Our JVM is fully updated. No love. We have the new CFImage patch from Adobe. No love. I am curious what you meant about this being a classic sign of the problem. We can often go through 7,000 images without one error and then we'll get two errors within 20 images of each other and then go another 5,000 without issue. I dont know if that is a classic sign of the problem but I am interested in learning more about what you mean and how to debug it if you are correct. - James ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311591 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PID errors - much simpler
Yes, I've gotten them when JRUN had a hard crash, but it was never related to image manipulation. ~Brad - Original Message - From: James Wolfe [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 25, 2008 5:23 PM Subject: PID errors - much simpler OK, So it appears I went a little too specific with my previous question. Here is a simpler version: Does anyone have files that look like this: hs_err_pid.log ( can be any number) in the following folder: c:\coldfusion8\runtime\bin ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311531 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
I guess I didn't see the original thread. What's the bit about image manipulation? Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Brad Wood wrote: Yes, I've gotten them when JRUN had a hard crash, but it was never related to image manipulation. ~Brad - Original Message - From: James Wolfe [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 25, 2008 5:23 PM Subject: PID errors - much simpler OK, So it appears I went a little too specific with my previous question. Here is a simpler version: Does anyone have files that look like this: hs_err_pid.log ( can be any number) in the following folder: c:\coldfusion8\runtime\bin ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311537 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
The original thread is here: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:57386 James said this about his crashes: We have been getting small coldfusion crashes (where CF restarts automatically) periodically on a couple of our servers and I think I have linked it to the image processing functioality (either CFImage or CFX_imageCR3). ~Brad - Original Message - From: Cutter (CFRelated) [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 25, 2008 8:06 PM Subject: Re: PID errors - much simpler I guess I didn't see the original thread. What's the bit about image manipulation? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311538 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
These crashes are related to JVM hotspot optimisation. http://www.talkingtree.com/blog/index.cfm/2004/5/21/hscrashlog0504 Try updating your JVM, if possible. On Tue, Aug 26, 2008 at 6:23 AM, James Wolfe [EMAIL PROTECTED] wrote: OK, So it appears I went a little too specific with my previous question. Here is a simpler version: Does anyone have files that look like this: hs_err_pid.log ( can be any number) in the following folder: c:\coldfusion8\runtime\bin -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311540 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PID errors - much simpler
James, if the JVM crashes, it will certainly create a hs_err_pid file, but how do you know that the OP's problem is related to hotspot optimization? The talkingtree post says nothing about image manipulation, and there has got to be more than one reason for a JVM crash. ~Brad - Original Message - From: James Holmes [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 25, 2008 8:24 PM Subject: Re: PID errors - much simpler These crashes are related to JVM hotspot optimisation. http://www.talkingtree.com/blog/index.cfm/2004/5/21/hscrashlog0504 Try updating your JVM, if possible. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311542 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PID errors - much simpler
Because the OP says they get the crash once in every ~10,000 attempts which is probably the limit at which the hotspot compiler decided to compile the given class to native code. After the auto restart the same code works fine. It's a classic sign of this problem. On Tue, Aug 26, 2008 at 9:46 AM, Brad Wood [EMAIL PROTECTED] wrote: James, if the JVM crashes, it will certainly create a hs_err_pid file, but how do you know that the OP's problem is related to hotspot optimization? The talkingtree post says nothing about image manipulation, and there has got to be more than one reason for a JVM crash. ~Brad - Original Message - From: James Holmes [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 25, 2008 8:24 PM Subject: Re: PID errors - much simpler These crashes are related to JVM hotspot optimisation. http://www.talkingtree.com/blog/index.cfm/2004/5/21/hscrashlog0504 Try updating your JVM, if possible. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311545 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
I was thinking that, if he was using cfimage (and heavily), that this new hotfix from last week might be worth trying. Doesn't reference that activity directly, but file locks could cause thread lock issues, which might indirectly bounce CF. http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403411 Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com James Holmes wrote: Because the OP says they get the crash once in every ~10,000 attempts which is probably the limit at which the hotspot compiler decided to compile the given class to native code. After the auto restart the same code works fine. It's a classic sign of this problem. On Tue, Aug 26, 2008 at 9:46 AM, Brad Wood [EMAIL PROTECTED] wrote: James, if the JVM crashes, it will certainly create a hs_err_pid file, but how do you know that the OP's problem is related to hotspot optimization? The talkingtree post says nothing about image manipulation, and there has got to be more than one reason for a JVM crash. ~Brad - Original Message - From: James Holmes [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 25, 2008 8:24 PM Subject: Re: PID errors - much simpler These crashes are related to JVM hotspot optimisation. http://www.talkingtree.com/blog/index.cfm/2004/5/21/hscrashlog0504 Try updating your JVM, if possible. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311549 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: PID errors - much simpler
until i applied the recently updated cfimage hotfix i had experienced exactly the same behaviour. cf8 server would crash and restart when trying to do imagewrite after the image object has been manipulated in some way (resize, scale, add text, etc). so yes, try the updated hotfix: http://www.adobe.com/go/kb403411 worth noting: the ColdFusion 8.0.1 cumulative hot fix 1 does not seem to include the UPDATE cfimage hotfix... Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Cutter (CFRelated) wrote: I was thinking that, if he was using cfimage (and heavily), that this new hotfix from last week might be worth trying. Doesn't reference that activity directly, but file locks could cause thread lock issues, which might indirectly bounce CF. http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403411 Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com James Holmes wrote: Because the OP says they get the crash once in every ~10,000 attempts which is probably the limit at which the hotspot compiler decided to compile the given class to native code. After the auto restart the same code works fine. It's a classic sign of this problem. On Tue, Aug 26, 2008 at 9:46 AM, Brad Wood [EMAIL PROTECTED] wrote: James, if the JVM crashes, it will certainly create a hs_err_pid file, but how do you know that the OP's problem is related to hotspot optimization? The talkingtree post says nothing about image manipulation, and there has got to be more than one reason for a JVM crash. ~Brad - Original Message - From: James Holmes [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Monday, August 25, 2008 8:24 PM Subject: Re: PID errors - much simpler These crashes are related to JVM hotspot optimisation. http://www.talkingtree.com/blog/index.cfm/2004/5/21/hscrashlog0504 Try updating your JVM, if possible. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311550 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4