ls eat high CPU time when LANG=zh_CN.UTF-8 and LC_ALL=zh_CN.UTF-8
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jul 4 06:20:31 UTC 2016
On Mon, Jul 04, 2016 at 11:56:36AM +0800, Huang Wen Hui wrote:
> Hi,
> On very recent CURRENT, ls can eat high CPU time when LANG=zh_CN.UTF-8 and
> LC_ALL=zh_CN.UTF-8:
>
> % uname -a
> FreeBSD mbp.gddsn.org.cn 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #121 r302331M: Mon
> Jul 4 10:47:27 CST 2016 root at mbp.gddsn.org.cn:/usr/obj/usr/src/sys/MACBOOK
> amd64
>
> top show:
> 4457 hwh 1 100 0 16784K 4416K CPU4 4 0:22 98.86% ls
>
> any ideas?
>
Is it in all directories or only in directories with files in chinese
characters?
Is it only happening when you run ls with some arguments (in particular -l) or
with any arguments?
Do you see the same if you force any other locale like en_US.UTF-8?
Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160704/6c4bbbda/attachment-0001.sig>
More information about the freebsd-current
mailing list