Re: ColdFusion Server keeps falling down!

2009-10-13 Thread Eric Roberts

Did you try putting it on a more stable desk? *grin*

Eric

--
From: Glyn Jackson glyn.jack...@newebia.co.uk
Sent: Monday, October 12, 2009 2:25 PM
To: cf-talk cf-talk@houseoffusion.com
Subject: ColdFusion Server keeps falling down!


 We have recently moved to a new virtual server, since the move we have 
 been having issues with ColdFusion almost everyday. What seems random, 
 ColdFusion slows down and then stops responding all together. I then try 
 and restart the service and it errors stating CF cannot be stopped as it's 
 busy or something. I wait for a few minutes and after a while it allows me 
 to restart and everything is ok for a few days till it happens again.

 On the old server we did not have these intermittent issues in fact over a 
 year CF went down just once. Nothing has changed code wise, its still the 
 same app. I have installed FusionReactor and it all seems ok, the only few 
 things I have had from the crash protection is below, but I really don't 
 think this is the issue as this is the same code running as the old server 
 which was much less powerful then our new server.

 I have installed the lasted hot fix, java and the server is fully patched. 
 aything i think is relevent is below, anyone got any ideas to what could 
 be doing this...?

 :)

 Thanks
 -
 details and settings
 --
 Version:  8,0,1,195765
 Edition: Standard
 Operating System: Windows 2003
 Java Version: 1.6.0_14
 Java Home: C:\Program Files\Java\jdk1.6.0_14\jre
 Java VM Version:  14.0-b16

 Simultaneous request limit 50
 CFThread Pool Size 10
 Maximum number of report threads 1
 Maximum number of running JRun threads 50
 Maximum number of queued JRun threads 1000

 Java and JVM
 Java virtual machine path C:/Program Files/Java/jdk1.6.0_14/jre
 Initial memory size MB
 Maximum memory size 512 MB


 patches:
 ;C:/ColdFusion8/runtime/../lib/updates/hf801-1875.jar; 
 C:/ColdFusion8/runtime/../lib/updates/hf801-1878.jar; 
 C:/ColdFusion8/runtime/../lib/updates/hf801-71634.jar; 
 C:/ColdFusion8/runtime/../lib/updates/chf8010003.jar;



 FR Reports:

 The following alert was generated at Mon Oct 12 19:39:46 BST 2009.

 [Notify] Crash Protection - Memory Shortage Alert: Actual value: 4% 
 (20MB), Threshold value: 5% (24MB)

 Current (Triggering) Request:

 Request ID: 8332
 Request URL: http://www.safe4sure.co.uk/index.cfm
 Status: PENDING
 Started (Milliseconds): 1255372786347
 Started (Date/Time): 2009-10-12 19:39:46.347
 Thread ID: jrpp-130
 Client IP Address: 82.33.91.92
 Request Method: GET
 Execution Time (ms): 0
 Used Memory (percentage): 95
 Max Memory (KB): 504896
 Used Memory (KB): 483733
 Total Memory (KB): 496576
 Free Memory (KB): 12842








 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327141
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion Server keeps falling down!

2009-10-13 Thread Rick Root

  I then try and restart the service and it errors stating CF cannot be stopped

That's pretty normal for an overloaded server.. takes a while to shut down.

Since you're running fusion reactor... tell us how busy the server is.
 Look at the request activity graph.. what's the average?

Maybe the old server had more than 512MB allocated.

A quick fix would probably be to allocate more memory to the instance,
assuming your virtual server has more memory available.

Long term though, you have to figure out what's using the memory,
which is more difficult.

Look at the memory usage graph... does it go up and down A LOT?  I
once had a problem where the server was doing massive amounts of
garbage collection every 30 seconds or so.. we also had a significant
CPU issue because we had 1500 subdirectories each containing 120 files
that were exactly the same (not my architecture!)... so template
caching was non-existent and CF had to compile every page on the fly.

Perhaps you're storing a LOT of stuff in a shared memory scope, like
the application, server, or session scopes.

Rick

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327152
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ColdFusion Server keeps falling down!

2009-10-12 Thread Glyn Jackson

We have recently moved to a new virtual server, since the move we have been 
having issues with ColdFusion almost everyday. What seems random, ColdFusion 
slows down and then stops responding all together. I then try and restart the 
service and it errors stating CF cannot be stopped as it's busy or something. I 
wait for a few minutes and after a while it allows me to restart and everything 
is ok for a few days till it happens again.

On the old server we did not have these intermittent issues in fact over a year 
CF went down just once. Nothing has changed code wise, its still the same app. 
I have installed FusionReactor and it all seems ok, the only few things I have 
had from the crash protection is below, but I really don't think this is the 
issue as this is the same code running as the old server which was much less 
powerful then our new server.

I have installed the lasted hot fix, java and the server is fully patched. 
aything i think is relevent is below, anyone got any ideas to what could be 
doing this...?

:)

Thanks
-
details and settings
--
Version:  8,0,1,195765  
Edition: Standard  
Operating System: Windows 2003  
Java Version: 1.6.0_14  
Java Home: C:\Program Files\Java\jdk1.6.0_14\jre  
Java VM Version:  14.0-b16  

Simultaneous request limit 50 
CFThread Pool Size 10   
Maximum number of report threads 1   
Maximum number of running JRun threads 50   
Maximum number of queued JRun threads 1000  

Java and JVM
Java virtual machine path C:/Program Files/Java/jdk1.6.0_14/jre  
Initial memory size MB
Maximum memory size 512 MB 


patches: 
;C:/ColdFusion8/runtime/../lib/updates/hf801-1875.jar;  
C:/ColdFusion8/runtime/../lib/updates/hf801-1878.jar;  
C:/ColdFusion8/runtime/../lib/updates/hf801-71634.jar;  
C:/ColdFusion8/runtime/../lib/updates/chf8010003.jar;



FR Reports:

The following alert was generated at Mon Oct 12 19:39:46 BST 2009.

[Notify] Crash Protection - Memory Shortage Alert: Actual value: 4% (20MB), 
Threshold value: 5% (24MB)

Current (Triggering) Request:

 Request ID: 8332
 Request URL: http://www.safe4sure.co.uk/index.cfm
 Status: PENDING
 Started (Milliseconds): 1255372786347
 Started (Date/Time): 2009-10-12 19:39:46.347
 Thread ID: jrpp-130
 Client IP Address: 82.33.91.92
 Request Method: GET
 Execution Time (ms): 0
 Used Memory (percentage): 95
 Max Memory (KB): 504896
 Used Memory (KB): 483733
 Total Memory (KB): 496576
 Free Memory (KB): 12842





 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327099
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ColdFusion Server keeps falling down!

2009-10-12 Thread Paul Vernon

I'd check the JVM settings for memory allocation and compare them against
your old server if you can.

Paul




~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327101
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ColdFusion Server keeps falling down!

2009-10-12 Thread Glyn Jackson

Old server has gone, what figures should we be looking at? 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327102
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: ColdFusion Server keeps falling down!

2009-10-12 Thread Paul Vernon

There's all sorts of memory settings and I recently had out of memory issues
that were related to the Eden space which were solved by increasing the
value of -Xmn to 128m.

There's a great article on tuning and memory usage here:

http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_01.ht
ml

Paul

 -Original Message-
 From: Glyn Jackson [mailto:glyn.jack...@newebia.co.uk]
 Sent: Monday, October 12, 2009 8:47 PM
 To: cf-talk
 Subject: Re: ColdFusion Server keeps falling down!
 
 
 Old server has gone, what figures should we be looking at?
 
 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327107
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4