Questions tagged [web-garden]

Web gardens is a feature of IIS 6.0 that allows an application pool to be supported by multiple worker processes.

Web gardens is a feature of IIS 6.0 that allows an application pool to be supported by multiple worker processes. The worker processes in a Web garden share the requests that arrive for that particular application pool. If a worker process fails, another worker process can continue to process requests.

Configuring Web Gardens with IIS 6.0

65 questions
2
votes
1 answer

MaxWorkerThreads vs App Pool Worker Processes: What's the difference?

As far as I know one can improve ASP.NET applications performance published on IIS through different methods: Web Garden: using more than 1 worker process for App Pool. Web farm: having more than one machine serving an instance of the same…
Willy
  • 9,848
  • 22
  • 141
  • 284
2
votes
1 answer

How to route to a specific Web Worker Process within IIS (Web Garden) using ASP.NET?

Our web application depends on a closed source proprietary DLL/Library that seems to set static variables that seem to persist and mess with state across different requests. This fine for a single-user's batch of requests, but if another user…
Eternal Rubyist
  • 3,445
  • 4
  • 34
  • 51
2
votes
1 answer

vb.net static variables on a web garden

Do vb.net static variables work on an IIS web garden?
daustin
  • 603
  • 1
  • 6
  • 16
2
votes
1 answer

Can we use Web Farm and Web Garden together?

Web farm is used for multiple request and multiple user using switching among them. Web Garden creates worker processes for every processor individually for one user. Is it possible to use worker process as a switch and convert it into Web Farm that…
user284291
2
votes
1 answer

DotNetOpenAuth RelayParty not working on load balanced cluster

We're trying to move an ASP.NET MVC application, which uses DotNetOpenAuth OpenID Version 3.4.1, from a single server web garden to a physical server cluster held behind a hardware load balancer. Our old setup (OpenID RP working): Browser => SHTTP…
2
votes
1 answer

Preventing multiple threads from running same background process

I have an asp.net website with a background service running that sends queued emails every minute. The problem is we moved to a web garden (multiple worker processes) and the emails get sent multiple times (at the very same time or close to it)…
chobo
  • 31,561
  • 38
  • 123
  • 191
2
votes
1 answer

In Web Garden Mode, how process Id is maintained for all major browsers except opera?

I was testing sessions behavior in Web Garden mode. Why do all major browsers use only one process (on server) except Opera? and how is it done? Here is very simple web application: Code-behind: protected void Page_Load(object sender, EventArgs…
Vano Maisuradze
  • 5,829
  • 6
  • 45
  • 73
2
votes
0 answers

Comet server on a web-garden

I am using an IHttpAsyncHandler to serve a comet / long-polling request. The handler holds the connection open and saves the MyAsyncResult object in a static ConcurrentSet. When a separate request is made (the request that causes the…
Connell
  • 13,925
  • 11
  • 59
  • 92
2
votes
0 answers

IIS7.5 Application Initialisation and Web-gardens

While using IIS7.5 and the Application Initialisation module it's possible to have your web application always be running and also have a custom method notified to warm up your cache etc. Is it possible for this feature to work in web-garden mode? …
7sharp9
  • 2,147
  • 16
  • 27
1
vote
0 answers

MongoDB C# Socket Exceptions in IIS 7.0 Web Garden (Ex: Only one usage of each socket address (protocol/network address/port) is normally permitted)

I have an ASP MVC app using the 10gen Mongo C# driver (github) to connect to a database server on a specific port. I have this deployed in an IIS 7.0 web garden with 3 worker processes. Every few minutes, under load, the following exception is…
Floppy
  • 35
  • 5
1
vote
0 answers

Hosting WCF in WAS(Web Garden) -> control WorkerProcess lifetime

I'm trying to host my WCF service in WAS but have been struggling for a few hours already to accomplish the following scenario: There is a single client and many WCF 'servers'. Based on the address of the endpoint, the client requests(or some other…
Ventsyslav Raikov
  • 6,882
  • 1
  • 25
  • 28
1
vote
0 answers

Refreshing static instances across multiple worker process

We recently experimented with running IIS (7.5) in web garden mode (i.e. 2 (or more) worker processes. We use out of process state (state server) and are looking at App Fabric for out of process cache management, so no issues there. We currently use…
Matt Evans
  • 7,113
  • 7
  • 32
  • 64
1
vote
1 answer

iis web garden round robin does not work

I have set the maximum worker processes to 2, but see in the logs that most of the request go to same machine. here is an example of a set of concurrent requests with the corresponding process id: Even I don't know all the answers. - 95776 Even I…
realPro
  • 1,713
  • 3
  • 22
  • 34
1
vote
0 answers

MongoDB Concurrent writing/fetching from multiple processes causes bulk write operation error

I'm currently implementing a MongoDB database for caching. I've made a very generic client, with the save method working like this: public virtual void SaveAndOverwriteExistingCollection(string collectionKey, T[] data) { if (data == null ||…
1
vote
2 answers

IIS6 Available Memory for 32-Bit Application with Web Garden on x64 OS (32Gb Ram)

We have IIS6 running on a 64-bit Windows 2003 server with 32Gb physical RAM. Due to some older 32-bit dependencies within our .NET 3.5 ASP.NET application, we are currently forced to run our IIS worker process in 32-Bit wow64 mode which I understand…
nick_alot
  • 2,982
  • 5
  • 30
  • 32