RudySantana / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
0 stars 0 forks source link

gtaskqueue sample fails after ~1000 tasks because of file descriptor leak in ClientTask._get_output_file #147

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the puller long enough to process 1000 tasks
2. Watch for the errors creating payload files in your logs.

samples/gtaskqueue/.../client_task.py:ClientTask._get_output_file

  (_, x) = mkstemp()
leaks. It should be
  (fd, x) = mkstemp()
  os.close(fd)

Original issue reported on code.google.com by ai...@google.com on 14 Jun 2012 at 4:39

GoogleCodeExporter commented 8 years ago

Original comment by jcgregorio@google.com on 31 Jul 2012 at 4:18

GoogleCodeExporter commented 8 years ago

Original comment by jcgregorio@google.com on 31 Jul 2012 at 4:19

GoogleCodeExporter commented 8 years ago

Original comment by jcgregorio@google.com on 31 Jul 2012 at 4:32

GoogleCodeExporter commented 8 years ago
The gtaskqueue sample is no longer part of this project.

Original comment by jcgregorio@google.com on 24 Jan 2013 at 8:28