I have been having this problem for a while. I have seen a number of commands suggested as helpful in various forums: `xwininfo -root -children`, `xlsclients`, and `lsof -U`. I wrote a script that logged the number of lines reported by these every 30 seconds.
It took about 5 days for my computer to crash (for most of which the computer was idle because I was away for the long weekend). xlsclients and lsof stayed steady at around 20 and 500 lines respectively. xwininfo climbed steadily from 68 to 362. When the computer was idle and locked, it would stay steady for hours at a time, then climb by about 10 windows over 5 minutes, then steady out again. As described by Brett Johnson above, most of the windows have no name. I notice that it is always nautilus that crashes, usually while the computer is unattended. I will return, nautilus will be closed and I won't be able to open any new windows because the maximum number of clients is reached. Nautlius exits with a segfault some address "not located in known VMA region". -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1518411 Title: "Maximum number of clients reached", new in Ubuntu 15.10 To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1518411/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp