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!
![The size of dynamic response body is over the limit, abort! wKf59EFJNH 1024x77 - The size of dynamic response body is over the limit, abort!](https://i0.wp.com/pcx3.com/wp-content/uploads/2022/08/wKf59EFJNH.png?resize=736%2C55&ssl=1)
This is set in LiteSpeed Admin Console under Server >Tuning > Max Dynamic Response Body Size (bytes)
![The size of dynamic response body is over the limit, abort! image 38 - The size of dynamic response body is over the limit, abort!](https://i0.wp.com/pcx3.com/wp-content/uploads/2022/08/image-38.png?resize=691%2C393&ssl=1)
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