Open redyoshi49q opened 1 year ago
I think I'm encountering this too. From what I can see each time I get a steam notification popup the number of unix sockets increases for Xorg and steamwebhelper and never goes down. So perhaps the windows for notifications aren't being closed correctly?
I'm seeing this as well. At some point the system journal gets filled with "Maximum number of clients reached" and I become unable to open any new windows until I close steam.
Your system information
Same thing occurring to me.
Manjaro, latest stable branch.
/etc/X11/xorg.conf.d sudo ss -x src "*/tmp/.X11-unix/*" | grep -Eo "[0-9]+\s*$" | while read port ✔ 9s
do sudo ss -p -x | grep -w $port | grep -v X11-unix
done | grep -Eo '".+"' | sort | uniq -c | sort -rn
141 "steamwebhelper"
9 "Discord"
8 "steam"
5 "skypeforlinux"
5 "chrome"
3 "teams"
3 "kglobalaccel5"
3 "kded5"
2 "python"
2 "ksmserver"
2 "kscreen_backend"
2 "java"
Same here. steamwebhelper had almost 200 connections open with Xorg after leaving it open for a few weeks.
Restarting steam brought it down to a more manageable ~10
Also getting this. Typically only if the client has been open for several days. As friends start games and I get the notification, I can watch the count increase for "steamwebhelper" every time.
Arch, Kwin, Wayland, non-beta Steam client
[static@static-desktop ~]$ sudo ss -x src "*/tmp/.X11-unix/*" | grep -Eo "[0-9]+\s*$" | while read port; do sudo ss -p -x | grep -w $port | grep -v X11-unix; done | grep -Eo '".+"' | sort | uniq -c | sort -rn
[sudo] password for static:
226 "steamwebhelper"
11 "steam"
2 "ksmserver"
1 "xembedsniproxy"
1 "kded5"
1 "kaccess"
1 "gmenudbusmenupr"
1 "firefox"
Same on SteamOS/SteamDeck. I have 1000 friends, for me it only takes a hour to happen
$ lsof -U +c 15 | cut -f1 -d' ' | sort | uniq -c | sort -rn | head -3
297 steamwebhelper
258 Xorg
The lsof command is a slight overcount because it includes all sockets from steamwebhelper, not just connections to xorg. It still shows the notification leak behavior described though.
Verified this bug is still present since I just had to restart steam to be able to use my PC.
Steam Version: 1716584667
Steam Client Build Date: Fri, May 24 4:48 PM UTC -05:00
Steam Web Build Date: Fri, May 24 4:31 PM UTC -05:00
Steam API Version: SteamClient021
I just encountered this problem today after leaving Steam running for weeks. Restarting Steam shows client counts similar to those that @kotarou3 shared in an earlier reply.
Your system information
Please describe your issue in as much detail as possible:
I'm posting this as a separate issue from #9094 rather than commenting there because this seems like it might be another lookalike bug relating to X clients (I'll explain why I think that in a moment).
I've periodically entered a state where no GUI windows would spawn. When attempting to spawn something from the command line, an error like the following would result:
After researching the issue, I found a helpful comment with a command to run in order to figure out what processes had allocated the most X clients:
Based on the 917 clients associated with
steamwebh
, it seems like the most plausible culprit. The actualsteam
process has only 50 clients in comparison (unlike what was reported in #9094, where thesteam
process was the one hoarding all of the connections).I can produce additional log files if any might prove to be helpful.