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

[-- Attachment #1 --]
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 ‘zio’ state. Some deadlock arises when trying to access to a very busy FS. So, maybe monitoring with zfs-mon can help, with simultaneous ’top’ monitoring in separate console.

> On 26 Jan 2023, at 20:39, Ioan Samarul <samarul.meu@gmail.com> wrote:
> 
> Hello to you all!
> 
> 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=5000`, but it is the same. I can't ssh, nothing. Just hard
> restart.
> 
> I tried looking in the logs but I didn't get any useful information.
> 
> Any hint?
> 


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

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