title: High resolution image upload fails stream_copy_to_stream(): read of 8192 bytes
body: <p>I am using laravel + twill inside docker containers with php7.4.3-fpm + nginx. Everything works fine appart from when I am trying to upload images of high resolution. If I upload image of 3000x3000px there are no problem as soon as I try to do the same with higher resolution (4500x4500px) I get the following error,</p>
  
  <pre><code>message: "stream_copy_to_stream(): read of 8192 bytes failed with errno=21 Is a directory"
  exception: "ErrorException"
  file: "/var/www/backend/vendor/league/flysystem/src/Adapter/Local.php"
  line: 159
  trace: [{function: "handleError", class: "Illuminate\Foundation\Bootstrap\HandleExceptions", type: "-&gt;"},…]
  0: {function: "handleError", class: "Illuminate\Foundation\Bootstrap\HandleExceptions", type: "-&gt;"}
  function: "handleError"
  class: "Illuminate\Foundation\Bootstrap\HandleExceptions"
  type: "-&gt;"
  1: {file: "/var/www/backend/vendor/league/flysystem/src/Adapter/Local.php", line: 159,…}
  file: "/var/www/backend/vendor/league/flysystem/src/Adapter/Local.php"
  line: 159
  function: "stream_copy_to_stream"
  </code></pre>
  
  <p>Is it a php-fpm configuration issue? Is it problem with php? Has anyone had similar problems?</p>