SMB2服务器重置连接 [英] SMB2 server Resets the connection

查看:269
本文介绍了SMB2服务器重置连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在非Windows系统上使用协议版本2.1(SMB2.1客户端)实现SMB客户端。我正在使用此客户端连接到Windows 2016服务器(AD服务器)。

I am implementing SMB client with protocol version 2.1 (SMB2.1 client) on Non-Windows System. I am using this client to connect to Windows 2016 server(AD Server).

客户端能够将超过5GB的数据从/向本地文件系统复制到已安装的远程共享。它可以创建,删除和执行所有文件操作。

Client is able to copy more than 5GB data from/to local file system to mounted remote share. It can create, delete and perform all file operations.

在某些情况下,服务器正在发送RESET。 

In some scenarios, Server is sending RESET. 

1。  两个线程不断创建文件:Thread1正在创建文件file1,file2 ....   Thread2正在从file1001创建文件,file1002 ...

1.  Two threads continuously creates  files : Thread1 is creating files file1, file2....  and  Thread2 is creating files from file1001, file1002...

服务器发送创建800files后重置(Thread1创建410个文件,Thread2创建409个文件)。  多次执行此操作会看到相同的行为。

Server sends RESET after 800files creation(Thread1 created 410 files and Thread2 created 409 files).   This operation is performed many times seeing the same behaviour.

2。  大文件创建导致连接重置(单线程打开文件,写入少量数据(少量字节)并关闭文件...此操作已重复执行)。  服务器在写完30MB文件后重置。

2.  Large file creation causes connection reset( Single thread opens a file,writes small amount of data(few bytes) and close the file... This operation has been performed repeatedly).  Server RESETS after  30MB of file has been written.

3。  不断创建和删除文件会重置连接。

3.  Continuous creation and deletion of files resets the connection.

4。使用以下脚本创建文件:在创建600多个文件后重置连接。

4. Created files using following scripts: It RESET connection after 600+ files creation.

谢谢和问候,

Savitri

推荐答案

你好savitri,

Hi savitri,

感谢您关于SMB2的问题并在创建800个文件后接收RESET。其中一个开放规范团队成员将很快回复以帮助您。 

Thank you for the question about SMB2 and receiving a RESET after creating 800 files. One of the Open Specifications team members will respond shortly to assist you. 


这篇关于SMB2服务器重置连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆