XServer freezes when opening many windows

Raúl HERMOSO SÁNCHEZ r.hermoso at gesab.com
Thu Jan 16 11:15:10 UTC 2025


Hello,

   I am writing to query about a problem I have encountered with XServer. It freezes when opening any window after "many" others are already opened. We believe it is the XServer freezing as any command-line tool that uses X that we try to execute (xwininfo, xdotool, xls_client...) never paints or returns. We understand there are some limits on resources, client windows, memory... that can be handled by the server, but we are unable to identify which one we are reaching.
   We have set the maximum number of windows to 512, but we do not reach that many number of windows before the server freezes.  To be more precise, the server freezes when we try to open 40+ "client" windows (which means probably around three more actual Window created: toolbars, borders, auxiliary windows for clipboard....).

   My question really is if there is a way (via X11 API preferably) to query the server that can tell us if it is close to reaching any of the limits it may have, so that we can know in advance previous to it freezing. It may be of interest for this issue to know that we are using an in-house Window Manager developed by ourselves).

   Thank you for your time. Any help/hints will be appreciated.


Raúl Hermoso Sánchez

Desarrollador Software

r.hermoso at gesab.com



[Imagen que contiene dibujo  Descripción generada automáticamente]



C/ Marzo 61-67, 28022 Madrid.
Tel: 915 345 064



Si no es necesario, no imprimir este email. El respeto al Medio Ambiente es nuestra mejor apuesta para una Garantía de Futuro. 
If not necessary, please do not print this e-mail. Respect for the environment is our best choice to fulfill our guarantee for the future.

Sus datos de contacto están incluidos en el tratamiento del que es Responsable: GESAB SAU. En cumplimiento del RGPD
le comunicamos la información básica de protección de datos del citado tratamiento: Finalidad: El mantenimiento y uso de la agenda
de personas de contacto; Legitimación: La base legal para el tratamiento de sus datos es el legítimo interés del responsable;
Derechos: Tiene derecho a acceder, rectificar y suprimir los datos, así como otros derechos,
como se explica en la información adicional; Información adicional: Puede consultar la información adicional y detallada sobre
Protección de Datos en nuestra  política de privacidad<https://gesab.com/politica-de-privacidad/>

Your contact data information are included in the treatments for which you are responsible: GESAB SAU. In compliance and according
to the new GDPR, we would like to inform you about the basic data protection information of the aforementioned treatment: Purpose:
The maintenance and use of the contact persons agenda. Legitimation: The legal basis for the treatment of your data is the legitimate
interest of the person in charge; Rights: You have the right to access, rectify and delete the data, as well as other rights, as we already
explain in the additional information; Additional information: You can consult the  additional and detailed information on
Data Protection on our on our privacy policy<https://gesab.com/en/privacy-policy/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20250116/2897f958/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-Imagen que.jpg
Type: image/jpeg
Size: 6569 bytes
Desc: Outlook-Imagen que.jpg
URL: <https://lists.x.org/archives/xorg/attachments/20250116/2897f958/attachment-0001.jpg>


More information about the xorg mailing list