Project

General

Profile

Bug #21223

Updated by Peter Amstutz 6 months ago

The Python keep client limits itself to using 1/4 of all file handles.    Because each slot requires two file handles, this means the maximum number of cache blocks is RLIMIT_NOFILE / 8. 

 If RLIMIT_NOFILE is less than 10240, arv-mount will adjust RLIMIT_NOFILE to 10240. 

 This means, unless RLIMIT_NOFILE is adjusted before invoking arv-mount, the maximum disk cache arv-mount can have in typical usage is 1280 blocks or 80 GiB. 

 We have a user that needs more than 80 GiB of cache, but setting --file-cache to a larger value silently fails. 

 arv-mount should choose a value of RLIMIT_NOFILE that is adequate to fulfill --file-cache and fail if it cannot. 

Back