<p dir="ltr"><br>
On Nov 29, 2013 9:52 PM, "Cecil Westerhof" <<a href="mailto:Cecil.Westerhof@snow.nl">Cecil.Westerhof@snow.nl</a>> wrote:<br>
><br>
> On 11/29/2013 08:59 AM, David Timothy Strauss wrote:<br>
>><br>
>> On Fri, Nov 29, 2013 at 12:53 PM, Lennart Poettering<br>
>> <<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>> wrote:<br>
>>><br>
>>> On Fri, 29.11.13 00:11, Cecil Westerhof (Cecil.Westerhof@Snow.nl) wrote:<br>
>>>><br>
>>>> I have done a trial presentation about systemd. One of the questions<br>
>>>> there was: when a restart of for example apache is doen, is this<br>
>>>> restart done graceful?<br>
>>><br>
>>> For systemd a "restart" is actually exactly what the name says: a stop<br>
>>> plus a start. "reload" otoh is up to the implementer of the unit file,<br>
>>> whatever he chooses.<br>
>><br>
>><br>
>> Just to clarify, "stop" (and, by extension "restart") is also up to<br>
>> the implementer of the unit file. There just happens to be a default,<br>
>> unlike with "reload." See the service and exec man pages for details.<br>
>> Regardless, "restart" and "stop" usually both involve a full shutdown<br>
>> of every process running the daemon. I think it's possible to override<br>
>> this behavior with certain options, but you shouldn't.<br>
><br>
><br>
> There is of-course an important difference. As I understood it, Apache is notorious for processes that escape. (That is one of the reasons that cgroups usage of systemd is such an improvement.) In the old situation nothing happened to those processes. (With potential nasty results.) What happens to those processes under systemd?<br>

><br>
><br>
><br>
>> If you want to explore much deeper, you may also be interested in<br>
>> socket activation, which allows a server socket to remain open even<br>
>> while a daemon is fully shut down (whether because it hasn't started<br>
>> yet, is restarting, or has been stopped). It takes graceful<br>
>> restarts/reloads up to the systemd level.<br>
><br>
><br>
> I certainly would. I thinks it is a very important part of systemd. And it is also clearly mentioned in my presentation. But I have a ‘few’ restrictions:<br>
> - I have to give the presentation on December 5<br>
> - I am quite new to systemd and only scanned the surface I am afraid<br>
> - There are a lot of other things I need to know more about<br>
> - I am not an administrator, but a developer, so most is Terra Incognita to me<br>
><br>
> How much time would I need to understand these levels?</p>
<p dir="ltr">If you're willing to use nginx instead, it's fairly straightforward. I'd have to research the options for Apache.</p>