From aaa46c30a87f7167ac3905eb90fe14a8b76d7dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 29 Jul 2021 09:02:44 +0200 Subject: [PATCH] Some enhancement to large file upload docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- .../big_file_upload_configuration.rst | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_files/big_file_upload_configuration.rst b/admin_manual/configuration_files/big_file_upload_configuration.rst index 76855c5be..0c87f3659 100644 --- a/admin_manual/configuration_files/big_file_upload_configuration.rst +++ b/admin_manual/configuration_files/big_file_upload_configuration.rst @@ -40,6 +40,11 @@ relevant php.ini files) :: php_value upload_max_filesize 16G php_value post_max_size 16G + +The ``upload_max_filesize`` and ``post_max_size`` settings may not apply to file uploads +through WebDAV single file PUT requests or `Chunked file uploads +`_ +For those, PHP and webserver timeouts are the limiting factor on the upload size. Adjust these values for your needs. If you see PHP timeouts in your logfiles, increase the timeout values, which are in seconds:: @@ -148,4 +153,15 @@ For upload performance improvements in environments with high upload bandwidth, Put in a value in bytes or set ``--value 0`` for no chunking at all. -Default is 10485760 (10 MB). \ No newline at end of file +Default is 10485760 (10 MB). + + +Large file upload on object storage +----------------------------------- + +`Chunked file uploads `_ +do have a larger space consumption on the temporary folder when processing those uploads +on object storage as the individual chunks get downloaded from the storage and will be assembled +to the actual file on the Nextcloud servers temporary directory. It is recommended to increase +the size of your temp directory accordingly and also ensure that request timeouts are high +enough for PHP, webservers or any load balancers involved.