[Samba] Samba drops connection on "large" files 2GB+

Rodrigo Cunha rodrigo.root.rj at gmail.com
Wed Mar 8 20:26:05 UTC 2023


Hi, Jeremy. I saw that in the samba servers. This smells like a known
problem, with 'out of memory'. Check the log.
Run journalctl -f and try again.
Sometimes, this problem Is solved with the setup:
[global]
oplocks = no

How much memory do you have?



On Wed, Mar 8, 2023 at 2:40 PM Jeremy Allison via samba <
samba at lists.samba.org> wrote:

> On Wed, Mar 08, 2023 at 08:54:24AM +0100, Leon Benthaus via samba wrote:
> >Dear all,
> >
> >I still have CentOS7 running with the latest Samba Version available
> >for it (samba-4.10.16-20.el7)
> >I'm experiencing a really strange issue. When I copy a file larger
> >than 2GB I  always get a network
> >drop. It just stops at around 1,74gb. The logs didn't show something
> >in default logging level and
> >are overwhelming at 5. An interesting detail is: If I pause the copy
> >process every other second
> >I can get the whole file copied. If I let it run at full speed it is
> >not working. Any idea? I already
> >played around with socket options and stuff. No change. The shares is
> >located on a xfs formatted drive.
>
> Might be:
>
> https://bugzilla.samba.org/show_bug.cgi?id=15261
>
> Contains a patch you might try.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


-- 
Atenciosamente,
Rodrigo da Silva Cunha
São Gonçalo, RJ - Brasil


More information about the samba mailing list