473,809 Members | 2,849 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Will one ASP .Net worker process use more than one CPU?

I am currently evaluating a CMS product. I like the product so far, but one
of the restrictions on the product is that it requires that the Windows 2003
application pool be restricted to one worker process. They say this is being
done to improve caching. (???)

My understanding that the way ASP .Net scales is to create one worker
process per CPU. If the number of worker processes is restricted to one,
doesn't that mean that I am not taking advantage of the other cpus on the box?

The only reason I'm familiar with to limit the number of worker processes is
to allow inproc session state. I'm not sure what benefits caching could get
from this. Any ideas on this so I might better understand what is going on
would be appreciated.
Sep 10 '07 #1
3 2124
an worker process uses threads, and these threads will run on more than
1 proc. your cms product must use an in-memory cache, that restricts it
to one worker process. it must be unmanaged memory, or it would
restricted to one app domain (one web site).
-- bruce (sqlwork.com)

John Bailey wrote:
I am currently evaluating a CMS product. I like the product so far, but one
of the restrictions on the product is that it requires that the Windows 2003
application pool be restricted to one worker process. They say this is being
done to improve caching. (???)

My understanding that the way ASP .Net scales is to create one worker
process per CPU. If the number of worker processes is restricted to one,
doesn't that mean that I am not taking advantage of the other cpus on the box?

The only reason I'm familiar with to limit the number of worker processes is
to allow inproc session state. I'm not sure what benefits caching could get
from this. Any ideas on this so I might better understand what is going on
would be appreciated.
Sep 10 '07 #2
How do you figure this restriction will hurt it scaling wise. I would assume
that the default in creating one worker process per cpu has some advantages,
so I am just wondering what I am losing.

"bruce barker" wrote:
an worker process uses threads, and these threads will run on more than
1 proc. your cms product must use an in-memory cache, that restricts it
to one worker process. it must be unmanaged memory, or it would
restricted to one app domain (one web site).
-- bruce (sqlwork.com)

John Bailey wrote:
I am currently evaluating a CMS product. I like the product so far, but one
of the restrictions on the product is that it requires that the Windows 2003
application pool be restricted to one worker process. They say this is being
done to improve caching. (???)

My understanding that the way ASP .Net scales is to create one worker
process per CPU. If the number of worker processes is restricted to one,
doesn't that mean that I am not taking advantage of the other cpus on the box?

The only reason I'm familiar with to limit the number of worker processes is
to allow inproc session state. I'm not sure what benefits caching could get
from this. Any ideas on this so I might better understand what is going on
would be appreciated.
Sep 14 '07 #3
Isn't restricting it to one worker process the same as turning web garden
support off?

"bruce barker" wrote:
an worker process uses threads, and these threads will run on more than
1 proc. your cms product must use an in-memory cache, that restricts it
to one worker process. it must be unmanaged memory, or it would
restricted to one app domain (one web site).
-- bruce (sqlwork.com)

John Bailey wrote:
I am currently evaluating a CMS product. I like the product so far, but one
of the restrictions on the product is that it requires that the Windows 2003
application pool be restricted to one worker process. They say this is being
done to improve caching. (???)

My understanding that the way ASP .Net scales is to create one worker
process per CPU. If the number of worker processes is restricted to one,
doesn't that mean that I am not taking advantage of the other cpus on the box?

The only reason I'm familiar with to limit the number of worker processes is
to allow inproc session state. I'm not sure what benefits caching could get
from this. Any ideas on this so I might better understand what is going on
would be appreciated.
Sep 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4904
by: Mark | last post by:
Hi... We're looking at moving an ASP app from IIS 5 to IIS 6. In general things seem to be working okay, but there are some oddities around the edges. One of those unanticipated changes has to do with the new process model and the option to have more than one worker process per web instance. We found that each worker process has its own Application() state and anything your app puts there/uses gets a new copy for every worker...
0
1120
by: beachnut | last post by:
Hi, all. I am getting the following entry in the Event Log once or twice a day: "A worker process with process id of '2496' serving application pool 'DefaultAppPool' has requested a recycle because the worker process reached its allowed processing time limit."
2
4590
by: Carl Gilbert | last post by:
Hi I am trying to get an online gallery (www.ngallery.org - open source) to upload image to a folder. At the moment I am using localhost but plan to move to some web space when I get it all working. I need to update my 'images' folder permissions so the ASP.NET worker process has write permissions. However, when I go to the folder permissions, there is not worker process
3
2544
by: Marcel van den Hof | last post by:
Dear all, Is there any way to prevent the ASP.NET worker process from recycling the worker process when a thread is being executed on the foreground (IsBackground=false). I'd also like to know if there a way for a foreground thread to detect if the worker process is being recycled? It seems that when a worker process recycles (under IIS 5.0) a thread
1
1138
by: pradeep_TP | last post by:
Hi all, I would like to know more about asp.net worker process with resepct to the following points. 1) HOw many worker process can the server run at a time 2) How does worker process restart or recycles and under what condition If anybody knows any web URL containing any details about asp.net worker process, i would be too glad.
7
2133
by: Jeff Stewart | last post by:
I need a thread to run a subroutine which updates my main form's progress bar. I've properly marshaled all UI updates to the main UI thread, and after the main thread starts the worker thread, it waits for the worker thread to complete by means of a while t.isAlive, sleep(0) mechanism. But when my worker thread calls my UpdateProgressBar routine, which calls Me.Invoke, the invoke call blocks forever. But I can't figure out why the main...
1
3117
by: Diffident | last post by:
Hello All, I have been caching an object in a web app and I am running the web app on my localhost i.e., local machine which has its own IIS web server. Now my question is if I access web application from my localhost where would that cached object live? Is it in web server's memory OR inside the worker process? I am assuming that the cache objects are stored in web server's memory. But interestingly everytime I close my browser (only...
3
5161
by: Brad | last post by:
In a Vista/IIS7 asp.net app, a coded crystal report export is crashing IIS7....but it works just fine in visual studio's cassini web server. And if I create a web form and use the crystal reports web viewer, view the report and then export from the viewer it also works fine (IIS7 and cassini). And I should note this all works fine in IIS6 on win2003 or in xp. So my thought with all this is that something is going on with IIS7, so...
2
1828
by: Bhuwan Bhaskar | last post by:
Hi, Can anyone explain me about what is a worker process in ASP.net. Thanks and Regards, Bhuwan
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10378
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10121
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7664
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3862
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.