Graceful shutdown is important especially in a production environment,I would
say in any environment because
each request is thread and within that thread there are further threads
performing tasks.especially if there is an application server involved.
It is better to use the provided socket signal connection way of shutting down
so that the shutdown routine can come into action and all concurrent
in-memoryperforming tasks come to completion.
I would hope there is a shutdown routine which will allow the tasks to cometo
completion i.e. shopping transactions , complete database commits etc.
With that in mind I should not compromise and go for blunt shutdown.my 2 cents.
emma davis
[email protected]
-----Original Message-----
From: Bender, Charles <[email protected]>
To: [email protected] <[email protected]>
Sent: Thu, 6 May 2021 23:16
Subject: RE: [users@httpd] Re: Graceful shutoff of Apache without it being a
service.
#yiv7991941155 #yiv7991941155 -- _filtered {} _filtered {} _filtered
{}#yiv7991941155 #yiv7991941155 p.yiv7991941155MsoNormal, #yiv7991941155
li.yiv7991941155MsoNormal, #yiv7991941155 div.yiv7991941155MsoNormal
{margin:0in;font-size:11.0pt;font-family:sans-serif;}#yiv7991941155 a:link,
#yiv7991941155 span.yiv7991941155MsoHyperlink
{color:blue;text-decoration:underline;}#yiv7991941155
span.yiv7991941155EmailStyle18
{font-family:sans-serif;color:windowtext;}#yiv7991941155
.yiv7991941155MsoChpDefault {font-size:10.0pt;font-family:sans-serif;}
_filtered {}#yiv7991941155 div.yiv7991941155WordSection1 {}#yiv7991941155
httpd.exe -k graceful will reload config without stopping Apache or dropping
connections From: Talin Sharma <[email protected]>
Sent: Thursday, May 06, 2021 6:10 PM
To: [email protected]
Subject: Re: [users@httpd] Re: Graceful shutoff of Apache without it being a
service. These commands only work if apache is running as a service. I don't
want this because apache would be running on my personal computer and I won't
always be using it. Is this possible? What I want to do is make a c# script
that turns apache on and off. I was able to turn it on but I cannot figure out
how to turn it off. Thanks! On Thu, May 6, 2021 at 5:22 PM 😉 Good Guy 😉
<[email protected]> wrote:
On 06/05/2021 19:50, Talin Sharma wrote:
> Look at the subject. How do I do this?
>
> I am on windows 10.
>
> Thanks!
httpd -k stop
or
httpd -k shutdown
If you need general help about httpd then just type:
httpd -h
This will give you all the essential commands to control apache.
Good luck.
--
With over 1.3 billion devices now running Windows 10, customer
satisfaction is higher than any previous version of windows.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]