Windows 2012 R2 Fileserver - Files open sometimes slow

We have problems - file open sometimes slow. Fileserver is Windows 2012 R2 (all updates) and Window 7 clients. The  Fileservers are virtual and running von VMWare vShpere 5.1. (paravirtual, vmxnet3 NICs) On the fileserver is no bottleneck CPU, RAM, NIC, DISC, TCP-Connections visable. Performance Reports are alway green, system resports are alway green. On some volumes dedublication ist enabled but this issue occurs on all volumes. Nothing interessting to see in the eventlogs.

The issue look follows: A user open a filethat takes long time.Another useropens other files and has no problem at the same time! Especiallyfiles are affected thatotherusers have in accessat that time. This affects all Files(from simple text files to Excel, Word, ... )

The following things have been tried without success:
- install the system again with default smb settings (without AV, ... )
- disable SMBv2 on Client side
- stop backup software
- move the disc files of the VM (Fileserver) to an other storage system
- move the VM to an other host
- and settings from the performance tuning guide


Does anyone have suggestions
how to get a solution?

October 14th, 2014 3:59pm

Hi,

In current situation you may have a try on using Network Monitor to trace a connection in problem and check the timestamp of each trace. Let see if we can find the exact cause such as authentication, network routing etc.

Here is an article for capture network traffic with network monitor. The article is old but steps are still the same for newer versions of Network Monitor.

How to use Network Monitor to capture network traffic

http://support2.microsoft.com/kb/812953/en-us

And here are some blog articles for Network Monitor including videos.

TechNet Blogs Network Monitor

http://blogs.technet.com/b/netmon/


Free Windows Admin Tool Kit Click here and download it now
October 15th, 2014 8:46am

Hi,

thank you. I have captured a slow file opening with the Network Monitor (Windows 7 Client).


I
have created a small text file (1kb).
Most time the file open < 1 sec. (Network Monitor shows no error)
If the erroroccurs the same file open 10 - 30 sec - Network Monitor shows the following errors:

1) 94    14:09:32 16.10.2014    6.5360623    System    10.100.10.190    10.100.10.213    SRVS    SRVS:NetrShareGetInfo Response, Status=ERROR_SUCCESS    {MSRPC:24, SMB2:23, SMBOverTCP:13, TCP:12, IPv4:11}

2) 00.10.190    10.100.10.213    SMB2    SMB2:R  - NT Status: System - Error, Code = (186) STATUS_FILE_IS_A_DIRECTORY  CREATE (0x5) , File=Application\test@#217     {SMB2:44, SMBOverTCP:13, TCP:12, IPv4:11}

The path of my testfile ist: Application\test\test.txt

3) 222    14:09:42 16.10.2014    15.8942911    System    10.100.10.190    10.100.10.213    SMB2    SMB2:R  - NT Status: System - Error, Code = (629) Unhandled Error code  IOCTL (0xb)      {SMBOverTCP:13, TCP:12, IPv4:11}

4) 247    14:09:44 16.10.2014    18.0541921    System    10.100.10.190    10.100.10.213    SMB2    SMB2:N   OPLOCK BREAK (0x12)     {SMBOverTCP:13, TCP:12, IPv4:11}
248    14:09:44 16.10.2014    18.0553073    System    10.100.10.213    10.100.10.190    SMB2    SMB2:A   OPLOCK BREAK (0x12)     {SMBOverTCP:13, TCP:12, IPv4:11}
249    14:09:44 16.10.2014    18.0557313    System    10.100.10.190    10.100.10.213    SMB2    SMB2:R   OPLOCK BREAK (0x12)     {SMBOverTCP:13, TCP:12, IPv4:11}
250    14:09:44 16.10.2014    18.0767603    System    10.100.10.190    10.100.10.213    SMB2    SMB2:N   OPLOCK BREAK (0x12)     {SMBOverTCP:13, TCP:12, IPv4:11}

Oplocks ist enabled. OplockBreakWait is set to the default value (35).
Offline folder/drives are used. Therefore, it is not possible to deactivate oplocks for testing.

Any suggestions for this problem?


October 16th, 2014 2:21pm

Hi,

 I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.


Free Windows Admin Tool Kit Click here and download it now
October 23rd, 2014 4:29am

Hi Partner,

Thank you for your post.

From your description, I see that the issue you are experiencing is files open slow on the fileserver VM which on running von VMWare vShpere 5.1.

Please let me know if I have misunderstood anything.

Here I'd like to confirm some questions with you to better understand our issue.

1. If the issue happened on all the VMs or just the certain one?

2. You mentioned "A user open a file that takes long time. Another user opens other files and has no problem at the same time! Especiallyfiles are affected that otherusers have in accessat that time...
", do you mean the issue happen to the certain user?

3. The issue occurred when the clients access the files on the fileserver. Right? If so, could you please help us verify that if there is any problem when opening the files locally on the Windows 2012 R2 Fileserver?

Meanwhile, we suggest you can contact VMWare to ensure the related components are all up to date.

Please let me know if there is any update. Thank you for your time. 

Best Regards,

Sophia Sun

October 23rd, 2014 10:46am

Hi,

Thanks you for your reply.
Here are the answers:

1. The issue  happens only on VMs with the File Server role AND a large user load. On file servers where only few users access the error does not happen. Same plattform.

2. No, it occurs to all users. The problem occurs just on some users and others can work normally at the same time. Later, other users are affected.

3. Yes, when the clients access the files on the fileserver. When I open the file locally on the server itself shows a similar behavior. But much less clear. Text File with 1kb opens under 1 sec. If the error happens 2 to 3 seconds locally. On the client, same file, if the error occurs 30 to 40 seconds.

The VMWare has been updated. VMWare support Case is open. We check to go on vShere 5.5.

Free Windows Admin Tool Kit Click here and download it now
October 26th, 2014 8:27pm

Hi,

In the trace you can see that SMBv2 errors happen then a oplocks lock.

So I have
SMBv2 disabled.
Oplock break wait set to 10

Now the files open faster on the clients. Also the from time to time slow open (in Excel, Word, ... not responding if you want to open file on the fileserver) not longer occurs. However, Adobe Reader makes problems when opening some PDFs under SMBv1 (Adobe BUG - disable protected mode is a workaround)

For me, this is no solution. Only significantly better than the error but no solution.
- Throughput worse than SMBv2 or SMBv3
- WAN optimization to the branches (Branch cache, ...)
...
.

Best regards

         
October 26th, 2014 8:56pm

Hi,

Thank you for your efforts and detailed reply.

As per your feedback, currently, there is a workaround for our issue. However, there is still something wrong with Adobe Reader, and the issue can be fixed if disabling protected mode. Thus, for current situation, we suggest you can contact Adobe support to see if they can help with the issue.

Please let me know if there is anything we can do to help. Thank you for your time.

Best Regards,

Sophia Sun

Free Windows Admin Tool Kit Click here and download it now
October 29th, 2014 9:42am

Hi,

I have not heard back from you in a few days. Can I know the current status of the issue? If you have any questions, fee free to let me know. Thans for your time.

Best Regards,

Sophia Sun

November 4th, 2014 10:09am

Thanks for the replies.

Abobe problem occurs only in a specific version of Adobe. A client rollout was performed. Partial problems of Excel files(Office2013) blocked files under SMBv1. Go to open as usual only after unblock.

We have now updated the VMWare environment. VMWare ESX Server to the latest 5.5 version. We have changed the VMs virtual SCSI controller's from Paravirtual to LSI Logic SAS. After that significantly fewer processor interrupts/sec and higher performance. Continuous files open faster.

Now we may be able to activate the newer versions of SMB again and check.
If this works,the case is resolved.

Free Windows Admin Tool Kit Click here and download it now
November 27th, 2014 11:00am

Same issue for us.

we are using a newly installed Windows Server 2012, (we used to be on Windows Server 2008 R2)

onto a failover cluster storage.Desktops accessing this network storage are on Windows 7 desktop machines.

When two or more users try to access any files or folders on the network share at the same time they experience a delay of up to  one minute.

I have scoured the internet for a solution and none looks to be out there.

Is it Oplocks, File Caching, File/folder permissions, Dynamic Access Control, Access-Denied Assistance?

March 7th, 2015 3:25pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics