Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#54 CQPweb: database not tracking cache files correctly

TODO-3.0
closed-fixed
Andrew Hardie
CQPweb (18)
7
2014-06-15
2012-11-14
Andrew Hardie
No

The CQPOweb database that is supposed ot keep track of the cache contents is losing track of some files.

In my cache directory:

du -b
8577149457

But:
select sum(file_size) from saved_queries
317843000

Default cache limit: (which is NOT overridden): 3221225472.

I suspect that crashed processes result in files on disk without matching entries in the database. The files are, thus, lost track of.

Solution: admin interface for managing "orphaned" files - if possible, also add an option for superusers to be emailed with a warning if the orphaned files overspill.

Discussion

  • Andrew Hardie
    Andrew Hardie
    2014-06-15

    • status: open --> closed-fixed
    • Group: --> TODO-3.0