On Friday, 27 April 2012 16:48:53 UTC+2, Mika wrote:
>
> Since we upgraded our web application to Cake 2.1.1 it has literally 
> killed our server several times. In WHM the "Server load (4 CPUs)" 
> under Service Status runs above 15 the entire time, and spikes up to 
> 50 and as high as 70, at which point the server basically dies. 
>
> The same application under exactly the same load running on Cake 
> 1.3.15 does not have near the same effect on the server. On 1.3.15 the 
> server load in WHM never exceeds 2. 
>
> It is exactly the same application. 


Since 2.x is not backward compatible and quite different from 1.3; "exactly 
the same" isn't particularly meaningful - If the code was exactly-the-same 
it wouldn't work at all with 2.x.
 

> The only changes we made were ones 
> required to make the application run on Cake 2.1.1. 


So, not exactly the same :)
 

> There is nothing 
> else running on the server. It's dedicated to just this one web 
> application. 
>
> We've swapped the code base back and forth (between 1.3.15 and 2.1.1) 
> a few times on the live server, and the results were the same every 
> time. On 1.3.15 the server hums, on 2.1.1 it dies. 
>
> Has anyone else had similar experiences?


You need to profile your app - or just use debug kit to identify what your 
app is doing.

Any issues of this kind are going to be in your app code, or in some way 
setup/config related. The cause, whatever it is, should be blindingly 
obvious (a loop of some kind; constant cache-misses or <insert other 
observed inefficiency>) by looking at what your code is actually doing

AD 

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to