Forcing fast stop of IIS 7.5 or app pool The 2019 Stack Overflow Developer Survey Results Are InIntermittently, IIS7 requests get stuck in WindowsAuthenticationModuleiis 7 app pool user privilegeHow much memory does an IIS 7 app pool consume?How do you start/stop IIS 7 app pool from cmd line if there are spaces in the app pool name?Recycle remote IIS app pool from the command line?procdump on w3wp.exe: Only part of a ReadProcessMemory or WriteProcessMemory request was completedIIS 7.5 application pool CPU configurationWhat can stop IIS7 from restarting an ASP.NET app when uppdating a dll in the bin folder?IIS 7.5 extremely slow, intermittently no responseWhy does scripting with appcmd behave differently than using IIS GUI?
Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?
How can I define good in a religion that claims no moral authority?
"as much details as you can remember"
Why are there uneven bright areas in this photo of black hole?
How to notate time signature switching consistently every measure
Can we generate random numbers using irrational numbers like π and e?
What information about me do stores get via my credit card?
Can withdrawing asylum be illegal?
Relationship between Gromov-Witten and Taubes' Gromov invariant
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
What do these terms in Caesar's Gallic wars mean?
What is the most efficient way to store a numeric range?
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
What's the name of these plastic connectors
Output the Arecibo Message
Geography at the pixel level
How to type a long/em dash `—`
How to translate "being like"?
Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?
A word that means fill it to the required quantity
Is Cinnamon a desktop environment or a window manager? (Or both?)
How to display lines in a file like ls displays files in a directory?
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Straighten subgroup lattice
Forcing fast stop of IIS 7.5 or app pool
The 2019 Stack Overflow Developer Survey Results Are InIntermittently, IIS7 requests get stuck in WindowsAuthenticationModuleiis 7 app pool user privilegeHow much memory does an IIS 7 app pool consume?How do you start/stop IIS 7 app pool from cmd line if there are spaces in the app pool name?Recycle remote IIS app pool from the command line?procdump on w3wp.exe: Only part of a ReadProcessMemory or WriteProcessMemory request was completedIIS 7.5 application pool CPU configurationWhat can stop IIS7 from restarting an ASP.NET app when uppdating a dll in the bin folder?IIS 7.5 extremely slow, intermittently no responseWhy does scripting with appcmd behave differently than using IIS GUI?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
We have a busy webserver handling around 1000 asp.net requests/second.
We have a deploy script which copies compiled asp.net from our development box.
The script first stops IIS on the production server, copies the code, then restarts.
We use the following command to stop the app pool for the site:
%windir%system32inetsrvappcmd stop apppool /apppool.name:ourappname
The problem is that this stops accepting new requests but waits for existing requests to complete. There are usually a handful of requests that take up to a minute to finish, during which time no new requests are served. So for the sake of fulfilling a dozen or so requests, we miss out on serving the 1000 * 60 = 60,000 requests that have come in during the minute or so while we're waiting for 12-20 to complete. This is dumb.
What we would LOVE to do is force an app pool stop within x seconds. This doesn't seem to be possible. Is there a better way to accomplish what we're doing i.e. fast stop of iis 7?
iis-7
add a comment |
We have a busy webserver handling around 1000 asp.net requests/second.
We have a deploy script which copies compiled asp.net from our development box.
The script first stops IIS on the production server, copies the code, then restarts.
We use the following command to stop the app pool for the site:
%windir%system32inetsrvappcmd stop apppool /apppool.name:ourappname
The problem is that this stops accepting new requests but waits for existing requests to complete. There are usually a handful of requests that take up to a minute to finish, during which time no new requests are served. So for the sake of fulfilling a dozen or so requests, we miss out on serving the 1000 * 60 = 60,000 requests that have come in during the minute or so while we're waiting for 12-20 to complete. This is dumb.
What we would LOVE to do is force an app pool stop within x seconds. This doesn't seem to be possible. Is there a better way to accomplish what we're doing i.e. fast stop of iis 7?
iis-7
add a comment |
We have a busy webserver handling around 1000 asp.net requests/second.
We have a deploy script which copies compiled asp.net from our development box.
The script first stops IIS on the production server, copies the code, then restarts.
We use the following command to stop the app pool for the site:
%windir%system32inetsrvappcmd stop apppool /apppool.name:ourappname
The problem is that this stops accepting new requests but waits for existing requests to complete. There are usually a handful of requests that take up to a minute to finish, during which time no new requests are served. So for the sake of fulfilling a dozen or so requests, we miss out on serving the 1000 * 60 = 60,000 requests that have come in during the minute or so while we're waiting for 12-20 to complete. This is dumb.
What we would LOVE to do is force an app pool stop within x seconds. This doesn't seem to be possible. Is there a better way to accomplish what we're doing i.e. fast stop of iis 7?
iis-7
We have a busy webserver handling around 1000 asp.net requests/second.
We have a deploy script which copies compiled asp.net from our development box.
The script first stops IIS on the production server, copies the code, then restarts.
We use the following command to stop the app pool for the site:
%windir%system32inetsrvappcmd stop apppool /apppool.name:ourappname
The problem is that this stops accepting new requests but waits for existing requests to complete. There are usually a handful of requests that take up to a minute to finish, during which time no new requests are served. So for the sake of fulfilling a dozen or so requests, we miss out on serving the 1000 * 60 = 60,000 requests that have come in during the minute or so while we're waiting for 12-20 to complete. This is dumb.
What we would LOVE to do is force an app pool stop within x seconds. This doesn't seem to be possible. Is there a better way to accomplish what we're doing i.e. fast stop of iis 7?
iis-7
iis-7
edited Sep 28 '15 at 2:50
Michael Hampton♦
174k27320647
174k27320647
asked Oct 1 '13 at 10:30
WantFasterStopWantFasterStop
62
62
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.
If you do need to bring it down then you can do that at the IIS level (the w3wp service).
net stop w3wp
#Deploy
net start w3wp
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f542912%2fforcing-fast-stop-of-iis-7-5-or-app-pool%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.
If you do need to bring it down then you can do that at the IIS level (the w3wp service).
net stop w3wp
#Deploy
net start w3wp
add a comment |
Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.
If you do need to bring it down then you can do that at the IIS level (the w3wp service).
net stop w3wp
#Deploy
net start w3wp
add a comment |
Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.
If you do need to bring it down then you can do that at the IIS level (the w3wp service).
net stop w3wp
#Deploy
net start w3wp
Why do you need to stop and restart the app pool? Updating files in the bin directory will cause the app pool to restart at the relevant points. Once you've completed the deploy saving a change to the web.config file would cause a restart of the app pool if you've not updated anything in bin.
If you do need to bring it down then you can do that at the IIS level (the w3wp service).
net stop w3wp
#Deploy
net start w3wp
answered Oct 11 '13 at 2:38
Matthew SteeplesMatthew Steeples
1,2451917
1,2451917
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f542912%2fforcing-fast-stop-of-iis-7-5-or-app-pool%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown