-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
300% cpu utilization when detached with no windows opened #2714
Comments
Please see ReportingBugs wiki, at the very least we need:
|
2020-04-07 10:16:25: marcelo commented
|
2020-04-07 10:17:32: marcelo uploaded file
|
2020-04-07 10:19:01: marcelo uploaded file
|
2020-04-07 10:21:18: marcelo uploaded file
|
2020-04-07 10:23:04: marcelo commented
|
Ouch! Why did you change this?
OK, I hope that you have bandwidth to spare for those settings!
So you had a What else is running in this session? When you captured
Can you capture Another thing worth trying is to enable full server debug logging for just a few seconds, ie for
Then the server log file should tell us what the server is spending its CPU time on. 300% is very suspicious: most of the server code is single threaded, so it should not be using more than 100% unless you're using a video encoder... (but your settings don't allow that) |
|
2020-04-08 08:16:11: antoine commented
|
2020-04-12 09:47:13: marcelo commented
|
2020-04-12 09:48:02: marcelo uploaded file
|
2020-04-12 09:48:16: marcelo uploaded file
|
2020-04-12 10:05:48: marcelo commented
|
2020-04-12 11:23:43: antoine commented
|
2020-04-12 13:05:52: marcelo commented
|
2020-04-12 13:06:24: marcelo uploaded file
|
There doesn't seem to be any suspicious processes in there. |
2020-04-12 22:20:42: marcelo commented
|
I can reproduce some problems with these exact steps! First, the window geometry ends up completely wrong, which causes problems during encoding:
We shouldn't even attempt to compress anything this wide! I guess we keep retrying, and eventually the compress queue ends up blocked:
|
Lots of fixes:
With these fixes (key ones backported to v3 in 26109 + 26110), I am unable to get the server stuck at all. There are 3.0.9-RC builds in the beta area with those fixes included. The Firefox window still doesn't display properly in maximized state, and I will try to fix that next, but that's less critical than the bugs fixed above.
|
Interesting, GTK gives us an invalid window geometry and so does the OS. The bug goes away, if I use With v3:
followed by a maximize event with size With v4:
Looks like setting a max-size is what's causing the problem, somewhat reminiscent of #2214. |
That's because Firefox uses some strange size hints:
And we try to honour it but the maximum size triggers some weird behaviour on win32. The quick and dirty workaround is in r26112 (will backport to v3), I will try to find a more correct solution. |
2020-04-13 16:02:25: marcelo commented
|
Yes, the beta client should fix that too, let me know if you still have problems. I have just uploaded some new win32 builds: https://xpra.org/beta/windows/ |
So the problem with maximized state on ms windows is twofold:
Another way to fix this is to re-enable the |
2020-04-14 04:37:02: antoine uploaded file
|
Issue migrated from trac ticket # 2714
component: server | priority: blocker | resolution: fixed
2020-04-07 10:12:46: marcelo created the issue
The text was updated successfully, but these errors were encountered: