System briefly freezes every time when a very large UFS directory is filled with files

Wojciech Puchar wojtek at puchar.net
Wed Aug 19 09:02:07 UTC 2015


> I have one directory that has ~1.2M files on UFS system.
> Every time when the process that creates files there reaches a particular 
> point (~0.9M files), system invariably freezes for ~10 seconds, after which 
> it continues and process succeeds.

how large is your
vfs.ufs.dirhash_maxmem



>
> I know that this is quite an extreme number of files but, other than this 
> problem, it is usable in this setup.
>
> Maybe someone can think of some fix or the immediate reason of such freezes? 
> This isn't a good problem to have, even in the view of an extremity of this 
> situation.
>
> Yuri
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>


More information about the freebsd-hackers mailing list