Hello Peterson,

Peterson, Chris escreveu:
> I have always heard that simultaneous processes should be set to about double 
> the number of processors you have.

Yes, so do I, but I think it can´t be a rule, but I try to understand 
the why´s,
for example, if  you have a Dual-P4 it would be worth to have 6 simultaneous
requests seted, but we know that Coldfusion has to many ways to optimize
the code. So, "perhaps" with one application with a code well optimized you
could set it to 8

When I had a Dual-P4 I get the better configuration with 10 simultaneous
request.

Now, we upgrade the server to a Dual Processor Dual Core, and it
means that we have almost 4 processors embeded, besides the Dual
Core technology is based in the Xeon servers, that give a performance
much better than a Dual-P4

So, I "thought" the number of simultanous requests could grows, too.

In the other side, the old server (Dual-P4) showed some overload
signs in the system (load, CPU) when it was handling 10 simultaneous
request, but it isn´t happening with the Dual Processor Dual Core
server, it don´t shows overload signs in the system, that seems this
number could be improved.

But it´s only thoughts...

Thanks,
Ronan

>   30 seems high to me, but maybe I am off base...?  Do you have processes 
> that are long running taking up those job slots, or are they all quick 
> templates?  I would look in your server log to find long running processes 
> too.
>
> Chris 
>
> -----Original Message-----
> From: Ronan Lucio [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 13, 2006 1:58 PM
> To: CF-Talk
> Subject: Slow Server
>
> Hello,
>
> I have a Linux RHE box + CFML-7.02 in a Dual Processor
> Dual Core hardware.
>
> I configured this server to handle up to 30 simultaneous process,
> but it´s having a strange behave in the pics moments.
>
> Yesterday it had 30 processes running and an average of other 30
> process queued about 30 minutes.
>
> In that moment it took about 80 seconds to show a webpage that
> is shown in 8 seconds in normal situations.
>
> I thought some function ou query could being getting too many resources
> from the server.
> So, I enabled coldfusion debugging and checked the output.
>
> In debugging output every process (function/query) seemed to be running 
> fast,
> for example, supposing I have a "index.cfm" with the follow content:
>
> index.cfm
> --------------------
> <cfsilent>
>     <cfset stPage = CreateObject( "component", "home" ).processPage() />
> </cfsilent>
> <cfinclude template="mainpage.cfm" />
> --------------------
>
> and "mainpage.cfm" has some <cfoutput query>'s and some other functions.
>
> The debug output looked like that:
>
> --------------------
> 50000ms - index.cfm
>   400ms - mainpage.cfm
>   300ms - CFC[ home.cfc | processPage() ]
>   250ms - CFC[ home.cfc | getInfo() ]
>   200ms - CFC[ home.cfc | function_1() ]
>   150ms - CFC[ home.cfc | function_2() ]
>   100ms - CFC[ home.cfc | function_3() ]
> --------------------
>
> It seems all the processment runs fine, and when the Coldfusion receives
> the returns and would show the result it slows the process for some reason.
>
> Still in that moment I checked the server
> - load (uptime) was between 2.5 and 3.0
> - The CPU usage was about 55%
> - Database (another hardware) showed no SQL query running and 21 active
>     connections (sleep).
> - % of alocated memory was about 35%
>
> After the site cames to the normal, I checked the total page hits in 
> that moment
> and compared with the fast moments, but I didn´t see any difference that
> could justify that behave.
>
> After the whole analyzes I got the conclusion that the system is much faster
> with 10 simultaneous process than with 30 simultaneous process in pics
> moments, but I didn´t figured out why, once the system load didn´t show
> any overload signal.
>
> Is there another thing to be tuned that I forgot?
> Is there a way to have a Coldfusion server handling more then 10 
> simultaneous
> requests efficiently in one hardware with two processors (standard license)?
>
> Any help would be appreciated,
> Ronan
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263973
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to