You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jay Townsend <to...@hotmail.com> on 2022/08/24 09:17:43 UTC

[users@httpd] Restart over reload

Hi All,

Does anyone know what type of changes will require a restart of apache over being able to do just a reload instead? As not able to find that anywhere in the docs to tell me. This is so we can make the correct approach in Ansible. 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Restart over reload

Posted by Eric Covener <co...@gmail.com>.
On Wed, Aug 24, 2022 at 7:35 PM Frank Gingras <th...@apache.org> wrote:
>
> Curtis,
>
> Eric's answer was much more on point.
>
> Further, "enabling" a module is just confusing for new users. Modules are either loaded, or not loaded. If you load a module previously not loaded, then you restart httpd.

Even this is not needed. Every loaded module is unloaded during a
reload (graceful restart), and any new or old LoadModule is processed
again.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Re: Restart over reload

Posted by Frank Gingras <th...@apache.org>.
Curtis,

Eric's answer was much more on point.

Further, "enabling" a module is just confusing for new users. Modules are
either loaded, or not loaded. If you load a module previously not loaded,
then you restart httpd. If you change most configuration, then a graceful
restart is fine, save for changes to ServerLimit or ThreadLimit for the mpm.

On Wed, 24 Aug 2022 at 19:32, Curtis Maurand <cu...@maurand.com> wrote:

>
>
> > On Aug 24, 2022, at 6:27 PM, ๐Ÿ˜‰ Good Guy ๐Ÿ˜‰ <xf...@hotmail.com> wrote:
> >
> > ๏ปฟOn 24/08/2022 10:17, Jay Townsend wrote:
> >> Hi All,
> >>
> >> Does anyone know what type of changes will require a restart of apache
> over being able to do just a reload instead? As not able to find that
> anywhere in the docs to tell me. This is so we can make the correct
> approach in Ansible.
> > I just found this thread on the web:
> >
> > <
> https://stackoverflow.com/questions/31567165/what-is-the-difference-between-apache2-reload-restart-graceful
> >
> >
> >
> >
> > --
> >
> > With over 2.3 billion devices now running Windows 10/11, customer
> satisfaction is higher than any previous version of windows.
> >
> I think if you enable or disable a module, you restart. If you enable or
> disable a configuration, you reload.
> >
> โ€”Curtis
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] Re: Restart over reload

Posted by Curtis Maurand <cu...@maurand.com>.

> On Aug 24, 2022, at 6:27 PM, ๐Ÿ˜‰ Good Guy ๐Ÿ˜‰ <xf...@hotmail.com> wrote:
> 
> ๏ปฟOn 24/08/2022 10:17, Jay Townsend wrote:
>> Hi All,
>> 
>> Does anyone know what type of changes will require a restart of apache over being able to do just a reload instead? As not able to find that anywhere in the docs to tell me. This is so we can make the correct approach in Ansible.
> I just found this thread on the web:
> 
> <https://stackoverflow.com/questions/31567165/what-is-the-difference-between-apache2-reload-restart-graceful>
> 
> 
> 
> -- 
> 
> With over 2.3 billion devices now running Windows 10/11, customer satisfaction is higher than any previous version of windows.
> 
I think if you enable or disable a module, you restart. If you enable or disable a configuration, you reload. 
> 
โ€”Curtis 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Restart over reload

Posted by ๐Ÿ˜‰ Good Guy ๐Ÿ˜‰ <xf...@hotmail.com>.
On 24/08/2022 10:17, Jay Townsend wrote:
> Hi All,
>
> Does anyone know what type of changes will require a restart of apache over being able to do just a reload instead? As not able to find that anywhere in the docs to tell me. This is so we can make the correct approach in Ansible.
I just found this thread on the web:

<https://stackoverflow.com/questions/31567165/what-is-the-difference-between-apache2-reload-restart-graceful>



-- 

With over 2.3 billion devices now running Windows 10/11, customer 
satisfaction is higher than any previous version of windows.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: Restart over reload

Posted by ๐Ÿ˜‰ Good Guy ๐Ÿ˜‰ <xf...@hotmail.com>.
On 24/08/2022 11:19, Jay Townsend wrote:
> What about slight tweaks to a vhost would that need a restart over a reload?
I think if the site is already enabled, then there is no need to do 
any-thing. Just make the changes necessary to your .conf file and test 
it out.



-- 

With over 2.3 billion devices now running Windows 10/11, customer 
satisfaction is higher than any previous version of windows.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Restart over reload

Posted by Jay Townsend <to...@hotmail.com>.
What about slight tweaks to a vhost would that need a restart over a reload? Would be good if we could get a definitive list/ documentation update for this as from what I can tell there does seem to be this question all over the net. 

> On 24 Aug 2022, at 11:15, Gillis J. de Nijs <gi...@jink.net.invalid> wrote:
> 
> ๏ปฟ
> I'm not aware of a list either, but my gut says something like: adding or removing modules, changing port numbers or ip addresses and the like, require a restart.  "Regular" configuration changes, like you would do in a .htaccess, or adding/removing a VirtualHost can do with a reload.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: [users@httpd] Restart over reload

Posted by "Gillis J. de Nijs" <gi...@jink.net.INVALID>.
I'm not aware of a list either, but my gut says something like: adding or
removing modules, changing port numbers or ip addresses and the like,
require a restart.  "Regular" configuration changes, like you would do in a
.htaccess, or adding/removing a VirtualHost can do with a reload.

Re: [users@httpd] Restart over reload

Posted by Eric Covener <co...@gmail.com>.
On Wed, Aug 24, 2022 at 5:18 AM Jay Townsend <to...@hotmail.com> wrote:
>
> Hi All,
>
> Does anyone know what type of changes will require a restart of apache over being able to do just a reload instead? As not able to find that anywhere in the docs to tell me. This is so we can make the correct approach in Ansible.

Not much more than:
- ServerLimit or ThreadLimit
- changes to the native environment variables or ulimits

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org