Roman Naumenko wrote:
> Rob Crittenden wrote on 11-11-14 9:11:
>> Alexander Bokovoy wrote:
>>> On Tue, 11 Nov 2014, Roman Naumenko wrote:
>>>> Alexander Bokovoy wrote on 11-11-14 6:52:
>>>>> On Tue, 11 Nov 2014, Roman Naumenko wrote:
>>>>>> I'd like to adjust process settings on freeipa server to fit it
>>>>>> better into virtual instance.
>>>>>> Is it possible to change settings of java, ns-slapd and apache
>>>>>> processes somewhere in config files and what those files are?
>>>>> -----------------------
>>>>> # For example, to pass additional options (for instance, -D
>>>>> definitions) to the
>>>>> # httpd binary at startup, you need to create a file named
>>>>> # "/etc/systemd/system/httpd.service" containing:
>>>>> #    .include /lib/systemd/system/httpd.service
>>>>> #    [Service]
>>>>> #    Environment=OPTIONS=-DMY_DEFINE
>>>> Isn't it for startup options only?
>>> You've asked about settings for the processes, that's how it is done in
>>> systemd environment. Check systemd.resource-control(5) and
>>> systemd.exec(5) for details of what can be changed.
>>>> I need to set some of these, they are usually in httpd.conf
>>>> <IfModule prefork.c>
>>>>   StartServers       12
>>>>   MinSpareServers    12
>>>>   MaxSpareServers    12
>>>>   MaxClients         12
>>>>   MaxRequestsPerChild  300
>>>> </IfModule>
>>> This is Apache-specific config and as such should go into
>>> /etc/httpd/conf.d/, any file with .conf suffix there is automatically
>>> included by httpd during startup thanks to the following in
>>> /etc/httpd/conf/httpd.conf:
>>> # Load config files in the "/etc/httpd/conf.d" directory, if any.
>>> IncludeOptional conf.d/*.conf
>> It depends on the version of your distro.
>> In recent Fedora a lot of configuration has been split out into separate
>> files. This particular configuration can be found in
>> /etc/httpd/conf.d/prefork.conf.
>> For older releases, on RHEL-6 for example, it is still defined in
>> /etc/httpd/conf/httpd.conf.
>> As for 389-ds, there is no magic-bullet tuning. It is very
>> environment-specific and heavily based on the size of your data. This
>> should help,
>> rob
> Thank Rob, but I still can't find anything even close.
> Btw, any chance developers replace this outdated apache garbage with
> normal nginx configuration?
> This is ridiculous that simplest config options are so buried its
> literally impossible to find.
> There is no prefork.conf on Centros 7.
> cat /etc/redhat-release
> CentOS Linux release 7.0.1406 (Core)
> So anybody even changed apache settings for IPA server?

You weren't exactly clear on what distribution you were on before now.

It would appear that RHEL 7 (and clones, presumably) rely on the Apache
defaults for this. You can always override with your own configuration
file as necessary.

You'd have to bring this up with the Apache package maintainers and/or
upstream as to why default values were removed from the config.


Manage your subscription for the Freeipa-users mailing list:
Go To for more info on the project

Reply via email to