Hello Ronan, Whenever I'm debugging performance issues on Linux I have a window open with the site that's misbehaving, and another window open with top running I have the top refresh rate set to every half a second, and then I hit the page.
If the problem is with CF or the CFML code, you can see the CF java processes spike the CPU while the page is loading. If the problem is with the database, you can see the database processes spike. Have you watched your processes in this manner and noticed any kind of spiking like this? Warm regards, Jordan Michaels Vivio Technologies http://www.viviotech.net/ Blue Dragon Alliance Member [EMAIL PROTECTED] Ronan Lucio wrote: > 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:264002 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

