Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2022 16:58:27 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Dima Panov <fluffy@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>, tech-lists <tech-lists@zyxst.net>,  "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: POLLHUP detected on devd socket
Message-ID:  <CANCZdfoYZGH5ykcKqmsUMtv8dSLOzZroqgOEOnZ0wsYojzN0oQ@mail.gmail.com>
In-Reply-To: <d9d85d02-5c2c-476f-99ee-f33e8b069d4b@Canary>
References:  <YewV/8v7nb78a%2Bg4@ceres.zyxst.net> <8BA9DE0C-81B4-420E-B326-7B7133EC31BA@dons.net.au> <Ye0ZsFgQL8jlAGaF@ceres.zyxst.net> <d9d85d02-5c2c-476f-99ee-f33e8b069d4b@Canary>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000006d2b8105d648a136
Content-Type: text/plain; charset="UTF-8"

On Sun, Jan 23, 2022 at 1:07 PM Dima Panov <fluffy@freebsd.org> wrote:

> Moin!
>
>
> I saw a such issue on amd64, both 13.0-RELEASE and -CURRENT.
> Both hosts have zfsd enabled, and after devd die by signal 15 all other
> daemons such as sshd, crond, syslogd (almost all runned daemons) stopeed by
> signal 15 too. At least, as it shows by system logs.
>

Signal 15 is SIGTERM, which is the software signal from kill(1)....

Warner


> Will try to play with zfsd disabled, as suggested.
>
> --
> Dima. (desktop, kde, x11, office, ports-secteam)@FreeBSD team
> (fluffy@FreeBSD.org, https://t.me/dima_panov)
>
> On Sunday, Jan 23, 2022 at 12:03 PM, tech-lists <tech-lists@zyxst.net>
> wrote:
> On Sun, Jan 23, 2022 at 04:10:40PM +1030, Daniel O'Connor wrote:
>
> Is it reproducible? ie can you trigger it post boot?
>
> It is very strange that devd dying would kill anything else running -
> I have stopped and started it a lot while testing devd scripts and
> I haven't seen anything else break.
>
> One idea would be to hack up devd's rc.d script and run it under
> ktrace and try and get some clues.
>
>
> I can try that, thanks for the suggestion.
>
> Right now I'm thinking it's tied to zfsd, since disabling that
> service I've not seen the issue.
> --
> J.
>
>

--0000000000006d2b8105d648a136
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sun, Jan 23, 2022 at 1:07 PM Dima =
Panov &lt;<a href=3D"mailto:fluffy@freebsd.org">fluffy@freebsd.org</a>&gt; =
wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">    <div =
style=3D"font-family:Helvetica;color:rgb(0,0,0);font-size:13px"><img id=3D"=
gmail-m_5433901728503372578597B2328D72BB35BBAC8CD91A1D8EA24" alt=3D"" width=
=3D"0px" src=3D"https://read-receipts.canarymail.io:8100/track/2BD3A57834F2=
C18772CBE819A75674B4_597B2328D72BB35BBAC8CD91A1D8EA24.png" height=3D"0px"><=
div id=3D"gmail-m_5433901728503372578CanaryBody"> <div> Moin!</div><div><br=
></div><div><br></div><div>I saw a such issue on amd64, both 13.0-RELEASE a=
nd -CURRENT.=C2=A0</div><div>Both hosts have zfsd enabled, and after devd d=
ie by signal 15 all other daemons such as sshd, crond, syslogd (almost all =
runned daemons) stopeed by signal 15 too. At least, as it shows by system l=
ogs.</div></div></div></blockquote><div><br></div><div>Signal 15 is SIGTERM=
, which is the software signal from kill(1)....<br></div><div><br></div><di=
v>Warner</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left=
:1ex"><div style=3D"font-family:Helvetica;color:rgb(0,0,0);font-size:13px">=
<div id=3D"gmail-m_5433901728503372578CanaryBody"><div>Will try to play wit=
h zfsd disabled, as suggested.</div><div><br></div> </div> <div id=3D"gmail=
-m_5433901728503372578CanarySig"> <div> <div style=3D"font-family:Helvetica=
">--<br><div>Dima. (desktop, kde, x11, office, ports-secteam)@FreeBSD team<=
/div><div>(fluffy@FreeBSD.org, <a href=3D"https://t.me/dima_panov" target=
=3D"_blank">https://t.me/dima_panov</a>)</div></div>; <div><br></div> </div>=
 </div> <div id=3D"gmail-m_5433901728503372578CanaryDropbox"> </div> <block=
quote id=3D"gmail-m_5433901728503372578CanaryBlockquote"> <div> <div>On Sun=
day, Jan 23, 2022 at 12:03 PM, tech-lists &lt;<a href=3D"mailto:tech-lists@=
zyxst.net" target=3D"_blank">tech-lists@zyxst.net</a>&gt; wrote:<br></div> =
<div>On Sun, Jan 23, 2022 at 04:10:40PM +1030, Daniel O&#39;Connor wrote: <=
br> <br><blockquote type=3D"cite">Is it reproducible? ie can you trigger it=
 post boot? <br> <br>It is very strange that devd dying would kill anything=
 else running - <br>I have stopped and started it a lot while testing devd =
scripts and <br>I haven&#39;t seen anything else break. <br> <br>One idea w=
ould be to hack up devd&#39;s rc.d script and run it under <br>ktrace and t=
ry and get some clues. <br></blockquote> <br>I can try that, thanks for the=
 suggestion. <br> <br>Right now I&#39;m thinking it&#39;s tied to zfsd, sin=
ce disabling that <br>service I&#39;ve not seen the issue. <br>-- <br>J. <b=
r></div> </div> </blockquote> </div></blockquote></div></div>

--0000000000006d2b8105d648a136--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoYZGH5ykcKqmsUMtv8dSLOzZroqgOEOnZ0wsYojzN0oQ>