cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS 'phantom files' problem

fschnell
Champ in-the-making
Champ in-the-making
During daily usage my colleague Dave made the following observation regarding CIFS. It is a repeatable, but random problem. We end up in a situation where files are visible in CIFS but not they actually do not exist anymore. Access via CIFS is not possible (file does not exist) an in the webinterface they do not show (as expected).

Can anyone confirm this to be a problem? How can we circumvent that?

Frank
========

The Background

I have set up three Spaces in my area on Alfresco.

     Distillery
     PDF
     Done

I have set up a Rule in the Distillery Space where any file arriving
there is transformed into pdf, and the pdf file placed in the PDF Space. I
have set the Rule to run in the background. I can then, using the CIFS interface, drag multiple files into the Distillery Space for batch conversion. This is much faster than using Adobe and needs far less user intervention.

Deletion from Spaces is generally very slow. So, following conversion
and copying the pdf files to where they are needed, I drag all the files
from both the Distillery and PDF spaces into the Done Space. I delete
these later, when I have more time. [Of course, it would be very nice if I could set up a Rule to do this deletion, as a background process]

I then drag and drop a further batch of files into the Distillery Space -
and so on.

Typically, the batches for conversion will be two to twelve files.
Most of these files are MS Word files but occasionally they are Excel, or
other MS Office files.

The Problem

Occasionally, having dragged and dropped files from the PDF space
into Done, I will return to the PDF Space and find that they still appear to be there. However, any attempt to open them, delete them or move them will result in an error message of the 'File Cannot be Found' variety. Using the HTML interface, the Space can be seen to be empty, but CIFS is still
showing the files and no amount of refreshing, or re-connecting to the drive will make them disappear. Similarly, these files are not visible in the Done Space using CIFS but using the HTML interface, I can see that they are, in fact, there.

I can still drag and drop new files into the Distillery Space and they will
still be converted to pdf and appear in the PDF space alongside the 'phantom' files. However, it seems to me that the process now takes longer than before. These new pdf files can be opened, deleted or moved as normal.

If I then use the HTML interface to delete the pdf files from where
they really are in the Done Space, I can watch them disappear, one by one from the CIFS view of the PDF Space.

Possibly a Second Problem

This may not be related, but sometimes, in similar circumstances, I
will find that I am prevented by CIFS from re-entering the PDF Space,
being told that I have no rights in that Space. However, I can still enter the PDF Space via the HTML interface. I am also allowed to rename or delete the Space via the HTML interface, so that's what I do at this point but, of course, I then also have to delete and recreate the Rule because, even though the new space has the same name as the old one, Alfresco sees it as a different Space.

The only thing I can offer as to the circumstances of occurrences of these
problems is that it always follows a period of intense use of the Alfresco
server i.e. moving and converting a large number of files in a short period. Also, I have never had this problem with any Space other than one that is target for a Rule.

Dave
14 REPLIES 14

fschnell
Champ in-the-making
Champ in-the-making
I confirm it is MySQL and all tables are InnoDB. I will create an issue for it.

andy
Champ on-the-rise
Champ on-the-rise
Hi

Can you tell us which version of the repo this aplies to - or include it in the bug report.

Always intersted in distillery spaces…

Cheers

Andy

fschnell
Champ in-the-making
Champ in-the-making
Alfresco 2.0 community on OpenSuse Linux 10.2

gary_spencer
Champ in-the-making
Champ in-the-making
Hi,

What's the client OS that you're using to access the Alfresco CIFS server ?.
Are there any errors/exceptions logged in the alfresco.log file ?, if so then can you email the alfresco.log file to me.

Cheers

Gary

fschnell
Champ in-the-making
Champ in-the-making
Client: WinXP SP2

alfresco.log will come

fschnell
Champ in-the-making
Champ in-the-making
Gary,

I restarted the server and asked my colleague to redo
the actions which he always does to trigger the problem.
There are no messages in alfresco.log. Even after the
problem appeared the last message is

Alfresco started (Community version) Current version 2.0.0 - build 185 - schema 38

Anything else you want us to look for?

Frank

andy
Champ on-the-rise
Champ on-the-rise
Hi

When you get into this odd state can you confirm

1) The CIFS view is incorrect
2) The UI view is correct

and then try

3) Finding the files using search in the UI
4) Access to the files via FTP or WebDAV

Is the index information stored on a local disk?

Andy

fschnell
Champ in-the-making
Champ in-the-making
Andy,

sorry for the delay.

1) the CIFS view is incorrect.
2) the Web UI view is correct.
3) search finds the files in the correct folder
4) FTP shows them in the incorrect folder

The index is stored on the local disk.

I hope that helps.

Frank

andy
Champ on-the-rise
Champ on-the-rise
Hi

Sorry to miss one out of the list ….

Can you check that WebDAV shows the correct files.
http://localhost:8080/alfresco/webdav/

It helps us narrow down where the issue lives.

If you could confirm the issue is still present on 2.1 (with the same set of tests) that would also help.

Andy