file(1) command very slow

Eugene Grosbein eugen at grosbein.net
Sat Sep 12 06:34:28 UTC 2015


Hello, Xin LI!

Please take a look at this problem in file(1):
http://bugs.gw.com/view.php?id=474

Can we import upstream fix for this soon?

05.09.2015 15:53, Martin Birgmeier wrote:

> Running the file(1) command on a 7 MB text file takes much longer in
> 10.2 than in 10.1.
>
> Example:
>
> # ll /tmp/x6
> -rw-r--r--  1 root  wheel  7384414 Sep  5 10:30 /tmp/x6
> # file /tmp/x6
> /tmp/x6: ASCII text
> file /tmp/x6  26.12s user 0.00s system 99% cpu 26.237 total
> #
>
> I have this on all my machines since installing 10.2.



More information about the freebsd-stable mailing list