On 06/08/2015 06:26 PM, Robert Collins wrote:
On 9 June 2015 at 07:53, Chris Friesen <chris.frie...@windriver.com> wrote:
From what I understand, the iterator (in the glance-api process) normally
breaks out of the while loop once the whole file has been read and the
read() call returns an empty string.
It's not clear to me how an error in the nova process (which causes it to
stop reading the file from glance-api) will cause glance-api to break out
of the while loop in ChunkedFile.__iter__().
AIUI the conclusion of our IRC investigation was:
- with caching middleware, the fd is freed, just after ~4m.
- without caching middleware, the fd is freed after ~90s.
Correct. I went back and tried it out in a hardware lab and those are the
results I got. Sorry for the noise (though it'd be nice to get rid of the
4-minute delay).
I did a bit more digging and we've apparently got another similar issue reported
where taking a snapshot fails because the filesystem fills up and the space
never gets reclaimed even though the snapshot failed. I'll make sure I can
reproduce that one before going further.
Chris
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev