<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 1, 2018 at 1:32 PM, Simon Becks <span dir="ltr"><<a href="mailto:beckssimon5@gmail.com" target="_blank">beckssimon5@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is this an expected behavior?<br>
<br>
Debian 9 with systemd 232-25+deb9u1<br>
<br>
Apache is running as user wp_user.<br>
<br>
After logging in and logging out via sftp as user wp_user - systemd<br>
kills apache process.<br>
<br>
Feb 1 10:58:25 shop systemd: pam_unix(systemd-user:session)<wbr>: session<br>
opened for user wp_user by (uid=0)<br>
Feb 1 11:01:58 shop sshd[23747]: Connection closed by client-ip port<br>
38409 [preauth]<br>
Feb 1 11:07:36 shop sshd[23673]: Received disconnect from client-ip2<br>
port 53274:11:<br>
Feb 1 11:07:36 shop sshd[23673]: Disconnected from client-ip2 port 53274<br>
Feb 1 11:07:36 shop sshd[23664]: pam_unix(sshd:session): session<br>
closed for user wp_user<br>
Feb 1 11:07:36 shop systemd-logind[480]: Removed session 3177.<br>
Feb 1 11:07:36 shop systemd: pam_unix(systemd-user:session)<wbr>: session<br>
closed for user wp_user<br>
<br>
[Thu Feb 01 11:07:36.170606 2018] [mpm_prefork:emerg] [pid 20396]<br>
(43)Identifier removed: AH00144: couldn't grab the accept mutex<br>
[Thu Feb 01 11:07:36.170606 2018] [mpm_prefork:emerg] [pid 20910]<br>
(43)Identifier removed: AH00144: couldn't grab the accept mutex<br>
[Thu Feb 01 11:07:36.170624 2018] [mpm_prefork:emerg] [pid 20394]<br>
(43)Identifier removed: AH00144: couldn't grab the accept mutex<br>
[Thu Feb 01 11:07:36.170625 2018] [mpm_prefork:emerg] [pid 20393]<br>
(43)Identifier removed: AH00144: couldn't grab the accept mutex<br>
[Thu Feb 01 11:07:36.170625 2018] [mpm_prefork:emerg] [pid 20408]<br>
(43)Identifier removed: AH00144: couldn't grab the accept mutex<br>
[Thu Feb 01 11:07:36.175260 2018] [mpm_prefork:emerg] [pid 20407]<br>
(43)Identifier removed: AH00144: couldn't grab the accept mutex<br>
[Thu Feb 01 11:07:36.218866 2018] [core:alert] [pid 20375] AH00050:<br>
Child 20393 returned a Fatal error... Apache is exiting!<br>
[Thu Feb 01 11:07:36.218914 2018] [:emerg] [pid 20375] AH02818: MPM<br>
run failed, exiting<br></blockquote><div><br></div><div>For users outside the "system account" UID range (usually 1–999), a logout will cause systemd to clean up remaining "junk" such as SysV IPC resources. (Those are unusual in that the OS doesn't automatically remove them after the last process exits, unlike e.g. regular sockets...)</div><div><br></div><div>If you must give high UIDs to service accounts, set <font face="monospace, monospace">RemoveIPC=no</font> in your logind.conf.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas</div></div>
</div></div>