SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast showpony's Avatar
    Join Date
    Mar 2001
    Location
    London
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    inetinfo.exe hogs CPU

    Hi,
    hoping someone has dealt with this before. When I am developing an ASP page with a recordset via UltraDev 4, (my PC is the development platform, running PWS) the inetinfo.exe files just hogs all the CPU time. I can't modify the page cause it just freezes...

    I've heard two reasons for this, bad code snippet, or, which one is right and what steps do I take for putting this processor hog to sleep?
    Showpony
    (the Kiwi that flew)

  2. #2
    SitePoint Enthusiast showpony's Avatar
    Join Date
    Mar 2001
    Location
    London
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ooops, read

    <snip>
    bad code snippett, or Microsoft IIS/PWS stability probs (natch)
    </snip>
    Showpony
    (the Kiwi that flew)

  3. #3
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Milton Keynes, UK
    Posts
    1,011
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I haven't experienced any stabilty problems using pws/iis on NT4 or Win 2000. The only problems I've ran into is problems with my script, ie getting into never ending loops.

    Never ending loops can occur when looping through a rs and you forget to include to move the cursor position forwards/backwards.

    Code:
    Do While Not objRS.EOF 
        Response.Write objRS.Fields(0).Value & "<br>"
        objRS.MoveNext
    Loop
    Missing out that MoveNext line will rapidly bring things to a halt.

    If you get into this state try the following from the command line
    Code:
    net stop iisadmin /y
    Restart:
    Code:
    net start w3svc
    You may also want try the following link as it's got a .bat file for starting/stopping pws.

    http://www.haneng.com/lessons_22.asp

    I haven't used UltrDev but I'm suprised that it could let a developer get into never ending loops, as I thought it may have written the loop code for you. You may want to check MM to see if there's a known problem.


Bookmarks

Posting Permissions

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