Long Time to close Everything?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Phlashman
Posts: 41
Joined: Sun Sep 11, 2022 4:57 am

Long Time to close Everything?

Post by Phlashman »

Using Everything 1.5, when closing via File/Exit the entry in Task Manager (not the Service running) takes a long time to end. Same for
for /Restart in search field to close and restart Some times 10 minutes or more? A computer shutdown comes up with a message that Everything is still running and whether to shutdown anyway.

What debug procedure can I do to send and try and workout whats holding exiting up?

Thanks

Everything: 1.5.0.1358a (x64)
OS: Windows NT 10.0 19045 (x64)
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Long Time to close Everything?

Post by void »

Common issues are:
Very large database -please try reducing content, properties and filenames that are indexed.
Shell extension stops responding -please try removing any non-file columns.



What is shown for the Total size under Tools -> Debug -> Statistics -> Database -> Total size?
Are you showing any additional columns such as length or dimensions?
Are you Viewing thumbnails?



To create a debug log:
  • In Everything 1.5, from the Tools menu, under the Debug submenu, click Start Debug Logging.
  • From the File menu, click Exit.
    --wait for the Everything process to end
  • Please check your %TEMP%\Everything Debug Log.txt
    -If unsure, please send this file to support@voidtools.com
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Long Time to close Everything?

Post by void »

Thank you for the logs Phlashman,

Everything is busy processing millions of changes to your folder index.



Everything 1.5.0.1359a improves monitoring performance when excluding items from folder indexes.

When a change is detected to a folder, Everything will lookup the changed file of folder by filename before updating your folder index.

With this version you can add an exclude filter for both folders and files.
If the filename matches both a file and folder exclude filter, Everything will no longer perform a file/folder lookup from the filename.
This will significantly improve monitoring performance if you have millions of changes.



To exclude .db folders:
  • In Everything, from the Tools menu, click Options.
  • Click the Exclude tab on the left.
  • Click Add Filter....
  • Set the filter to:
    \\server\share\**.db
  • Click OK.
  • Set Exclude files to: \\server\share\**.db
  • Click OK.
Everything will no longer lookup *.db folders (to determine if they are really folders) and exclude them immediately.
Phlashman
Posts: 41
Joined: Sun Sep 11, 2022 4:57 am

Re: Long Time to close Everything?

Post by Phlashman »

Thanks for that, I will give it a try asap

Just to confirm what we had also discussed re the excluding of folders and files in the exclude tab, if there are "spaces" in the
path name in either the Exclude Folder filter or Exclude files, unlike when entering into search, double quotes are not required?

Thanks
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Long Time to close Everything?

Post by void »

Correct.

Spaces do not need to be escaped in your exclude filters.
Spaces are treated literally.
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Long Time to close Everything?

Post by Thy Grand Voidinesss »

If you are still having problems with closing of Everything then save this as a BAT file and run it

Code: Select all

@echo off

taskkill /im Everything.exe
timeout /t 1 >nul
taskkill /im Everything.exe /t /f

net stop "Everything (1.5a)"
I myself use it often
horst.epp
Posts: 1445
Joined: Fri Apr 04, 2014 3:24 pm

Re: Long Time to close Everything?

Post by horst.epp »

Thy Grand Voidinesss wrote: Sat Nov 04, 2023 6:11 pm If you are still having problems with closing of Everything then save this as a BAT file and run it

Code: Select all

@echo off

taskkill /im Everything.exe
timeout /t 1 >nul
taskkill /im Everything.exe /t /f

net stop "Everything (1.5a)"
I myself use it often
A rude method which may lead to a corrupt database.
Also, stopping the service should not be necessary.
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Long Time to close Everything?

Post by Thy Grand Voidinesss »

Yes, it is crude - but as practice has shown me, often necessary

And so far I have not noticed corruptions. Although maybe this is what is triggering a halting of my volume C being indexed which keeps happening every now and then? [viewtopic.php?t=13224]
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Long Time to close Everything?

Post by void »

Please avoid terminating Everything and the Everything Service.
All changes to your settings and database will be lost when you terminate Everything.
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Long Time to close Everything?

Post by Thy Grand Voidinesss »

As it turns out when using

File > Exit

my Everything 1.5.0.1363a x64 Portable is never closing / removing the Everything and the Everything Service from list in Task Manager. And this has been like so for me either from the get which in this case is Everything 1.5.0.1315a x64 Portable or for months somewhere after 1.5.0.1315a being updated. I just never bothered to check just how long it takes Everything to completely close itself- and now I gave up after an hour

And no, I have no active indexing being done
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Long Time to close Everything?

Post by void »

Please try Everything-1.5.0.1366a.

Please let me know if this version does not close on exit.
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Long Time to close Everything?

Post by Thy Grand Voidinesss »

When opened out of the box with default settings the closing process after 10 minutes still was not able to remove it from Details in Task Bar. This also happens when I replace my current EXE with the new one thus run it with my personal settings
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Long Time to close Everything?

Post by void »

You might be seeing the Everything Service process in the Task Manager.

Does Everything start if it is relaunched?
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Long Time to close Everything?

Post by Thy Grand Voidinesss »

Yes it does- but only if 1 of the 2 entries disappear

Is that leftover that Everything Service, that I should not bother about from now on?
void
Developer
Posts: 16735
Joined: Fri Oct 16, 2009 11:31 pm

Re: Long Time to close Everything?

Post by void »

Yes, please leave it running.

If you really want it to stop the Everything Service when Everything exits: (not recommended if you are running multiple instances)
  • Exit Everything (File -> Exit)
  • Run Notepad as administrator.
  • In Notepad, open your Everything.ini in the same location as your Everything.exe
  • Change the following line:
    stop_service_on_exit=0
    to:
    stop_service_on_exit=1
  • Save changes and restart Everything.
Now when you exit Everything there should be no Everything.exe processes.
Thy Grand Voidinesss
Posts: 690
Joined: Wed Jun 01, 2022 5:01 pm

Re: Long Time to close Everything?

Post by Thy Grand Voidinesss »

But I still do have Everything.exe after closing - the one that takes 1908 K of memory [which does not prevent me from re-opening of Everything]

Is this that Everything Service?
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: Long Time to close Everything?

Post by therube »

Is this that Everything Service?
Yes. (At least most likely.)
The Service "typically" would use a couple MB of RAM.


(Depending on the tool you use to look, if using the "right" tool, you should be able to distinguish between an Everything GUI & an Everything Service.

Process Hacker or Process Explorer should work. I don't know how far Windows utilities [Task Manger or whatever] go in distinguishing things? [Looks like Task Manager can do it too - at least in Win7.])
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: Long Time to close Everything?

Post by tuska »

Thy Grand Voidinesss wrote: Sat Jan 13, 2024 8:14 am But I still do have Everything.exe after closing - the one that takes 1908 K of memory [which does not prevent me from re-opening of Everything]

Is this that Everything Service?
Please have a look at this picture...
 
2024-02-13_Task Manager_Everything - and - Everything Service.png
2024-02-13_Task Manager_Everything - and - Everything Service.png (158.5 KiB) Viewed 2401 times
 
____________________________________________________
Windows 11 Pro (x64) Version 23H2 (OS Build 22631.3085)
Processor: Intel(R) Core(TM) i5-12600K 12th Gen, 3.70 GHz, 10 Cores, 16 Logical Processors
Installed RAM: 32.0 GB (31.8 GB usable)
'Everything' 1.5.0.1367a (x64) - "Portable on system drive C:"
Post Reply