4G file size limit , in 5+ config (still missing one?) driving me nuts

What’s the HTTP response code? What application is accepting the upload? Does it always fail at the 4 GB boundary?

You’d need to alter the value in:

  • limits.conf using system.process-limits, this affects the max file size created within vfs; can be tested within the account using dd if=/dev/zero of=~/file bs=1G count=5
  • Apache may be overrode using LimitFSIZE, its primary purpose is to throttle logfiles from running away
  • If uploaded by from a PHP app, per-site by overriding resources.file_size

Lastly, PHP mounts a tmpfs mount for /tmp. If uploads under 4 GB but more than 1 GB are failing, then this is a consequence of using a private /tmp mount. It may be adjusted in the policy file.

Resource limits in php-fpm.service or php-fpm-siteXX.service do not propagate to the individual pools which control the physical startup of PHP-FPM. These services are named php-fpm-siteXX-POOL-NAME.service. Policy overrides will propagate to these services however.