<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    More information:<br>
    I have one user (user1) that has approx. 45000 files.  He has about
    35000 of those shared with another user (user2).   User2 could not
    log in at all. I ended up truncating the oc_fscache table, logging
    in with user1 and running a  scanFiles(true, '/') from the web
    console.  After rescanning, I logged in as user2 and it
    automatically did a rescan and everything is working for the
    moment.   I'm not sure what caused the huge build up of entires in
    the oc_fscache.  Could anyone recommend an automated way to clear
    those out and rescan the filesystem periodically?   I think the
    fscache system needs some thought dedicated to its implementation
    for OC5, as it does not seem to scale well.<br>
    <br>
    <br>
    <br>
    <br>
    Trey Nolen<br>
    <br>
    <br>
    <code></code><code></code><code></code>
    <div class="moz-cite-prefix">On 11/30/2012 10:39 AM, Christophe M
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOoa4dUHUNzXJvG_JBPAYvGRX=kRwh6s-=Xu5p1d4qjBtcpqew@mail.gmail.com"
      type="cite">
      <p dir="ltr">Hey,<br>
        Seems a good idea to be able to deactivate fs cache,<br>
        I've stopped to use oc since it's impossible to wait so long for
        the cache to be build on login.<br>
        I'm using samba share on local connection as it's a lot faster
        than the oc WebDAV implementation.</p>
      <div class="gmail_quote">El 30/11/2012 17:25, "Trey Nolen" <<a
          moz-do-not-send="true" href="mailto:tnolen@internetpro.net">tnolen@internetpro.net</a>>
        escribió:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Is there any way to disable or clear the filesytem cache?
           I've got a<br>
          system that locks up when a user tries to log in.  I checked
          and there<br>
          are 2,000,000+ rows in fscache.   MySQL is running like crazy,
          and the<br>
          queries are things like this:<br>
          Query DELETE FROM `oc_fscache` WHERE `path` LIKE<br>
          '/NDWTeam/files_versions/Shared/NDW - PhaseII/1. Energy
          Consumption<br>
          Query UPDATE `oc_fscache` SET `size`=`size`+'-71149' WHERE
          `id`='3180473'<br>
          <br>
          <br>
          It has brought everything to a halt.  Any ideas?<br>
          <br>
          <br>
          <br>
          Trey Nolen<br>
          <br>
          _______________________________________________<br>
          Owncloud mailing list<br>
          <a moz-do-not-send="true" href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
          <a moz-do-not-send="true"
            href="https://mail.kde.org/mailman/listinfo/owncloud"
            target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>