When opening Microsoft Office files on one of our SMB servers, occasionally Office will show the following error:
This file is locked for editing.
Locked by: another user
Filename: File.docx
You can open the file as read-only.
I've narrowed the issue down to the file having a read/write lock placed on it on the SMB server while the thumbnail of the document is rendered within Finder in Column view. When double-clicking a file that isn't already selected, Finder tries to render the thumbnail in the details column while Word is trying to open the file at the same time.
Sometimes Finder renders the thumbnail and releases the lock quick enough for Office to open the file normally. Other times the lock is held for too long and Word cannot open the file, causing the above dialog.
If the file is already selected, the thumbnail is already rendered, the file isn't locked on the server and Office can open the document fine. This is the current workaround I've given users who are affected.
Looking in syslog, whenever this issue occurs the following error is logged:
Apr 1 09:22:51 localhost kernel[0] : FindFileRef: pid not matching
--- last message repeated 12 times ---
Every time a file is selected (but not necessarily opened) the following message appears:
Apr 1 09:37:38 localhost Finder[171] : [QL] After retry, preview was from a different type for
Anyone encountered this before or have ideas on how to reduce this issue?
No comments:
Post a Comment