When I download folders containing 5417 files and 70 sub-folders from “Home Directory” in “Files” menu, with a total size of 1.08GB, I occasionally encounter the following proxy timeout error. For example, when I attempt to download the folder three times, it fails one or two times out of the three.
This is quite frustrating. Could you please tell me what caused of this problem and suggest potential solutions? For instance, tune the web server settings or adjust the timeout value in OnDemand, etc?
OS Version: Rocky version 8.8
The Open OnDemand version is 3.0.3
I don’t have to replicate or see errors - I misread the error in your very first post. It’s failing to determine the directory size using du. So I’d guess it’s an issue of your machine querying the filesystem (again through du).
This du command times out after 5 seconds which is what’s throwing this error for you. Turns out, there’s a configuration OOD_DOWNLOAD_DIR_TIMEOUT_SECONDS which you can use in your env file to set that to 10 or similar.