How recommended is using 'enable_chunking' => true in Nextcloud?

Hi everyone,
I’m reviewing my Nextcloud configuration and came across this option:

PHP

‘enable_chunking’ => true

Mostrar más líneas

I understand it’s used to upload large files in chunks, which should help with slow or unstable connections. My questions are:

  • How recommended is it to keep this option enabled?

  • Has anyone experienced issues with chunking (e.g., problems merging chunks, file corruption, etc.)?

  • Are there scenarios where disabling it is better?

Thanks for sharing your experiences and advice!

Hey @jhon2323 welcome back :waving_hand:

the following notes are from our wiki: Improve upload performance · nextcloud-snap/nextcloud-snap Wiki · GitHub and might give you some insight regardless of your installation method.

see also Chunked file upload — Nextcloud latest Developer Manual latest documentation

our chunk size is set to 20MiB because we regularly transfer large database files (bak & trn) and found that 20MiB chunk size is optimal.

2 Likes

There is no such server-side configuration value. If it’s in your config, this isn’t doing anything.