Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 2023 21:18:19 +1000
From:      Korolev Sergey <serejk@febras.net>
To:        Ioan Samarul <samarul.meu@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rsync freezes FreeBSD machine
Message-ID:  <6F206B4F-4E61-4773-8122-C356E599F619@febras.net>
In-Reply-To: <CADH9QNo%2BrvOR=pUyC=_tEdiYMwf2VuFTiZLzJugS6nDTYBSMGA@mail.gmail.com>
References:  <CADH9QNo%2BrvOR=pUyC=_tEdiYMwf2VuFTiZLzJugS6nDTYBSMGA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_FB5AB4E0-36E8-4E81-8F47-D7B5DEE7A584
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello,

my experience (not big, to be honest) says, that the possible reason of =
that type of freeze (when nothing helps except hard reboot) is when =
processes hangs in =E2=80=98zio=E2=80=99 state. Some deadlock arises =
when trying to access to a very busy FS. So, maybe monitoring with =
zfs-mon can help, with simultaneous =E2=80=99top=E2=80=99 monitoring in =
separate console.

> On 26 Jan 2023, at 20:39, Ioan Samarul <samarul.meu@gmail.com> wrote:
>=20
> Hello to you all!
>=20
> I am doing a backup for some machines (OpenBSD and Linux) to a FreeBSD
> machine (13.1-RELEASE-p5) with ZFS using rsync (usually with `-avhz`).
> The problem I always encounter is that if I do an rsync to FreeBSD
> everything is smooth, but the other way around, after some files
> copied, the FreeBSD machine hangs. I tried even using
> `--bwlimit=3D5000`, but it is the same. I can't ssh, nothing. Just =
hard
> restart.
>=20
> I tried looking in the logs but I didn't get any useful information.
>=20
> Any hint?
>=20


--Apple-Mail=_FB5AB4E0-36E8-4E81-8F47-D7B5DEE7A584
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Hello,<div class=3D""><br class=3D""></div><div class=3D"">my =
experience (not big, to be honest) says, that the possible reason of =
that type of freeze (when nothing helps except hard reboot) is when =
processes hangs in =E2=80=98zio=E2=80=99 state. Some deadlock arises =
when trying to access to a very busy FS. So, maybe monitoring with =
zfs-mon can help, with simultaneous =E2=80=99top=E2=80=99 monitoring in =
separate console.<br class=3D""><div class=3D""><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On 26 =
Jan 2023, at 20:39, Ioan Samarul &lt;<a =
href=3D"mailto:samarul.meu@gmail.com" =
class=3D"">samarul.meu@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">Hello =
to you all!<br class=3D""><br class=3D"">I am doing a backup for some =
machines (OpenBSD and Linux) to a FreeBSD<br class=3D"">machine =
(13.1-RELEASE-p5) with ZFS using rsync (usually with `-avhz`).<br =
class=3D"">The problem I always encounter is that if I do an rsync to =
FreeBSD<br class=3D"">everything is smooth, but the other way around, =
after some files<br class=3D"">copied, the FreeBSD machine hangs. I =
tried even using<br class=3D"">`--bwlimit=3D5000`, but it is the same. I =
can't ssh, nothing. Just hard<br class=3D"">restart.<br class=3D""><br =
class=3D"">I tried looking in the logs but I didn't get any useful =
information.<br class=3D""><br class=3D"">Any hint?<br class=3D""><br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></div></body></html>=

--Apple-Mail=_FB5AB4E0-36E8-4E81-8F47-D7B5DEE7A584--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6F206B4F-4E61-4773-8122-C356E599F619>