Author |
Topic |
|
SiSL
Average Member
Turkey
671 Posts |
|
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
|
HuwR
Forum Admin
United Kingdom
20584 Posts |
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)< |
|
|
SiSL
Average Member
Turkey
671 Posts |
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 :)
< |
CHIP Online Forum
My Mods Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
|
Edited by - SiSL on 17 December 2008 13:13:56 |
|
|
gary b
Junior Member
USA
267 Posts |
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
Average Member
Turkey
671 Posts |
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% < |
CHIP Online Forum
My Mods Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
|
Edited by - SiSL on 18 December 2008 20:01:27 |
|
|
gary b
Junior Member
USA
267 Posts |
Posted - 19 December 2008 : 15:04:27
|
Access or SQL database?< |
|
|
SiSL
Average Member
Turkey
671 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
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
Average Member
Turkey
671 Posts |
|
Carefree
Advanced Member
Philippines
4207 Posts |
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.< |
|
|
|
Topic |
|