08-26-2016 04:25 PM
09-29-2016 07:48 AM
Just to follow-up... I think I was able to isolate the issue to the Debian workstation that had Alfresco mounted as a CIFS/SMB share. Once I changed that system to mount Alfresco using WebDAV instead (using davfs2) the locking issues haven't reappeared.
I was not able to figure out why Debian was behaving the way it was, though. I suspect it has something to do with Mozilla Thunderbird, though. The issue always seemed to start when the user would attempt to attach a file stored on Alfresco to an email. I'm not enough of a Linux guru to figure it out, but maybe this will be a clue for someone more knowledgeable in the future who has this problem.
09-21-2016 02:36 PM
I fear no one will be able to really explain the cause / behaviour in detail as CIFS / SMB1 is an archaic protocol. As far as I know, oplocks are not persisted to the database and only held in memory. They are identified by name instead of node identity, which explains why a simple rename can help circumvent the issue. A restart of the server will cause in all oplock state to be discarded and each file should be clean of any residual oplocks that may not have been cleard.
09-21-2016 03:14 PM
Thanks for the reply, Axel. I did restart Alfresco which temporarily released the lock. Unfortunately, the lock came back after a few minutes. The next day the lock was gone. I suspect there's a program running on either the user's Windows 10 machine or their Debian machine which is locking the files, but I haven't narrowed it down to which program just yet. I'd appreciate any suggestions that you might have for troubleshooting this the next time it happens. Is there a Linux equivalent to the "Process Explorer" application in Windows where I can search for which programs are accessing a particular file?
If all else fails, I can use WebDAV instead of SMB for the Windows 10 and Debian machines, but our network scanner only supports SMB, unfortunately.
09-21-2016 03:31 PM
Well on any Linux machine you have to typical tools such as top, ps and lsof to find out what is going on. These are all command line utilities, but there may also be graphical UIs similar to the process explorer (on Linux I never feel the need for a graphical UI - real men use command line tools, as my old CTO used to say).
09-29-2016 07:48 AM
Just to follow-up... I think I was able to isolate the issue to the Debian workstation that had Alfresco mounted as a CIFS/SMB share. Once I changed that system to mount Alfresco using WebDAV instead (using davfs2) the locking issues haven't reappeared.
I was not able to figure out why Debian was behaving the way it was, though. I suspect it has something to do with Mozilla Thunderbird, though. The issue always seemed to start when the user would attempt to attach a file stored on Alfresco to an email. I'm not enough of a Linux guru to figure it out, but maybe this will be a clue for someone more knowledgeable in the future who has this problem.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.