[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
- Xorg bug returns: Too many files open in system, Almudena Garcia, 2021/11/05
- Re: Xorg bug returns: Too many files open in system, Sergey Bugaev, 2021/11/06
- Re: Xorg bug returns: Too many files open in system, Samuel Thibault, 2021/11/07
- Re: Xorg bug returns: Too many files open in system, Sergey Bugaev, 2021/11/07
- Re: Xorg bug returns: Too many files open in system, Samuel Thibault, 2021/11/07
- Re: Xorg bug returns: Too many files open in system, Sergey Bugaev, 2021/11/07
- [PATCH] hurd: Implement close_range and closefrom, Sergey Bugaev, 2021/11/06