100% cpu on windows xp

100% cpu on windows xp

Postby kissson » 2016-07-30 11:01

windows xp sp3 32 bit (virtualbox 4.3 single core )
uvnc 1.2.11
installed as service
using reverse connect to viewer
it does connect and connected, only problem is 100% cpu

my UltraVNC.ini
[admin]
UseRegistry=0
MSLogonRequired=0
NewMSLogon=0
DebugMode=0
Avilog=0
path=C:\XXX\AppData\UvncX32
kickrdp=0
service_commandline=-autoreconnect -connect 1.2.3.4::59002
DebugLevel=10
DisableTrayIcon=1
LoopbackOnly=0
UseDSMPlugin=0
AllowLoopback=1
AuthRequired=1
ConnectPriority=0
DSMPlugin=No Plugin Detected
AuthHosts=
AllowShutdown=0
AllowProperties=0
AllowEditClients=0
FileTransferEnabled=1
FTUserImpersonation=1
BlankMonitorEnabled=0
BlankInputsOnly=0
DefaultScale=1
SocketConnect=0
HTTPConnect=1
AutoPortSelect=1
PortNumber=5900
HTTPPortNumber=5800
IdleTimeout=0
IdleInputTimeout=0
RemoveWallpaper=0
RemoveAero=0
QuerySetting=1
QueryTimeout=10
QueryAccept=0
QueryIfNoLogon=0
primary=1
secondary=0
InputsEnabled=1
LockSetting=0
LocalInputsDisabled=0
EnableJapInput=0
FileTransferTimeout=1
clearconsole=0
accept_reject_mesg=
KeepAliveInterval=5
rdpmode=0
[poll]
TurboMode=1
PollUnderCursor=0
PollForeground=0
PollFullScreen=1
OnlyPollConsole=0
OnlyPollOnEvent=0
EnableDriver=0
EnableHook=1
EnableVirtual=0
SingleWindow=0
SingleWindowName=
MaxCpu=40
kissson
8
8
 
Posts: 23
Joined: 2006-06-12 08:52

Re: 100% cpu on windows xp

Postby Rudi De Vos » 2016-07-30 11:45

100% cpu while connected or always.
Does taskmgr give 100% cpu for winvnc.exe ???

MAxcpu is set to 40.
This mean that uvnc slowdown his update cycle if winvnc.exe use more then 40% of the cpu

If you are using the systemhook ( vnchook.dll) try to disable it, possible this interact with some other applications.
EnableHook=1 -> 0 or via the gui.

Via the viewer you select the encoder used by the server.
While running, press the info button to see the encoder that's actual used, the auto mode doesn't take the cpu in account.

high cpu ( zrle tight zlib xz xzyw) low bandwidth
low cpu (hextile) higher bandwidth
u2 ( jpeg compression) low cpu and bandwidth, but jpeg give artifacts lossy compression

start the veiwer, normal mode
options-> auto mode off and select manual an encoder.
[v]save connection settings as default
Once set, defaults are used for invers and normal connections.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5471
Joined: 2004-04-23 10:21

Re: 100% cpu on windows xp

Postby kissson » 2016-07-31 13:19

EnableHook=1 -> 0 or via the gui helps , thanks

while EnableHook=1 , after connected, I can see both csrss.exe and taskmgr.exe sum up to 100% in task manager and cause taskmgr.exe memory leaking, until hundreds of MB of memory of taskmgr.exe I kill it, system still unresponsive then it conclude csrss is the source

is it winvnc with enablehook trying to write hugh amout of data to stdout or stderr cause csrss high cpu?
kissson
8
8
 
Posts: 23
Joined: 2006-06-12 08:52

Re: 100% cpu on windows xp

Postby Rudi De Vos » 2016-07-31 19:26

A hook inject himself in all running processes and capture window message that interact with the gui. ( like menu positions)
This data is used to give vnc hints about the changed screen positions.

In 99,9% of the cases this works...when it don't it's because another app is incompatible with the hook.
Rudi De Vos
Admin & Developer
Admin & Developer
 
Posts: 5471
Joined: 2004-04-23 10:21

Re: 100% cpu on windows xp

Postby Unit_1000 » 2017-07-13 22:38

I have 2 Win XP machines that are having this 100% CPU with UVNC SERVER when connected. Using `1.2.15

Tried everything suggested in this thread. Nothing changed it a bit. Changing color depth, scaling, compression. Nothing helped.

Anyone have a fix for this?
Thanks,
Rob
Unit_1000
 
Posts: 6
Joined: 2016-06-22 06:55


Return to 1.2.1.x

Who is online

Users browsing this forum: No registered users and 0 guests