<p dir="ltr"><br>
On 3 Jul 2016 1:34 p.m., "Stefan Ring" <<a href="mailto:stefanrin@gmail.com">stefanrin@gmail.com</a>> wrote:<br>
><br>
> On Sat, Jul 2, 2016 at 10:52 AM, Nick Fisk <<a href="mailto:friskyfisk10@googlemail.com">friskyfisk10@googlemail.com</a>> wrote:<br>
> > Hi, hope someone can help me here.<br>
> ><br>
> > I'm exporting some XFS fs's to ESX via NFS with the sync option enabled. I'm<br>
> > seeing really heavy fragmentation when multiple VM's are copied onto the<br>
> > share at the same time. I'm also seeing kmem_alloc failures, which is<br>
> > probably the biggest problem as this effectively takes everything down.<br>
> ><br>
><br>
> The same thing happens with MySQL's InnoDB files if O_DIRECT is in use.<br>
><br>
> The kmem_alloc failure taking everything down is most likely a result<br>
> of you calling xfs_bmap on these files and does not happen during<br>
> normal use. I've had the same experience some time ago.</p>
<p dir="ltr">Unfortunately this did happen during normal use. It occurred over night after kicking a bunch copies off. Something like 5 million extents for 10-20 files. I suspect as suggested, it's to do with memory fragmentation.<br>
</p>