Everything is interfering with our files

Discussion related to "Everything" 1.5 Alpha.
Post Reply
gijsie88
Posts: 5
Joined: Mon Nov 18, 2024 10:33 am

Everything is interfering with our files

Post by gijsie88 »

Hi All,

I am quite new using everything.
We are using a CAD program called Solid Edge and save all files on a local server.
This server uses Solid Edge built-in data management to index all files and relations between files.
The setup of this data management has 3 folder trees to manage file status and we use everything to index this data and search for files.

The problem is that during a lot of save actions (about 50%, or more, of the time) files are becoming read-only.
We had a conversation with the developers of Solid Edge, they could only reproduce this problem when they installed everything on their systems as well.

They say, being in contact with microsoft and useing their best practices for file saving.
This means during the save command, they close the file for a few micro seconds.
In these micro seconds, it seems everything is interfering with the file and Solid Edge sees this as the file opened by another user or process.

Is there any option to prevent this?
Are there more users with these problems?
therube
Posts: 4985
Joined: Thu Sep 03, 2009 6:48 pm

Re: Everything is interfering with our files

Post by therube »

What version of Everything.
Explain your Everything setup, what is being indexed, where the index is being stored...


(I'll just point out some earlier (Auto)"CAD" topics, & not that I know if they're relevant here.

AutoCAD File Corruption after installing 1.4.1.935
Auto desk(CAD,Inventor) Bug
https://www.autodesk.com/support/techni ... uters.html
https://forums.autodesk.com/t5/inventor ... -p/9698842
https://www.autodesk.com/support/techni ... tream.html)
horst.epp
Posts: 1448
Joined: Fri Apr 04, 2014 3:24 pm

Re: Everything is interfering with our files

Post by horst.epp »

gijsie88 wrote: Mon Nov 18, 2024 11:02 am This means during the save command, they close the file for a few micro seconds.
In these micro seconds, it seems everything is interfering with the file and Solid Edge sees this as the file opened by another user or process.

Is there any option to prevent this?
Are there more users with these problems?
When the file is closed, Everything will start to index it.
That's normal behavior.
Maybe David can make an option to delay this
but for normal users this would slow down the indexing.

You can exclude the folders and make a Folder indexing entry for it,
which scans manual or on certain times.
void
Developer
Posts: 16770
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything is interfering with our files

Post by void »

Everything doesn't touch file contents and does not open handles to files.
File content might be accessed indirectly (icons / thumbnails / preview handlers)

Please try disabling icons, thumbnails and previews:
  • Copy and paste the following into your Everything search box:
    /icon_shell_extensions=0
  • Press ENTER in your Everything search box.
  • If successful, icon_shell_extensions=0 is shown in the status bar for a few seconds.


Set the View to Details. (View -> Details)
Hide the preview pane (View -> Uncheck preview)

Does the issue persist?



Please see if the issue persists with Everything 1.5.
Everything 1.5 will wait 1 second before loading icons/thumbnails/previews from new/modified files.
gijsie88
Posts: 5
Joined: Mon Nov 18, 2024 10:33 am

Re: Everything is interfering with our files

Post by gijsie88 »

Ok Good options.

We are going to test it tomorrow.
Previously we where using build 1367.
I have installed 1383 to test tomorrow.
Ik this is not helping I will try to disabling icons, thumbnails and previews.

Manny thanks for your fast response!
gijsie88
Posts: 5
Joined: Mon Nov 18, 2024 10:33 am

Re: Everything is interfering with our files

Post by gijsie88 »

I still see problems occurring every now and then.
Do you have some other options?
void
Developer
Posts: 16770
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything is interfering with our files

Post by void »

Are you indexing any properties under Everything -> Tools -> Options -> Properties?

Are you showing any columns other than name, path, size and date modified?



Please try disabling ReadDirectoryChanges:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    read dir
  • Select: read_directory_changes
  • Set the value to: false
  • Click OK.
  • Restart Everything (File -> Exit)
Everything will fallback to SHChangeNotify when ReadDirectoryChanges is disabled.
ReadDirectoryChanges can open handles to folders. (but shouldn't be touching your files)



Please try increasing property_read_on_change_delay:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    prop delay
  • Select: property_read_on_change_delay
  • Set the value to: 10000
    (where 10000 is the number of milliseconds to wait before accessing a file for icons/thumbnails/previews/properties after modification)
  • Click OK.
gijsie88
Posts: 5
Joined: Mon Nov 18, 2024 10:33 am

Re: Everything is interfering with our files

Post by gijsie88 »

I have 3 properties other properties idexed.
These properties are only used on certain files with .asm, .par, .psm, .dft extensions.
These are also the files which occur the problems.

I disabled the Attempt to "monitor changes", this of course solved the problems.
Only I expect too see changes only after a Rescan
void
Developer
Posts: 16770
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything is interfering with our files

Post by void »

Please try re-enabling monitoring, read_directory_changes and disabling read_directory_changes_get_long_path_name:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the Advanced tab on the left.
  • To the right of Show settings containing, search for:
    read dir
  • Select: read_directory_changes
  • Set the value to: true
  • Select: read_directory_changes_get_long_path_name
  • Set the value to: false
  • Click OK.
Does the issue persist?
void
Developer
Posts: 16770
Joined: Fri Oct 16, 2009 11:31 pm

Re: Everything is interfering with our files

Post by void »

What version of Solid Edge are you using?

I would like to do some tests my end.
gijsie88
Posts: 5
Joined: Mon Nov 18, 2024 10:33 am

Re: Everything is interfering with our files

Post by gijsie88 »

We are using Solid Edge 2024.
Currently I have 4 systems with Everything running without any problems.
I have done the Read_directory_changes, but not the long_path_name.

If this is working tomorrow without any problems, we will scale up throughout the company.

I had some contact with our suplier about this problem.
The guy says there are about 60 companies in The Netherlands using everything in combination with Solid Edge Data Management.
He has only 1 other company with some problems, if we found the problem with this setting I will ask him to forward this solution to the other customer.
And correspond the feedback back to us.
Post Reply