aspnet_wp uses up 98~99% of CPU power

Ask a Question related to ASP.NET Web Services, Design and Development.

  1. #1

    Default aspnet_wp uses up 98~99% of CPU power

    Hi

    I'm running a webservice that acts as a server for
    instance messanger. The problem I encounter is that when I
    run the server for several days, suddenly aspnet_wp.exe
    process uses up 98~99% of all CPU power.

    I'm using one thread (created through new ThreadStart()
    etc) to listen to all the incoming TCP connections, and I
    suspect that this thread causes the problem. Any known
    problem on thread safety of accepting incoming TCP
    connections in one of the thread of aspnet_wp ?
    inho yi Guest

  2. Similar Questions and Discussions

    1. aspnet_wp.exe
      Hi, I am getting these errors from Event Viewer - Application: 1. aspnet_wp.exe could not be launched because the username and/or password...
    2. aspnet_wp is missing
      Hello! I am working on asp.net web service and want to debug it. For this purpose I go to Debug>> Processes and see the availaible processess. I...
    3. aspnet_wp,exe
      The .Net garbage collector runs at times and will free memory as necessary. It has no logical pattern though. I wouldn't worry about it. It will...
    4. aspnet_wp.exe could not be started
      After installing Framework 1.1, I cannot run any of my ASP.NET applications. Actually, while installing Framework 1.1, I also installed recommended...
    5. aspnet_wp.exe could not be launched
      Hi Guys, aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are...
  3. #2

    Default Re: aspnet_wp uses up 98~99% of CPU power

    If I were building this, I would build a "Service" (= Windows Service) to
    handle the incoming TCP connections.
    If you also want a web service, maybe for some admin operations, I would
    make that a separate ASMX.
    Then if they need to communicate, use .NET remoting between them.

    I would not listen for incoming connections in a thread started by a web
    service.

    -D

    "inho yi" <anonymous@discussions.microsoft.com> wrote in message
    news:074101c3d5a9$6d3a4330$a401280a@phx.gbl...
    > Hi
    >
    > I'm running a webservice that acts as a server for
    > instance messanger. The problem I encounter is that when I
    > run the server for several days, suddenly aspnet_wp.exe
    > process uses up 98~99% of all CPU power.
    >
    > I'm using one thread (created through new ThreadStart()
    > etc) to listen to all the incoming TCP connections, and I
    > suspect that this thread causes the problem. Any known
    > problem on thread safety of accepting incoming TCP
    > connections in one of the thread of aspnet_wp ?

    Dino Chiesa [Microsoft] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139