<div class="markdown_content"><ul>
<li><strong>status</strong>: open --&gt; closed-fixed</li>
<li><strong>Group</strong>:  --&gt; TODO-3.0</li>
</ul>
<hr />
<p><strong> <a class="alink strikethrough" href="http://sourceforge.net/p/cwb/bugs/54/">[bugs:#54]</a> CQPweb: database not tracking cache files correctly</strong></p>
<p><strong>Status:</strong> closed-fixed<br />
<strong>Group:</strong> TODO-3.0<br />
<strong>Labels:</strong> CQPweb <br />
<strong>Created:</strong> Wed Nov 14, 2012 10:16 AM UTC by Andrew Hardie<br />
<strong>Last Updated:</strong> Wed Dec 12, 2012 05:27 AM UTC<br />
<strong>Owner:</strong> Andrew Hardie</p>
<p>The CQPOweb database that is supposed ot keep track of the cache contents is losing track of some files. </p>
<p>In my cache directory:</p>
<p>du -b<br />
8577149457</p>
<p>But:<br />
select sum(file_size) from saved_queries<br />
317843000</p>
<p>Default cache limit: (which is NOT overridden): 3221225472.</p>
<p>I suspect that crashed processes result in files on disk without matching entries in the database. The files are, thus, lost track of.</p>
<p>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.</p>
<hr />
<p>Sent from sourceforge.net because cwb@sslmit.unibo.it is subscribed to <a href="https://sourceforge.net/p/cwb/bugs/">https://sourceforge.net/p/cwb/bugs/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/cwb/admin/bugs/options.">https://sourceforge.net/p/cwb/admin/bugs/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>