https://bugs.dragonflybsd.org/https://bugs.dragonflybsd.org/favicon.ico?16293952082010-08-19T04:16:11ZDragonFlyBSD bugtrackerDragonFlyBSD - Bug #1806: DFBSD 2.7.3 - mbuf exhausted while rsync to a NFShttps://bugs.dragonflybsd.org/issues/1806?journal_id=87942010-08-19T04:16:11Zdillon
<ul></ul><p>Ok, this should be fixed now. nfs_realign() was calling m_copyback() which was allocating the mbuf chain using normal mbufs instead of cluster bufs, causing the normal mbufs to get blown out on machines with low amounts of memory.</p>
<p>-Matt</p> DragonFlyBSD - Bug #1806: DFBSD 2.7.3 - mbuf exhausted while rsync to a NFShttps://bugs.dragonflybsd.org/issues/1806?journal_id=87962010-08-20T22:00:27Ztuxillo
<ul></ul><p>Hi Matt,</p>
<p>As we agreed, I've uploaded the dump files of the panic that was produced in the<br />NFS client side. They are in my home dir: ~/crash/1806*.1</p>
<p>Cheers,<br />Antonio Huete</p> DragonFlyBSD - Bug #1806: DFBSD 2.7.3 - mbuf exhausted while rsync to a NFShttps://bugs.dragonflybsd.org/issues/1806?journal_id=142662022-05-15T16:42:48Ztuxillo
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/14266/diff?detail_id=3834">diff</a>)</li><li><strong>Assignee</strong> deleted (<del><i>0</i></del>)</li></ul> DragonFlyBSD - Bug #1806: DFBSD 2.7.3 - mbuf exhausted while rsync to a NFShttps://bugs.dragonflybsd.org/issues/1806?journal_id=142682022-05-15T17:46:02Ztuxillo
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Unable to reproduce this issue, hence closing.</p>
<a name="Evidence"></a>
<h3 >Evidence<a href="#Evidence" class="wiki-anchor">¶</a></h3>
<p><strong>SERVER</strong></p>
<pre>
root@dev01:/usr/src # sysctl hw.physmem
hw.physmem: 500301824
root@dev01:/usr/src # cat /etc/exports
/usr -alldirs -maproot=root: -network 10.0.0.0/24
</pre>
<ul>
<li>Have been monitoring the mbuf usage, it's really low during the copy.</li>
<li>No errors in dmesg.</li>
</ul>
<p><strong>CLIENT</strong></p>
<pre>
root@dev03:~ # df -h /usr/src
Filesystem Size Used Avail Capacity Mounted on
10.0.0.101:/usr/src 44.5G 11.0G 33.5G 25q /usr/src
root@dev03:~ # rsync -aP --delete /usr/src /mnt/target/usr/
sending incremental file list
root@dev03:~ # diff -urN /usr/src /mnt/target/usr/src
load: 0.00 cmd: diff 798 [running] 0.08u 1.36s 7q 3916k
root@dev03:~ #
</pre>
<ul>
<li>Repeated the copy multiple times.</li>
<li>Even compared the directories with diff and rsync.</li>
</ul>