Old DiscoveryFeed cache files are not correctly removed

Description

The DiscoveryFeed doesn't correctly remove old cache files. While trying to remove cache files, the suffix ".json" is not added to the filenames.

(This problem may fill up the disks from time to time.)

The attached patch should solve the problem.

Environment

None

Attachments

1

Activity

Show:

Scott Cantor January 19, 2015 at 9:05 PM

Lukas Hämmerle October 10, 2014 at 8:30 AM

We recently had two cases where the disk of SPs (2.5.3) were filling up with *.json files in /var/cache/shibboleth. Each file being almost 1M and several metadata changes a day, this consumes quite some unnecessary space. It seems like the old .json files are not deleted properly.

Scott Cantor January 28, 2014 at 3:14 PM

Thanks. I actually thought it was just orphaning some due to the race condition that's unavoidable in the code, but it did seem like an awful lot.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Affects versions

Created January 28, 2014 at 8:49 AM
Updated March 20, 2015 at 1:12 AM
Resolved January 19, 2015 at 9:05 PM