crazybyte
Cadet
- Joined
- Mar 18, 2019
- Messages
- 6
Hi community,
I'm using FreeNAS to share a directory over Samba to an amd64 device where a dockerized rTorrent instance is running.
rTorrent uses this share to either store downloaded or temporary files. When it's uploading (hence reading from the NAS) many files, the samba server close the client connection.
When it happens, I can see from the server the following logs (loglevel full):
While on the client, that runs Archlinux, it can be seen the following kernel message:
The mount options I use are:
I have already tried to change the cache option to strict and loose, but it didn't help me. I also tried to change the protocol version using vers=xxx, but the issue persists.
I'm using Freenas 11.2-U2.1 with Samba 4.9.4 on the server, and CIFS 2.14 with Linux 4.20.12-arch1-1 on the client. I've initially wrote a post on the Archlinux forum, where I posted some more information about the client configuration, but then I understood that the problem reside on the server side.
The problem doesn't occur if I have only few torrents uploading at the same time. Does anybody experienced something similar? Or have some suggestions/tips/ideas about how to solve it?
Thank in advance to anyone will intervene!
I'm using FreeNAS to share a directory over Samba to an amd64 device where a dockerized rTorrent instance is running.
rTorrent uses this share to either store downloaded or temporary files. When it's uploading (hence reading from the NAS) many files, the samba server close the client connection.
When it happens, I can see from the server the following logs (loglevel full):
Code:
[2019/03/16 13:38:23.047039, 1] ../source3/smbd/smb2_server.c:3918(smbd_smb2_io_handler) ignore NBT[0x49] msg [2019/03/16 13:38:23.087477, 1] ../source3/smbd/smb2_server.c:3918(smbd_smb2_io_handler) ignore NBT[0x2A] msg [2019/03/16 13:38:23.123200, 1] ../source3/smbd/smb2_server.c:3918(smbd_smb2_io_handler) ignore NBT[0xAF] msg [2019/03/16 13:38:23.175463, 1] ../source3/smbd/smb2_server.c:3918(smbd_smb2_io_handler) ignore NBT[0x0F] msg [2019/03/16 13:38:23.282583, 1] ../source3/smbd/smb2_server.c:3918(smbd_smb2_io_handler) ignore NBT[0x7E] msg [2019/03/16 13:40:10.572218, 2] ../source3/smbd/close.c:802(close_normal_file)
While on the client, that runs Archlinux, it can be seen the following kernel message:
Code:
[Thu Mar 14 12:25:51 2019] CIFS VFS: Server 172.16.4.4 has not responded in 120 seconds. Reconnecting...
The mount options I use are:
Code:
sudo mount -t cifs -o credentials=/home/username/cifs_creds,uid=666,gid=666,rw,nounix,iocharset=utf8,file_mode=0755,dir_mode=0755,cache=none //freenas/Kodi/rtorrent/download /mnt/download
I have already tried to change the cache option to strict and loose, but it didn't help me. I also tried to change the protocol version using vers=xxx, but the issue persists.
I'm using Freenas 11.2-U2.1 with Samba 4.9.4 on the server, and CIFS 2.14 with Linux 4.20.12-arch1-1 on the client. I've initially wrote a post on the Archlinux forum, where I posted some more information about the client configuration, but then I understood that the problem reside on the server side.
The problem doesn't occur if I have only few torrents uploading at the same time. Does anybody experienced something similar? Or have some suggestions/tips/ideas about how to solve it?
Thank in advance to anyone will intervene!