title: AWS Lambda No Space Left on Device error
body: <p>I am using API gateway to call lambda function that imports a mpeg file (10 mb) from s3 and saves in /tmp folder of lambda and the lambda uploads it to external API (youtube etc)
  Recently the API gateway call to lambda is failing intermittently with error</p>
  
  <pre><code>[Errno 28] No space left on device
  </code></pre>
  
  <p>Here is how i am downloading the file </p>
  
  <p><code>urllib.urlretrieve (s3_mpeg_url, '/tmp/{}'.format(mpeg_filename))</code></p>
  
  <p>If i create a new version of that same lambda function and assign to alias API gateway pointing to , it starts to work and again at some point it keeps getting the same error</p>
  
  <p>When i test that lambda function from lambda console it always works</p>
  
  <p>Any idea ?</p>