Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Application variables...

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
SiSL Posted - 17 December 2008 : 12:33:03
I'm wondering if there is any way to make them less CPU demanding...

Over 12,000 visitors browsing at same time, I wonder how much impact to those make on CPU. Is there any theorical ideas about it?

Let's put another way, I'm running on 2x dual Xeon 3.6, 8gb's of RAM server. CPU hits 100% most of time (SQL handled by another server), just talking about IIS now. I wonder how much CPU power wasted if I put config.asp included in all of them rather than mini version of it, if they are not browsing forum pages...

Any experiences from those who work in such large scale?
<
10   L A T E S T    R E P L I E S    (Newest First)
Carefree Posted - 19 December 2008 : 19:06:39
Which OS are you using? If Server 2003, look at this page. It will give you some guidance on how to use the existing (built-in) utilities.<
SiSL Posted - 19 December 2008 : 17:59:42
that's not svchost really, it is w3wp, basically web pool. IIS 6.0 web pool. Is there any tool to find which ASP file execution does the most cpu peak so I will take a close look at that?<
Carefree Posted - 19 December 2008 : 17:46:27
Download & install SysInternals' Process Explorer. Open Task Manager, go to View/Select Columns and enable the PID. When your CPU peaks, run the Proc Explorer and see what the PID using up the bulk of the CPU is associated with. A common culprit seems to be the DNSCache ("dnsrslvr.dll") but it uses svchost and NETWORK SERVICE in Task Manager.

Find the applicable dll, kill the process, and move the DLL out of Windows\System32. If it's part of Windows, the file will be replaced from the dllcache. That solves 90% + of this type of issue. Fixing the DNScache dll dropped my CPU usage from 95% to 5%.<
SiSL Posted - 19 December 2008 : 16:39:41
SQL 2008. However the server that SQL server is on has good CPU loads and seems fine and not that high at all.
<
gary b Posted - 19 December 2008 : 15:04:27
Access or SQL database?<
SiSL Posted - 18 December 2008 : 19:51:04
quote:
Originally posted by gary b

Wouldn't a review on Task Manager processes show which 'service(s)' is(are) consuming the cpu time? What if it is some other process that is in no way tied to SQL/web server/forum? Or perhaps you have already done this?

Any other apps on web server? Turn forum off... let web server run. What is cpu usage? Limit number of connections... what impact on cpu?

Website stats available? What page hit most? Does that page call anything in particular? Any chance of a code 'loop'?

Just some thoughts...




That's what I'm wondering... That is not visible until visitor number over 7000 at same time... Since I'm using forum as main user database and such for whole site, there is no way I can stop forum only, because config, inc_func_common etc. all loaded on all pages. I have made a mini_config.asp which does not include Application variables etc. post DB opening and put that on most popular non-forum pages, but so far, didn't hit big user numbers. Will see what's going to happen soon enough.

Then W3WP (single web site on IIS) jumps over 70% to 100%
<
gary b Posted - 18 December 2008 : 18:51:19
Wouldn't a review on Task Manager processes show which 'service(s)' is(are) consuming the cpu time? What if it is some other process that is in no way tied to SQL/web server/forum? Or perhaps you have already done this?

Any other apps on web server? Turn forum off... let web server run. What is cpu usage? Limit number of connections... what impact on cpu?

Website stats available? What page hit most? Does that page call anything in particular? Any chance of a code 'loop'?

Just some thoughts...
<
SiSL Posted - 17 December 2008 : 13:03:29
Well, I don't doubt about forum, just trying to figure what's taking so much cpu (I'm checking every bit of sql's etc; mind you, I should give every possibility a chance so asking to experts of here and including "this cpu is not enough for 12K visitors" chance too)

ruirib, ofcourse only copy of application variables but all of them requested (a long long list you know with all mods and such) in every page, just curious if it requires extra cpu powers)

I'm suspecting firstly my mods, especially ActiveUsers one. But don't want to blame any mod that before knowing it...

Another curiosity: Can bandwidth limit (ISP sided) cause impact on CPU per request, long sending timers etc?

PS: That's why a clean-up with 3.4.0.7 would help me a lot to figure out :)

Another funny note for example, it was really interesting to figure out, doing FT search with multi-tables like "TOPICS, MEMBERS and querying membername and topic subject was taking hella a lot more cpu power and timer than querying table twice, once for topics and once for members and union distinct results :)


<
HuwR Posted - 17 December 2008 : 12:57:03
the forum uses very little cpu and memory even in very busy scenarios. you need to do something to find out wht is using 100% of your cpu, because I doubt very much that it is the forum (not a standard one any way)<
ruirib Posted - 17 December 2008 : 12:40:17
Only a copy of application variables is maintained at the server. Session variables are different, though, those yes there will a copy for each visitor.<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07