AnsweredAssumed Answered

Strange oplock behavior with Alfresco's CIFS server

Question asked by willisadams on Aug 26, 2016
Latest reply on Sep 29, 2016 by willisadams
We're running the 201606 Early Release on CentOS 7.

One of my users is having an intermittent problem accessing some files he uploads to the Alfresco server via the built-in CIFS server. 

My user will create a file in Alfresco using the built-in CIFS server.  He will create the file using his desktop PC running Windows 10 or sometimes the file will be created via a network scanner.  When he then tries to access this file on the CIFS server from his other workstation, running Debian 8 (Jessie), he will be unable to do so.

The alfresco.log file shows the following error for each time that he attempts to access the file:

<blockquote>14:53:29,389 ERROR [org.alfresco.fileserver] [AlfJLANWorker9] Failed to defer request for local oplock break, oplock=[Local Type=Exclusive,\Sites\customer-service\documentLibrary\James Files\2113sn.pdf,Owner=T1,PID=15136,UID=5,TreeID=1,FileId=3,DeferList=3 BreakInProgress]
</blockquote>

But if he logs into the Alfresco Share through his web browser and renames the file then he'll be able to access it on his Debian machine.  (If he re-names the file again, back to its original name, the error returns.)

Note that this does not happen with all or even most of his files.  The vast majority of the time he has no problems at all downloading files he's uploaded to the CIFS server.  This has happened only a handful of times over the past week or so.

Also, even though we have about a dozen users who have uploaded a combined tens of thousands of documents since we've started using Alfresco last year, we have not previously encountered this problem.

Any ideas on what the problem could be and what steps I could take in order to resolve it?  Please let me know if you need more information.

Outcomes