Setting allocated threads per CPU

Discussion in '.NET' started by aardvark, Aug 9, 2007.

  1. aardvark

    aardvark

    Joined:
    Aug 9, 2007
    Messages:
    1
    I'm not an asp.net programmer so please excuse me if I use the wrong terminology on this.

    I have an asp.net application running on Windows 2k3 that used to be housed on a dual-CPU machine with hyperthreading. Therefore, the OS 'saw' 4 CPUs. The application doesn't require 4 CPUs, that's just what happend to be in the server we installed the application on. Recently that machine was virtualized and was given only a single CPU in the virtual environment.

    After doing this the application running on that machine would crash complaining that it did not have enough MinFreeThreads (I think). Turns out that with the single CPU the system (asp.net?) was allocating 100 threads.

    I then configured the virtual machine to have 2 CPUs. Now the application still crashed and I noticed that the system was allocating 200 threads.

    Next I configured the virtual machine to have 4 CPUs. Now the application runs fine and I see that the system has allocated 400 threads. So, it would appear that something somewhere is allocating 100 threads per CPU. For many reasons I don't want to allocate 4 CPUs to this virtual server. Is it possible to configure my system to allocate more threads per CPU, therefore allowing me to configure the virtual machine for a single CPU?
     
    aardvark, Aug 9, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?S01aX3N0YXRl?=

    Quick one - Is SESSION per browser instance or per IP Address?

    =?Utf-8?B?S01aX3N0YXRl?=, Apr 4, 2006, in forum: ASP .Net
    Replies:
    7
    Views:
    5,930
    gerry
    Apr 10, 2006
  2. Razvan
    Replies:
    1
    Views:
    430
    tony vee
    Sep 10, 2004
  3. junk1@davidbevan.co.uk

    Static class - one per JVM or one per app?

    junk1@davidbevan.co.uk, Dec 20, 2004, in forum: Java
    Replies:
    5
    Views:
    2,618
    junk1@davidbevan.co.uk
    Dec 20, 2004
  4. junk1@davidbevan.co.uk

    Static class - one per JVM or one per app?

    junk1@davidbevan.co.uk, Dec 20, 2004, in forum: Java
    Replies:
    0
    Views:
    365
    junk1@davidbevan.co.uk
    Dec 20, 2004
  5. csnerd@gmail.com
    Replies:
    5
    Views:
    646
    Matt Wharton
    Dec 9, 2004
Loading...

Share This Page