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

Julian Elischer julian at freebsd.org
Wed Aug 19 03:03:10 UTC 2015


On 8/19/15 3:41 AM, Yuri wrote:
> 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.
Try increase the size of the directory hash/cache.
>
> 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