You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce: play a "heavy" video file (e.g. a BluRay rip) using VLC from an SMB share.
According to the documentation at https://github.com/namjaejeon/cifsd-tools/blob/master/Documentation/configuration.txt, cifsd has some buffers that are way too big for embedded devices. The template configuration supplied by luci-app-cifsd (?) does not take this into account, thus making it too easy to invoke the OOM killer by accident with the default settings.
In particular, I am worried about these parameters and their default values:
max open files: default 10000, not sure what would be the reasonable value for others.
smb2 max read: default 4 MB, I am quite happy with 65536 bytes.
smb2 max write, smb2 max trans: same.
cache read buffers, cache trans buffers: default yes, these need investigation whether it makes sense to default to "no".
The text was updated successfully, but these errors were encountered:
patrakov:
Supply the following if possible:
According to the documentation at https://github.com/namjaejeon/cifsd-tools/blob/master/Documentation/configuration.txt, cifsd has some buffers that are way too big for embedded devices. The template configuration supplied by luci-app-cifsd (?) does not take this into account, thus making it too easy to invoke the OOM killer by accident with the default settings.
In particular, I am worried about these parameters and their default values:
The text was updated successfully, but these errors were encountered: