bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#66288: 29.1; Performance regression using pipe for subprocess


From: Dmitry Gutov
Subject: bug#66288: 29.1; Performance regression using pipe for subprocess
Date: Thu, 5 Oct 2023 01:54:43 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 05/10/2023 01:49, Paul Eggert wrote:
+      fcntl (inchannel, F_SETPIPE_SZ, readmax);

This call can fail if you aren't root and you exceed the system limit in /proc/sys/fs/pipe-max-size. So I suggest that if this fnctl fails with EPERM, trying it again after clipping to that limit.

Perhaps we'd rather fail loudly, so the user is aware that their customized value cannot be applied.





reply via email to

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