VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Add-ons for VP-ASP
 CPU Locking Into 50% Usage ? ?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bluesky
VP-ASP Super User

302 Posts

Posted - April 26 2008 :  05:01:50  Show Profile  Reply with Quote
Trying to recreate an issue which lock CPU on server into 50% usage .Been told it looks like its some ASP code thats looping !

Not manging to recreate the circumstances that causes it at all so not manging to narrow it down .

A temporary cure to keep the server fast is we have adjusted the RECYCLE WORKER PROCESSES to 1 hour , instead of its previous 29 hours !

This does not seem to have any effect adding to cart or any negative effect on customer browsing ..would you agree , cn we safely leave at one hour ?

PAUL


Edited by - bluesky on April 29 2008 04:45:16

Steve2507
VP-ASP Expert

590 Posts

Posted - April 29 2008 :  07:38:41  Show Profile  Reply with Quote
Doesn't the recycle worker process clear out all sessions? If it does then this would cause a problem.


Steve
Sex toys from a UK sex shop
Go to Top of Page

bluesky
VP-ASP Super User

302 Posts

Posted - April 29 2008 :  14:25:06  Show Profile  Reply with Quote
i agree if the sites ( vpasp 6.5 ) were running in session mode, cookieless mode ! but they are not

If we add to items to cart and recycle, the items still stay in cart . i am unaware of anything else doing this may effect ..for the moment its keeping the server fast but not the ultimate solution

Any advice on WHY recycling worker processes would be bad in these circumstances would be appreciated , as we cant find any negatives to it as of yet.

Further any advice on software that can help monitor WHY the CPU is locking into 50% usage would be appreciated , some times this is happening within 20 minutes of a RWP reset and before the 1 hour reset was implemented within hours the CPU was hitting 100% causing all browsing to crawl to a halt.
IS the a way of tracking what could actually be causing this possible loop?

PAUL

Edited by - bluesky on April 29 2008 14:27:00
Go to Top of Page

bluesky
VP-ASP Super User

302 Posts

Posted - May 02 2008 :  08:01:31  Show Profile  Reply with Quote
Still not resolved

but recently found this interesting suite of free goodies from
microsoft

Might be useful to someoe else
http://technet.microsoft.com/en-us/sysinternals/default.aspx

in particular for CPU usage
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

PAUL
Go to Top of Page

bluesky
VP-ASP Super User

302 Posts

Posted - May 12 2008 :  04:15:29  Show Profile  Reply with Quote
still having this issue and looking for ideas ! thoughts on what might be causing ........

I am running vpasp MULTIPLE SHOPS and the sites are cross linked im wondering if its something to do with sessions being left open ? sites are on own domains ..but all products come from one database , each shop has its own configuration table

IE ..customer visits shop A , browses a bit then spots a link to shop B ...goes to shop B , browses a bit then goes to shop C ...

can anybody imagine would this would create issues with very high CPU usage ?

Appreciate any feedback

PAUL

Edited by - bluesky on May 12 2008 04:16:59
Go to Top of Page

bluesky
VP-ASP Super User

302 Posts

Posted - May 14 2008 :  05:07:56  Show Profile  Reply with Quote
Using a software called process monitor i can see the processes that are running on CPU , its very indepth though and for someone like myself theres tooo much info ...one thing that stands out is this section that seems to repeat and be active MULTIPLE TIMES PER SECOND , even when theres no active visitors ...does it mean much to anyone ?could this be the problem ?

24705 02:19.3 sqlmangr.exe 2476 Load Image C:\WINDOWS\system32\sqlsrv32.dll Image Base: 0x4ca50000, Image Size: 0x6d000
24707 02:19.3 sqlmangr.exe 2476 Load Image C:\WINDOWS\system32\netapi32.dll Image Base: 0x71c40000, Image Size: 0x57000
24763 02:19.3 sqlmangr.exe 2476 Load Image C:\WINDOWS\system32\sqlsrv32.rll Image Base: 0xb20000, Image Size: 0x16000
24874 02:19.3 sqlmangr.exe 3716 Load Image C:\WINDOWS\system32\sqlsrv32.dll Image Base: 0x4ca50000, Image Size: 0x6d000
24878 02:19.3 sqlmangr.exe 3716 Load Image C:\WINDOWS\system32\netapi32.dll Image Base: 0x71c40000, Image Size: 0x57000
24892 02:19.3 sqlmangr.exe 2476 Load Image C:\WINDOWS\system32\dbnetlib.dll Image Base: 0x6d560000, Image Size: 0x1c000
24924 02:19.3 sqlmangr.exe 2476 Load Image C:\WINDOWS\system32\wsock32.dll Image Base: 0x71bb0000, Image Size: 0x9000
24970 02:19.3 sqlmangr.exe 3716 Load Image C:\WINDOWS\system32\sqlsrv32.rll Image Base: 0xb20000, Image Size: 0x16000
25014 02:19.3 sqlmangr.exe 3716 Load Image C:\WINDOWS\system32\dbnetlib.dll Image Base: 0x6d560000, Image Size: 0x1c000
25037 02:19.3 sqlmangr.exe 2476 Load Image C:\WINDOWS\system32\security.dll Image Base: 0x71f60000, Image Size: 0x4000
25040 02:19.3 sqlmangr.exe 2476 Load Image C:\WINDOWS\system32\crypt32.dll Image Base: 0x761b0000, Image Size: 0x93000
25042 02:19.3 sqlmangr.exe 2476 Load Image C:\WINDOWS\system32\msasn1.dll Image Base: 0x76190000, Image Size: 0x12000
25053 02:19.3 sqlmangr.exe 3716 Load Image C:\WINDOWS\system32\wsock32.dll Image Base: 0x71bb0000, Image Size: 0x9000
25108 02:19.3 sqlmangr.exe 3716 Load Image C:\WINDOWS\system32\security.dll Image Base: 0x71f60000, Image Size: 0x4000
25111 02:19.4 sqlmangr.exe 3716 Load Image C:\WINDOWS\system32\crypt32.dll Image Base: 0x761b0000, Image Size: 0x93000
25113 02:19.4 sqlmangr.exe 3716 Load Image C:\WINDOWS\system32\msasn1.dll Image Base: 0x76190000, Image Size: 0x12000

Edited by - bluesky on May 14 2008 05:09:54
Go to Top of Page

bluesky
VP-ASP Super User

302 Posts

Posted - July 30 2008 :  10:54:02  Show Profile  Reply with Quote
Just a quick update

never really got to the bottom of WHY ..but discovered if I removed TWO lines of code ........ the BYZ image processing code everything returned to normal and worked perfect

Never did get a solution out of the BYZ helpdesk , other than days , weeks and now months of the ticket being ignored so ho hum ya live and learn
Go to Top of Page

devshb
Senior Member

United Kingdom
1898 Posts

Posted - July 30 2008 :  13:23:38  Show Profile  Visit devshb's Homepage  Reply with Quote
hi; I must have missed a notification email from an update on the ticket; I'll have a look for it and investigate, it might be that you need a newer version of the addon; I'll check it out.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page

devshb
Senior Member

United Kingdom
1898 Posts

Posted - July 30 2008 :  18:03:29  Show Profile  Visit devshb's Homepage  Reply with Quote
I've had a look; my guess is that it's something to do with the images being sourced from another server at runtime, so the sizing/defaulting can't load it to check its size/existence; it's possible that the loadpicture command hangs if it can't find/access the server.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000