Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16725

Re: Is this a bug?

From Dmitry Goncharov <dgoncharov@users.sf.net>
Newsgroups gnu.bash.bug
Subject Re: Is this a bug?
Date 2020-08-06 14:39 -0400
Message-ID <mailman.1048.1596739182.2739.bug-bash@gnu.org> (permalink)
References <1361377909.989786.1596736417780.ref@mail.yahoo.com> <1361377909.989786.1596736417780@mail.yahoo.com> <CAG+Z0CuCEdLkD3yECURR55WRLWhAGj1KG=wWYdO5EyRDZ-QNEw@mail.gmail.com>

Show all headers | View raw


On Thu, Aug 6, 2020 at 1:54 PM George R Goffe <grgoffe@yahoo.com> wrote:
> I have several directories on a system with > 300k files. When I use filename completion bash freezes for over a minute depending on the number of files. I'm pretty sure that bash has to read the directory to do the completion but the read appears to be uninterruptible. Is this a bug?

Why don't you run strace (or truss or whatever you have on your
system) and see which syscall bash is blocked in?

regards, Dmitry

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Is this a bug? Dmitry Goncharov <dgoncharov@users.sf.net> - 2020-08-06 14:39 -0400

csiph-web