XYplorer is hanging
Forum rules
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
When reporting a bug, please include the following information: your XYplorer version (e.g., v27.90.0047), your Windows version (e.g., Win 11), and your screen scaling percentage (e.g., 125%). We recommend adding your Windows version and screen scaling percentage to your profile or signature. This will make debugging much easier for us.
XYplorer is hanging
It was working fine, then suddenly I can't use it anymore. XYplorer pegs one CPU and is "not responding".
It might have something to do with Tortoise-git. I see that TGitCache is also burning CPU time.
It might have something to do with Tortoise-git. I see that TGitCache is also burning CPU time.
Re: XYplorer is hanging
I'm also experiencing more hangs now but on background processing....Do you have background processing enabled?
Re: XYplorer is hanging
I'm not doing any background activity. Just looking at the listing.
I think it has something to do with TGitCache.exe which serves the icon overlays.
I think it has something to do with TGitCache.exe which serves the icon overlays.
-
admin
- Site Admin
- Posts: 64875
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYplorer is hanging
Did you tick or untick Configuration | Advanced | In network locations as well? Does changing this setting change the hanging?
FAQ | XY News RSS | XY X
Re: XYplorer is hanging
I just looked; it was "on", I turned it "off", and then clicked on a different directory in this same repository. It immediately hung.
Killing TGitCache may clear it up; or it might hang again right away. I keep killing it 'till it works. Killing XY and re-running does not generally clear it up.
Killing TGitCache may clear it up; or it might hang again right away. I keep killing it 'till it works. Killing XY and re-running does not generally clear it up.
-
admin
- Site Admin
- Posts: 64875
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYplorer is hanging
Just to make sure, I meant Show icon overlays | In network locations as well. I just saw that there are two "In network locations as well".JDługosz wrote:I just looked; it was "on", I turned it "off", and then clicked on a different directory in this same repository. It immediately hung.
Killing TGitCache may clear it up; or it might hang again right away. I keep killing it 'till it works. Killing XY and re-running does not generally clear it up.
FAQ | XY News RSS | XY X
Re: XYplorer is hanging
Yes.
It looks like it can hang even if I'm not looking at a directory that changed. I changed files in subdirectories, and XY camped on a CPU again, with TGitCache on another.
It looks like it can hang even if I'm not looking at a directory that changed. I changed files in subdirectories, and XY camped on a CPU again, with TGitCache on another.
Re: XYplorer is hanging
hey donald, great piece of software, thanks for your efforts!
however, i'm having similar problems with XYplorer hanging if there are (offline) network locations in the hotlist or recent location list. the hanging occurs when
- trying to delete a file (even if it's on my harddisk, doesn't matter if queue/background processing is enabled, deleting takes about 5-10 sec)
- starting XYplorer (even though no network tab is opened, takes about 20 sec)
- copying/moving files (even when copying bewteen the harddisks in my computer... and it's not always hanging like with delete opeations, but if it's hanging, it's about for the same amount of time, 5-10 sec)
both "in network locations as well" settings are unchecked and "assume that servers are available" is checked. i thought this to be the safest setting? my OS is windows 7 ultimate and network servers are my notebook and my smartphone, both accesed via windows shares (smb), they are not always turned on but almost always in the hotlist/recent location drop down menus....
hope you got any ideas or sugeestions, thanks!
however, i'm having similar problems with XYplorer hanging if there are (offline) network locations in the hotlist or recent location list. the hanging occurs when
- trying to delete a file (even if it's on my harddisk, doesn't matter if queue/background processing is enabled, deleting takes about 5-10 sec)
- starting XYplorer (even though no network tab is opened, takes about 20 sec)
- copying/moving files (even when copying bewteen the harddisks in my computer... and it's not always hanging like with delete opeations, but if it's hanging, it's about for the same amount of time, 5-10 sec)
both "in network locations as well" settings are unchecked and "assume that servers are available" is checked. i thought this to be the safest setting? my OS is windows 7 ultimate and network servers are my notebook and my smartphone, both accesed via windows shares (smb), they are not always turned on but almost always in the hotlist/recent location drop down menus....
hope you got any ideas or sugeestions, thanks!
-
admin
- Site Admin
- Posts: 64875
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYplorer is hanging
Hi and welcome!dhrv wrote:hey donald, great piece of software, thanks for your efforts!
however, i'm having similar problems with XYplorer hanging if there are (offline) network locations in the hotlist or recent location list. the hanging occurs when
- trying to delete a file (even if it's on my harddisk, doesn't matter if queue/background processing is enabled, deleting takes about 5-10 sec)
- starting XYplorer (even though no network tab is opened, takes about 20 sec)
- copying/moving files (even when copying bewteen the harddisks in my computer... and it's not always hanging like with delete opeations, but if it's hanging, it's about for the same amount of time, 5-10 sec)
both "in network locations as well" settings are unchecked and "assume that servers are available" is checked. i thought this to be the safest setting? my OS is windows 7 ultimate and network servers are my notebook and my smartphone, both accesed via windows shares (smb), they are not always turned on but almost always in the hotlist/recent location drop down menus....
hope you got any ideas or sugeestions, thanks!
Some quick thoughts:
1. slow delete - maybe your recycle bin is overcrowded.
2. network slowness
Code: Select all
> Recommended settings to speed up browsing and startup when you
often have to deal with unavailabe network locations:
In Configuration:
- OFF: General | Check existence of subfolders in tree |
In network locations as well
- ON: Startup & Exit | No network browsing on startup
And a Tweak (will speed up icon retrieval in List Management,
Catalog, and some other places of the interface):
- ON: GenericIconsForNetworkLocations = 1
PS: How to tweak
FAQ | XY News RSS | XY X
Re: XYplorer is hanging
hey donald, thanks for your quick response.
but the issue isn't fixed quite yet. maybe i'll try the install-version (running portable right now) and a clean .ini, so i have default settings and Xyplorer is integrated into the system. but before i try that, is there some kind of verbose log?
or could it be that i have several network folders toggled as fav folders so i can access them via right-click in the tree? (i have them stored with their fixed IP address, not the computer name).
this shouldn't be the issue since the process of deleting files is fast as ever, it's just the the start of the deleting process is delayed by some seconds (it doesn't matter if i delete to recycle bin or shift-delete directly and using different settings for queue/background processing). deleting files works instantly in windows explorer, so i think is has something to do with XYplorer.admin wrote:
1. slow delete - maybe your recycle bin is overcrowded.
i have applied settings #1 and #3, setting #2 was already active. it has helped a little bit, now XYplorer/operations only hang for about 2-5 seconds.admin wrote:
2. network slownessCode: Select all
> Recommended settings to speed up browsing and startup when you often have to deal with unavailabe network locations: In Configuration: - OFF: General | Check existence of subfolders in tree | In network locations as well - ON: Startup & Exit | No network browsing on startup And a Tweak (will speed up icon retrieval in List Management, Catalog, and some other places of the interface): - ON: GenericIconsForNetworkLocations = 1
but the issue isn't fixed quite yet. maybe i'll try the install-version (running portable right now) and a clean .ini, so i have default settings and Xyplorer is integrated into the system. but before i try that, is there some kind of verbose log?
or could it be that i have several network folders toggled as fav folders so i can access them via right-click in the tree? (i have them stored with their fixed IP address, not the computer name).
-
admin
- Site Admin
- Posts: 64875
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYplorer is hanging
1. The recycle bin size does matter before the actual deletetion takes place.
2. If the icon stuff does not help I'm out of ideas. Portable versus non-portable is no difference -- it's the same app, just packed differently.
Verbose log: no.
Favs: try to remove them from the favs and see whether it makes a difference.
2. If the icon stuff does not help I'm out of ideas. Portable versus non-portable is no difference -- it's the same app, just packed differently.
Verbose log: no.
Favs: try to remove them from the favs and see whether it makes a difference.
FAQ | XY News RSS | XY X
Re: XYplorer is hanging
hey donald, hope you had great holidays.
i've researched a little more and found out that XYplorer is looking for the previous SMB server on startup (i ran a tcpdump on my android phone and when XYplorer started my desktop pc tried to connect to the phone). this connection attempt causes the delay or "hanging" i was talking about. but i think XYplorer is innocent because:
- removing all network related paths/history entries in the .ini (MiniTreePaths=;[LookIn];[mruBrowse];[Favorites];.......) makes no difference
- it only tries to connect to the last connected SMB server, not to the other potential SMB servers in my network
- it tries to connect throughout XYplorer and Windows sessions (so rebooting or closing and restarting XYplorer won't change the behaviour, it always tries to connect on XYplorer startup)
- the only time when it's not try to connect to the SMB server is in a small time frame of about 30 seconds after it has initially tried a connection attempt (so closing and restarting XYplorer during those 30 seconds results in NO delay for the startup or delete actions)
like i already said, Windows Explorer is working just fine. so i guess this is more of a windows network cache issue. but i haven't stumbled upon any articles about this supposed problem, maybe i just have a bad network setting in my windows? do you by any chance know where i can change parameters for network server cache or connection timeouts in windows?
i've researched a little more and found out that XYplorer is looking for the previous SMB server on startup (i ran a tcpdump on my android phone and when XYplorer started my desktop pc tried to connect to the phone). this connection attempt causes the delay or "hanging" i was talking about. but i think XYplorer is innocent because:
- removing all network related paths/history entries in the .ini (MiniTreePaths=;[LookIn];[mruBrowse];[Favorites];.......) makes no difference
- it only tries to connect to the last connected SMB server, not to the other potential SMB servers in my network
- it tries to connect throughout XYplorer and Windows sessions (so rebooting or closing and restarting XYplorer won't change the behaviour, it always tries to connect on XYplorer startup)
- the only time when it's not try to connect to the SMB server is in a small time frame of about 30 seconds after it has initially tried a connection attempt (so closing and restarting XYplorer during those 30 seconds results in NO delay for the startup or delete actions)
like i already said, Windows Explorer is working just fine. so i guess this is more of a windows network cache issue. but i haven't stumbled upon any articles about this supposed problem, maybe i just have a bad network setting in my windows? do you by any chance know where i can change parameters for network server cache or connection timeouts in windows?
-
admin
- Site Admin
- Posts: 64875
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYplorer is hanging
Thanks for the info and the wishes!dhrv wrote:hey donald, hope you had great holidays.
i've researched a little more and found out that XYplorer is looking for the previous SMB server on startup (i ran a tcpdump on my android phone and when XYplorer started my desktop pc tried to connect to the phone). this connection attempt causes the delay or "hanging" i was talking about. but i think XYplorer is innocent because:
- removing all network related paths/history entries in the .ini (MiniTreePaths=;[LookIn];[mruBrowse];[Favorites];.......) makes no difference
- it only tries to connect to the last connected SMB server, not to the other potential SMB servers in my network
- it tries to connect throughout XYplorer and Windows sessions (so rebooting or closing and restarting XYplorer won't change the behaviour, it always tries to connect on XYplorer startup)
- the only time when it's not try to connect to the SMB server is in a small time frame of about 30 seconds after it has initially tried a connection attempt (so closing and restarting XYplorer during those 30 seconds results in NO delay for the startup or delete actions)
like i already said, Windows Explorer is working just fine. so i guess this is more of a windows network cache issue. but i haven't stumbled upon any articles about this supposed problem, maybe i just have a bad network setting in my windows? do you by any chance know where i can change parameters for network server cache or connection timeouts in windows?
Somewhere the network path must be stated, maybe in Catalog or in a tab, otherwise XY would not try to connect.
No, I don't know where these parameters can be changed.
FAQ | XY News RSS | XY X
Re: XYplorer is hanging
hey donald,
it's been a long time since i reported this issue and it still bothers me from time to time.
BUUUUT:
i have just found out by accident while tracing network packets that the reason for this delay is XYplorer trying to connect to an unavailable SMB share from the last active tab in Pane 2, even when Pane 2 is hidden (which is the case for me 95% of the time) and only on certain file operations (deleting, moving are causing a delay - copying, renaming are fine - i didn't test other file operations)
this is why the "debugging" measures from my last post did not help: the path of the SMB share is stored in the [General] and [Tabs] sections of XYplorer\Data\Panes\2\t\pane.ini and i didn't look there.
--> Can you please incorporate a fix that network locations from hidden panes/tabs/other entities don't get accessed on file operations like deleting and moving? it also may have something to do with being in a different subnet than the network location of Pane 2. attached is a screenshot that shows the network packets being sent to the unavailable network location after deleting a file on my local harddrive and while Pane 2 is hidden. as you can see, this operation takes about 30 seconds and during this time, XYplorer is frozen.
it's been a long time since i reported this issue and it still bothers me from time to time.
BUUUUT:
i have just found out by accident while tracing network packets that the reason for this delay is XYplorer trying to connect to an unavailable SMB share from the last active tab in Pane 2, even when Pane 2 is hidden (which is the case for me 95% of the time) and only on certain file operations (deleting, moving are causing a delay - copying, renaming are fine - i didn't test other file operations)
this is why the "debugging" measures from my last post did not help: the path of the SMB share is stored in the [General] and [Tabs] sections of XYplorer\Data\Panes\2\t\pane.ini and i didn't look there.
Code: Select all
[General]
...
Location=\\192.168.2.212\share\
...
[Tabs]
...
D1=\\192.168.2.212\share\
...
--> Can you please incorporate a fix that network locations from hidden panes/tabs/other entities don't get accessed on file operations like deleting and moving? it also may have something to do with being in a different subnet than the network location of Pane 2. attached is a screenshot that shows the network packets being sent to the unavailable network location after deleting a file on my local harddrive and while Pane 2 is hidden. as you can see, this operation takes about 30 seconds and during this time, XYplorer is frozen.
- Attachments
-
- 2016-11-21_17-07-15.png (27.62 KiB) Viewed 3836 times
-
admin
- Site Admin
- Posts: 64875
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: XYplorer is hanging
I have seen this and put it on my list. Thanks for the report.
FAQ | XY News RSS | XY X
XYplorer Beta Club