The size of dynamic response body is over the limit, abort!

When downloading large files in NextCloud from a LiteSpeed server the download fails after 500mb. The following error is recorded in error logs: The size of dynamic response body is over the limit, abort!

This is set in LiteSpeed Admin Console under Server >Tuning > Max Dynamic Response Body Size (bytes)

But if We wan’t to disable this limit just for that account/website simply add the following to the beginning of the .htaccess file:

RewriteRule .* - [E=noabort:1]

Source: PHP Without Timeout

whoami
Stefan Pejcic
Join the discussion

I enjoy constructive responses and professional comments to my posts, and invite anyone to comment or link to my site.