Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

CPU = 100%
cgishack
#1 Posted : Sunday, November 1, 2009 3:54:41 PM(UTC)
Groups: Member
Joined: 11/1/2009(UTC)
Posts: 1
Location: Niagara Falls

I am having issues when viewing the web page in added to the Cassini server more than 3 simultaneous times.
I have an app that goes to a web service every 20 seconds to get new data and its making the Cassini server used 70%- 100% of the CPU when opened in 3 windows.

Is this normal for Cassini server or is it something in my app that causing the huge CPU usage.

Any advice would be great!

Drew

Ultidev Team
#2 Posted : Sunday, November 1, 2009 6:02:26 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hello, Drew.

No, Cassini on its own does not take nearly as much CPU time. Something is amiss. Have you tried running the app in the WebDev (Visual Studio web server) or IIS? Does every added client make Cassini add 25-35% of CPU utilization?
Please note that "Always keep application in memory to improve first page response time" checkbox on the app registration page makes Cassini request your default page every once in a while, so if the default pages of applications do heavy lifting, then you may see CPU usage go up. In your case it makes sense to keep the checkbox unchecked.
If you wish to profile your app with Cassini to find out where the CPU is getting hogged, try attaching to UltiDevCassinWebServer2a.exe process.

Please let us know what you have found out. We will continue trying to troubleshoot this issue with you.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.