You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Rose, John B" <jb...@utk.edu> on 2015/01/21 21:20:09 UTC
[users@httpd] mod_systemd and Apache 2.4
Looking around I see this in the default Apache 2.4.6 setup on Red Hat 7 ..
/etc/httpd/conf.modules.d/00-systemd.conf
I also see the LoadModule is uncommented ...
LoadModule systemd_module modules/mod_systemd.so
When I go here ...
http://httpd.apache.org/docs/trunk/mod/mod_systemd.html
The breadcrumb indicates that is in the version 2.5 documentation
My question is, is that module doing anything in 2.4?
If not, then commenting out the LoadModule seems like a good thing to do to reduce the RAM usage. Correct?
Why is it uncommented by default?
Thanks
Re: [users@httpd] mod_systemd and Apache 2.4
Posted by Mark Montague <ma...@catseye.org>.
On 2015-01-21 15:20, Rose, John B wrote:
> Looking around I see this in the default Apache 2.4.6 setup on Red Hat
> 7 ..
>
> /etc/httpd/conf.modules.d/00-systemd.conf
>
> I also see the LoadModule is uncommented …
>
> LoadModule systemd_module modules/mod_systemd.so [...]
>
> My question is, is that module doing anything in 2.4?
Yes. Red Hat backports functionality all the time. In this case, see
the files
httpd-2.4.10-mod_systemd.patch
httpd-2.4.10-detect-systemd.patch
at http://pkgs.fedoraproject.org/cgit/httpd.git/tree/ Although these
are for Fedora, not RHEL7, the two are very similar. If you want
something specific to RHEL7, download and look at the SRPM for httpd
provided by Red Hat.
> If not, then commenting out the LoadModule seems like a good thing to
> do to reduce the RAM usage. Correct?
>
> Why is it uncommented by default?
It is uncommented by default because is is used by default on RHEL7 systems.
My opinion is that commenting it out would be a bad thing to do:
- You would probably have to change your systemd unit files under RHEL7
to start up httpd differently.
- You would make your system non-standard (for a RHEL7 system), making
things harder for people who are familiar with RHEL7 who administer it
later.
- mod_systemd is not likely using any significant amount of RAM.
--
Mark Montague
mark@catseye.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] mod_systemd and Apache 2.4
Posted by Eric Covener <co...@gmail.com>.
On Wed, Jan 21, 2015 at 3:20 PM, Rose, John B <jb...@utk.edu> wrote:
> If not, then commenting out the LoadModule seems like a good thing to do to
> reduce the RAM usage. Correct?
>
> Why is it uncommented by default?
Sounds like a choice of Redhats. The memory hit is probably trivial though.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org