Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. aspnet_wp.exe cpu utilization 100%

aspnet_wp.exe cpu utilization 100%

Scheduled Pinned Locked Moved ASP.NET
csharphtmlasp-netwpf
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    K P Kannan
    wrote on last edited by
    #1

    We have an asp.net(Framework 1.1,VB.NET) application hosted on the developer PC itself. Windows XP Professional 512 MB RAM Pentium 4 2.4 GHZ We built the project in release mode and the web.config also having debug mode set to false In one screen, around 420 HTML Controls are built with some styles(based upon some validations). The validataions goes into a loop calling methods at multiple levels. Even for a single user(I mean localhost), the performance of the processor(CPU Usage) goes to 100% and comes down. What are the things that need to be checked and what are the measures we can take I searched google and got many links. I think I can get better answers from this forum Thanks, K.P.Kannan

    S S K 3 Replies Last reply
    0
    • K K P Kannan

      We have an asp.net(Framework 1.1,VB.NET) application hosted on the developer PC itself. Windows XP Professional 512 MB RAM Pentium 4 2.4 GHZ We built the project in release mode and the web.config also having debug mode set to false In one screen, around 420 HTML Controls are built with some styles(based upon some validations). The validataions goes into a loop calling methods at multiple levels. Even for a single user(I mean localhost), the performance of the processor(CPU Usage) goes to 100% and comes down. What are the things that need to be checked and what are the measures we can take I searched google and got many links. I think I can get better answers from this forum Thanks, K.P.Kannan

      S Offline
      S Offline
      StianSandberg
      wrote on last edited by
      #2

      I guess 420 HTML Controls means 420 Server Controls (label, datagrid, button etc) In that case you should really take a look at caching! Rendering 420 Server controls uses cpu! Split the page in several usercontrols if you need to partial cache tha page. Maybe you could post some code?

      --------------- serverside.no

      1 Reply Last reply
      0
      • K K P Kannan

        We have an asp.net(Framework 1.1,VB.NET) application hosted on the developer PC itself. Windows XP Professional 512 MB RAM Pentium 4 2.4 GHZ We built the project in release mode and the web.config also having debug mode set to false In one screen, around 420 HTML Controls are built with some styles(based upon some validations). The validataions goes into a loop calling methods at multiple levels. Even for a single user(I mean localhost), the performance of the processor(CPU Usage) goes to 100% and comes down. What are the things that need to be checked and what are the measures we can take I searched google and got many links. I think I can get better answers from this forum Thanks, K.P.Kannan

        S Offline
        S Offline
        Sandeep Akhare
        wrote on last edited by
        #3

        HI There are many causes that leads to high memory usage and CPU conspumtion. First of all it depends on your approach . Do we need to have server side validation even we can do it at client side ? You are using 420 html controls in one page ? i think you should divide them by making different controls ....... Can you tell What exatly are you doing ? Any bussiness logic ? Are you using COM component ? Are you closing all the instances ? Many more

        Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "

        1 Reply Last reply
        0
        • K K P Kannan

          We have an asp.net(Framework 1.1,VB.NET) application hosted on the developer PC itself. Windows XP Professional 512 MB RAM Pentium 4 2.4 GHZ We built the project in release mode and the web.config also having debug mode set to false In one screen, around 420 HTML Controls are built with some styles(based upon some validations). The validataions goes into a loop calling methods at multiple levels. Even for a single user(I mean localhost), the performance of the processor(CPU Usage) goes to 100% and comes down. What are the things that need to be checked and what are the measures we can take I searched google and got many links. I think I can get better answers from this forum Thanks, K.P.Kannan

          K Offline
          K Offline
          kubben
          wrote on last edited by
          #4

          Anytime I hear 100% cpu utilization I think loop problem. Often infinite loop. I would remove your looping validation and see if the CPU utilization goes down. If it does then you know your validation loop is the problem. Hope that helps. Ben

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups