.net 4.0 + w3wp.exe

Posted on 2011-05-04
Last Modified: 2012-05-11
Recently, we made the jump from .NET 3.5 to .NET 4.0. Now we are seeing a huge performance hit in our web application. The w3wp.exe process is frequently spiking up to 70-80% and staying there for 10+ seconds. Previously, it would only spike up to around 50%, and only then for less than a second for pretty much any of our queries. This has made our app run at about 25% efficiency.

We were previously running .NET 3.5 (32 bit) IIS 6 Windows Server 2008 64bit
and are currently running .NET 4.0 (64 bit) IIS 6 Windows Server 2008 64 bit

Any guidance on how to solve this, or why it would run worse in .NET 4.0 would be much appreciated!
Question by:Josh_Blade
    LVL 9

    Expert Comment

    This is a broader area to answer.

    My suggestion is check your LOG. It may be because of Application Initialization, Bad code/query, Antivirus etc.,

    Here are some references to trace where the problem is..........
    LVL 7

    Expert Comment

    IIS6 on 2008?

    any other changes?

    Author Comment

    Actually I typoed, IIS 6 with Windows Server 2003.

    The only change between working well and working poorly was going from .NET 3.5 (32) -> .NET 4.0 (64).
    LVL 7

    Expert Comment

    is it possible to let it run .NET 32 bit?

    Accepted Solution

    After talking with microsoft tech support (after they looked at a dump from our machine), they tell us that due to a change in how memory allocation is handled in 64 bit, a ton of our third party parsing code is now terribly innefficient...

    We rolled it back to 32 bit for now, but it looks like we'll have to completely rewrite a huge portion of our app if we ever want to goto 64 bit.

    Author Closing Comment

    Talked with MS tech support.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now