bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xorg bug returns: Too many files open in system


From: Samuel Thibault
Subject: Re: Xorg bug returns: Too many files open in system
Date: Sat, 6 Nov 2021 13:16:08 +0100
User-agent: NeoMutt/20170609 (1.8.3)

Hello,

Sergey Bugaev, le sam. 06 nov. 2021 14:26:23 +0300, a ecrit:
> I investigated briefly and found this piece of code to be the likely
> culprit [0].

Yes. Unfortunately I apparently hadn't had the time, at the time, to
actually submit the fix I had uploaded as 0.62.3-1+hurd.1. Now done in

https://gitlab.gnome.org/GNOME/vte/-/issues/2528

> It looks like the corresponding piece of code in glib [2] is now a
> little bit more robust: it uses a fallback fd limit,

That's a bit risky...

> I'm also somewhat surprised that glibc doesn't provide close_range ()
> natively.

As usual it's "just" a matter of somebody to actually write it, check it
and have it reviewed&commited.

> That doesn't sound too complex to implement either, something like
> this should work, right?

Probably, yes.

To exercise it you can probably move
sysdeps/unix/sysv/linux/tst-close_range.c to misc/,
and add it to tests in sysdeps/mach/hurd/Makefile too.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]