<div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 1 Sept 2021 at 00:46, Dino Ciuffetti <<a href="mailto:dino@tuxweb.it">dino@tuxweb.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Reading the source code:<br>
<br>
>From mod_slotmem_shm:<br>
...<br>
401 apr_shm_remove(fname, pool);<br>
402 rv = apr_shm_create(&shm, size, fname, gpool);<br>
...<br>
408 ap_log_error(APLOG_MARK, rv == APR_SUCCESS ? APLOG_DEBUG : APLOG_ERR,<br>
409 rv, ap_server_conf, APLOGNO(02611)<br>
410 "create: apr_shm_%s(%s) %s",<br>
411 fbased && is_child_process() ? "attach" : "create",<br>
412 fname, rv == APR_SUCCESS ? "succeeded" : "failed");<br>
<br>
<br>
Autoconf defines APR_USE_SHMEM_SHMGET for SHM namebased memory allocation<br>
...<br>
decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON<br>
decision on namebased memory allocation method... SysV IPC shmget()<br>
<br>
<br>
in APR, shm.c, apr_shm_create():<br>
380 if ((new_m->shmid = shmget(new_m->shmkey, new_m->realsize,<br>
381 SHM_R | SHM_W | IPC_CREAT | IPC_EXCL)) < 0) {<br>
382 apr_file_close(file);<br>
383 return errno;<br>
384 }<br>
<br>
<br>
>From shmget() manual page, possible errors in errno:<br>
ENOSPC: All possible shared memory IDs have been taken (SHMMNI), or allocating a segment of the requested size would cause the system to exceed the system-wide limit on shared memory (SHMALL).<br>
<br>
So your "No space left on device" is not on your filesystem but on your shared memory sysv.<br>
<br>
Since SHMALL on a 64bit linux system is very big (please try this: cat /proc/sys/kernel/shmall), I would bet on a low SHMMNI value on your system (pls: cat /proc/sys/kernel/shmmni)<br>
<br>
SHMMNI is the global maximum number of shared memory segments on your system.<br>
Default on Ubuntu should be 4096. Please try to increase the value (echo 8192 > /proc/sys/kernel/shmmni) or more.<br>
<br>
<br>
HTH.<br>
Ciao, Dino.<br>
<br>
<br>
<br>
27 agosto 2021 11:43, "Spil Oss" <<a href="mailto:spil.oss@gmail.com" target="_blank">spil.oss@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
> <br>
> I've been experiencing a failed apache2 service on Ubuntu 21.04 when<br>
> performing a reload using the `systemctl reload apache2` command. The<br>
> command does not always fail, but seems to be failing more often as<br>
> the number of vhosts increases (currently ca 120). My<br>
> <br>
> The `systemctl reload apache2` command exits without error, but the<br>
> service ends up in a failed state. Running `systemctl start apache2`<br>
> after this failure starts the service without issues.<br>
> I had taken to do running `systemctl reload apache2; systemctl status<br>
> apache2` to validate that I have a running service, but this would<br>
> report "success" even when the service is "failed".<br>
> <br>
> Expecting some timing issue, I increased the "RestartSec" systemd<br>
> parameter to 500ms using<br>
> `/etc/systemd/system/apache2.service.d/override.conf`<br>
> [Service]<br>
> RestartSec=500ms<br>
> <br>
> This has not fixed the issue either.<br>
> <br>
> Testing the reload using `apachectl -k graceful` can also trigger the<br>
> "failed" state of the process.<br>
> <br>
> The consistent error is with the persistence of shared memory<br>
> segments. The indicated error is incorrect, there's plenty of space on<br>
> the filesystem. The configuration has been kept as close as possible<br>
> to the default Ubuntu config.<br>
> <br>
> My gut feeling is some weird interaction between graceful and systemd<br>
> as seen in the logs. The RestartSec change not solving the problem<br>
> kind of goes against that.<br>
> <br>
> Any help appreciated! Thanks, Bernard Spil.<br>
> <br>
> $ df -h /var/run/apache2/<br>
> Filesystem Size Used Avail Use% Mounted on<br>
> tmpfs 1.6G 6.6M 1.6G 1% /run<br>
> <br>
> $ ls mods-enabled/*.load | sed 's/mods-enabled\///;s/\.load//'<br>
> access_compat<br>
> alias<br>
> auth_mellon<br>
> authn_core<br>
> authn_file<br>
> authz_core<br>
> authz_host<br>
> authz_user<br>
> brotli<br>
> deflate<br>
> dir<br>
> env<br>
> filter<br>
> headers<br>
> http2<br>
> lbmethod_byrequests<br>
> mime<br>
> mpm_event<br>
> negotiation<br>
> proxy<br>
> proxy_balancer<br>
> proxy_http<br>
> proxy_http2<br>
> proxy_wstunnel<br>
> remoteip<br>
> reqtimeout<br>
> rewrite<br>
> setenvif<br>
> slotmem_shm<br>
> socache_shmcb<br>
> ssl<br>
> status<br>
> <br>
> /var/log/apache2/error.log:<br>
> [Fri Aug 27 00:00:18.881934 2021] [mpm_event:notice] [pid 138928:tid<br>
> 140168396681856] AH00493: SIGUSR1 received. Doing graceful restart<br>
> [Fri Aug 27 00:00:19.155640 2021] [slotmem_shm:error] [pid 138928:tid<br>
> 140168396681856] (28)No space left on device: AH02611: create:<br>
> apr_shm_create(/var/run/apache2/slotmem-shm-pd38fd8d0_acc_example_org_6.shm)<br>
> failed<br>
> [Fri Aug 27 00:00:19.155679 2021] [:emerg] [pid 138928:tid<br>
> 140168396681856] AH00020: Configuration Failed, exiting<br>
> [Fri Aug 27 00:05:01.645184 2021] [core:warn] [pid 166984:tid<br>
> 140602886914688] AH00098: pid file /var/run/apache2/apache2.pid<br>
> overwritten -- Unclean shutdown of previous Apache run?<br>
> [Fri Aug 27 00:05:01.656692 2021] [mpm_event:notice] [pid 166984:tid<br>
> 140602886914688] AH00489: Apache/2.4.46 (Ubuntu) OpenSSL/1.1.1j<br>
> configured -- resuming normal operations<br>
> [Fri Aug 27 00:05:01.656748 2021] [core:notice] [pid 166984:tid<br>
> 140602886914688] AH00094: Command line: '/usr/sbin/apache2'<br>
> <br>
> journalctl:<br>
> Aug 27 02:00:13 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: Starting Rotate log files...<br>
> Aug 27 02:00:18 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: Reloading The Apache HTTP Server.<br>
> Aug 27 02:00:18 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: Reloaded The Apache HTTP Server.<br>
> Aug 27 02:00:18 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: logrotate.service: Succeeded.<br>
> Aug 27 02:00:18 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: Finished Rotate log files.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Main<br>
> process exited, code=exited, status=1/FAILURE<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164444 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 166489 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164446 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164448 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164450 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164452 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164454 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164456 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164458 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164459 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164460 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164461 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164462 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164463 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164464 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164465 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164466 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164467 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164468 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164469 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164470 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164471 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164472 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164473 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164474 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164475 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164476 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164477 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164478 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164479 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164480 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164481 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164482 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164483 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164484 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164485 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164486 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164487 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164488 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164489 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164490 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164491 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164490 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164491 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164492 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164493 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164494 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164495 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164496 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164497 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164498 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164499 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164500 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164501 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164502 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164503 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164504 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164505 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164506 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164507 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164508 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164509 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164510 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164511 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164512 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164513 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164514 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164515 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164516 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164517 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164518 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164519 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164520 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164521 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164522 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164523 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164524 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164525 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164526 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164527 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164528 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164529 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164530 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164531 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164532 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164533 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164534 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164535 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164536 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164537 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164538 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164539 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164540 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164573 (apache2) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Killing<br>
> process 164606 (n/a) with signal SIGKILL.<br>
> Aug 27 02:00:19 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: apache2.service: Failed<br>
> with result 'exit-code'.<br>
> Aug 27 02:05:01 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> CRON[166975]:<br>
> pam_unix(cron:session): session opened for user root by (uid=0)<br>
> Aug 27 02:05:01 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> CRON[166976]: (root) CMD<br>
> (/root/bin/apache-workaround)<br>
> Aug 27 02:05:01 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: Starting The Apache HTTP Server...<br>
> Aug 27 02:05:01 <a href="http://web01.example.org" rel="noreferrer" target="_blank">web01.example.org</a> systemd[1]: Started The Apache HTTP Server.<br>
> <br>
> When running a vanilla `apachectl -k graceful`:<br>
> Aug 27 10:47:18 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> sudo[176897]: sysadmin:<br>
> TTY=pts/0 ; PWD=/etc/apache2 ; USER=root ; COMMAND=/usr/sbin/apachectl<br>
> -k graceful<br>
> Aug 27 10:47:18 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> sudo[176897]:<br>
> pam_unix(sudo:session): session opened for user root by<br>
> sysadmin(uid=1000)<br>
> Aug 27 10:47:18 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> sudo[176897]:<br>
> pam_unix(sudo:session): session closed for user root<br>
> Aug 27 10:47:19 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> systemd[1]:<br>
> apache2.service: Main process exited, code=exited, status=1/FAILURE<br>
> Aug 27 10:47:19 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> systemd[1]:<br>
> apache2.service: Killing process 173239 (apache2) with signal SIGKILL.<br>
> Aug 27 10:47:19 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> systemd[1]:<br>
> apache2.service: Killing process 174924 (apache2) with signal SIGKILL.<br>
> ...snip...<br>
> Aug 27 10:47:19 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> systemd[1]:<br>
> apache2.service: Killing process 176797 (apache2) with signal SIGKILL.<br>
> Aug 27 10:47:19 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> systemd[1]:<br>
> apache2.service: Killing process 176838 (n/a) with signal SIGKILL.<br>
> Aug 27 10:47:19 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> systemd[1]:<br>
> apache2.service: Failed with result 'exit-code'.<br>
> Aug 27 10:47:20 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> sudo[176903]: sysadmin:<br>
> TTY=pts/0 ; PWD=/etc/apache2 ; USER=root ; COMMAND=/usr/bin/systemctl<br>
> status apache2<br>
> Aug 27 10:47:20 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> sudo[176903]:<br>
> pam_unix(sudo:session): session opened for user root by<br>
> sysadmin(uid=1000)<br>
> Aug 27 10:47:20 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> sudo[176903]:<br>
> pam_unix(sudo:session): session closed for user root<br>
> Aug 27 10:47:34 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> sudo[176906]: sysadmin:<br>
> TTY=pts/0 ; PWD=/etc/apache2 ; USER=root ; COMMAND=/usr/bin/systemctl<br>
> start apache2<br>
> Aug 27 10:47:34 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> sudo[176906]:<br>
> pam_unix(sudo:session): session opened for user root by<br>
> sysadmin(uid=1000)<br>
> Aug 27 10:47:34 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> systemd[1]: Starting The<br>
> Apache HTTP Server...<br>
> Aug 27 10:47:34 <a href="http://web01.sias.intra.lighting.com" rel="noreferrer" target="_blank">web01.sias.intra.lighting.com</a> systemd[1]: Started The<br>
> Apache HTTP Server.<br>
> <br>
> ---------------------------------------------------------------------<br>
> To unsubscribe, e-mail: <a href="mailto:users-unsubscribe@httpd.apache.org" target="_blank">users-unsubscribe@httpd.apache.org</a><br>
> For additional commands, e-mail: <a href="mailto:users-help@httpd.apache.org" target="_blank">users-help@httpd.apache.org</a><br>
<br>
-- <br>
Ubuntu-devel-discuss mailing list<br>
<a href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com" target="_blank">Ubuntu-devel-discuss@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss</a><br>
</blockquote></div>