Copy Handler Community Forum

CH Support => General support => Topic started by: Donk on November 21, 2016, 08:10:15 AM

Title: 35 % of the CPU when incative
Post by: Donk on November 21, 2016, 08:10:15 AM
Although CopyHandler does not do anything, it uses about 35 % of the CPU all the time:
(http://i.imgur.com/gI8LNz3.png)

How could one stop it?
Title: Re: 35 % of the CPU when incative
Post by: Ixen on November 26, 2016, 09:56:21 AM
Can you post here which version of CH are you using?
Does it eat that much CPU after fresh launch or only after doing some operations there?
Title: Re: 35 % of the CPU when incative
Post by: Donk on November 26, 2016, 10:17:39 AM
Many thanks.

Sorry for leaving that information out:

(http://i.imgur.com/5ei8tFw.png)

QuoteDoes it eat that much CPU after fresh launch or only after doing some operations there?
Both, after starting it and after some operations. Or after fresh installation: sorry, I cannot remember it anymore, respectively, may be I didn't noticed it at the beginning, but it might have been like that form the beginning. When I start CH now, it immediately uses such big recourse of the CPU.
Title: Re: 35 % of the CPU when incative
Post by: Ixen on November 26, 2016, 10:39:53 AM
That is very strange behavior.

The below assumes that you have installed CH using the official installer. If you use the portable version, the directory to backup will be inside the program directory.

Could you please:
1. Backup the directory "%LOCALAPPDATA%\Copy Handler\" somewhere (in case it is needed for some further investigation). Please do that while CH is not running.
2. Delete the directory and run CH again.

Let me know if it still eats the CPU that much.
Title: Re: 35 % of the CPU when incative
Post by: Donk on November 26, 2016, 11:00:27 AM
Sorry, it is the portable version, didn't know it is not displayed in the version information.

So, I guess, I do not have such a folder, sorry.
Title: Re: 35 % of the CPU when incative
Post by: Ixen on November 26, 2016, 11:38:47 AM
So that should be even easier to test - please re-download the newest clean portable version and launch it. Please just unpack the version to a new directory and run ch64.exe (do not change the configuration and do not modify the unpacked files in any way) and let me know it problem persists.
I checked the cpu usage for freshly downloaded ch portable and on my system it is around 0.01%. I'll try to reproduce it on Windows 10.

Also - please check what version of Windows 10 you do have (the exact number).
Title: Re: 35 % of the CPU when incative
Post by: Donk on November 26, 2016, 11:44:33 AM
(http://i.imgur.com/e6UmMQt.png)

CH does not always use such big CPU resources. Sometimes it does sometimes it does not. I will try it later.
Title: Re: 35 % of the CPU when incative
Post by: Ixen on November 26, 2016, 12:12:02 PM
Thanks. The only unusual thing here is that you're using the Core version of Windows 10 - I haven't seen such version in the wild yet. Did I read it correctly, or the tool reports the wrong version?
Also, isn't build 14393 an Insider build?
Title: Re: 35 % of the CPU when incative
Post by: Donk on November 26, 2016, 12:29:17 PM
Very sorry, I really have any idea (of anything), I would think the information should be correct:
http://speccy.piriform.com/results/Nqzri6iYvLD3rohQB8r2aZY

QuoteAlso, isn't build 14393 an Insider build?
I absoulutely do not know, it was supplied with the notebook, so it should be a quite usual (ugly) Win version, I guess.

What is an insider build? Is it better than a usual one? And what is the core version of Windows 10?

(http://i.imgur.com/pwyg6ix.png)

(http://i.imgur.com/Meuy1pP.png)

(http://i.imgur.com/wxuAkML.png)
Title: Re: 35 % of the CPU when incative
Post by: Ixen on November 26, 2016, 12:50:22 PM
Yup, the new information seems to be more reliable.
Insider builds are more like beta version of Windows. Windows Core - seems like it is for some embedded systems, hence my confusion.

With this information I'd say everything is quite normal - standard Windows version, system is not resource-staved. Should work properly.
I'll wait for you to let me know how the fresh portable version is behaving freshly after unpacking. And possible some more information on when CH takes too much CPU and when it does stop doing that.

As additional help here - could you please check which CH thread is taking the cpu?
If yes, then:
1. Please install (or use portable version) Process Hacker (http://processhacker.sourceforge.net/downloads.php )
2. Download the debugging symbols for CH 1.44 (https://sourceforge.net/projects/copyhandler/files/copyhandler/1.44/chsymbols-1.44.zip/download) and unpack all the pdb files to the location where ch64.exe exists (the portable CH location). In the end you should have the ch64.exe and ch64.pdb next to each other.
3. Run CH and ensure it is taking much of the CPU without doing anything,
4. Run the Process Hacker and locate ch64.exe on the process list. Double click on that.
5. Switch to Threads tab and attach a screenshot here.
Title: Re: 35 % of the CPU when incative
Post by: Donk on November 26, 2016, 02:45:10 PM
OK, I understand.

After having set up a new portable version CH behaves correctly at the moment. CPU usage like usual.

Good, I will try to do the items when CH uses much CPU.

The old CH - causing the problem - and the new one run properly, no high CPU usage. May be there is a connection to using the new one, so the new on somehow caused that the old one runs well now. Or changing the path of the old one / new one caused it.

Many thanks
Title: Re: 35 % of the CPU when incative
Post by: Ixen on November 26, 2016, 03:01:59 PM
Good. Let me know if it happens again and in what circumstances.
Title: Re: 35 % of the CPU when incative
Post by: Donk on November 26, 2016, 06:11:30 PM
OK, I will try to.
Title: Re: 35 % of the CPU when incative
Post by: Deplorable Inu on December 02, 2016, 06:18:40 AM
Will try, but can confirm, it was happening to me as well.  I restarted and it went down again, had to kill process ch64.exe, the cpu usage seems to slowly cycle upwards from what I can tell so far, very slowly doing the 0% to x% fluctuation until it gets big, is my guess.  I only watched it long enough to see it grow from 0-0.1% to eventually 0-0.4%
Title: Re: 35 % of the CPU when incative
Post by: Ixen on December 02, 2016, 08:55:13 AM
I'd say that 0.1-0.4% is quite normal CPU usage for CH. What I can't really reproduce is the very high cpu usage when CH does not do anything (does not perform any copy/move operation). If you find the reliable way to reproduce the high cpu usage - please share it so that it may be fixed.
Title: Re: 35 % of the CPU when incative
Post by: Deplorable Inu on December 20, 2016, 07:14:15 AM
been trying to reproduce the issue, but its not easy, but malware bytes now identifies it as malware?
(http://i.imgur.com/iZG8tZy.png)
Title: Re: 35 % of the CPU when incative
Post by: Deplorable Inu on December 25, 2016, 01:16:07 AM
(http://i.imgur.com/gpnmShS.png)
success, it ended up at 27% cpu usage idling.
just normal usage over more than a week.
had to end task the process
Title: Re: 35 % of the CPU when incative
Post by: Ixen on December 26, 2016, 05:30:20 AM
I also noticed that the new malwarebytes identifies parts of CH as PUP.Optional.Unizeto. What is strange, it only reports this if placed inside zip file. When CH is installed, there are no issues detected, even though both zip and installed version have the same binaries inside.
I have just mailed Malwarebytes about that - we'll see if they can help with that.
Title: Re: 35 % of the CPU when incative
Post by: Ixen on December 26, 2016, 05:36:37 AM
Can you confirm that after re-launching CH the CPU usage was back to normal?
Title: Re: 35 % of the CPU when incative
Post by: Deplorable Inu on December 26, 2016, 01:26:56 PM
Yes after process kill the cycle resets.

win 10 64bit
shell extension enabled
Title: Re: 35 % of the CPU when incative
Post by: Ixen on January 24, 2017, 06:21:05 PM
I have made some changes and potential fixes in 1.45beta1 that might help with logging thread eating too much of the cpu.
I encourage you to check that version (note that this is still beta).
Title: Re: 35 % of the CPU when incative
Post by: Deplorable Inu on August 13, 2017, 11:47:10 PM
Ah ok thanks, I will try copy handler again, but the link to the beta doesn't exist?