Home Server
New Blog Posts: Merging Reports - Part 1 and Part 2

Web Tier Cache Folder Leftovers

edited July 2010 in Server
Is it expected to have numerous folders left in the web tier cache
folder after reports are run? Maybe it's a setting I'm missing?

I have a bunch of folders with one file remaining in them called time.txt.

For example,

{1AA38BA1-CB99-4CB3-8AA7-13CDD246F3FA}

Comments

  • edited July 2010
    I should have noted: Delphi 2007 / RB Server 10.09

  • edited July 2010

    Each of the Guid folders represents a client sessions. The WebTier garbage
    collector should be removing those folders and their contents, for an
    sessions that have timed out.

    For my test server, the folders get removed. I am using the latest version
    of RB, 12.01. However I do not recall there being any issues with 10.09 not
    cleaning up expired sessions.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2010
    This must have been something I was doing. I built a new web tier and
    server from the demos and the cache folder is now clearing as expected.


    This brought up several related questions -


    Does a web tier session mean per user?

    Then SessionOptions.MaxSessionCount = 25 would essentially mean 25
    simultaneous users?

    SessionOptions.MaxReportCount = 10 would then mean any single user could
    run 10 separate reports in a single session before the oldest report was
    purged out?

    Finally, does SessionOptions.SessionTimeout = 120 mean a session will
    expire after 2 minutes of inactivity or is that from when it was created?

    Garbagecollect = true should then clean up any expired sessions the next
    time a report is launched? Given the garbagecollect.minsleep minutes has
    passed.


    Thanks for your help.





  • edited July 2010
    > Does a web tier session mean per user?

    Yes, the first time a user makes a request, a SessionID is generated, and
    then subsequent requests include the SessionID, that is how the session is
    tracked. The WebTier caches user session info by created a folder for each
    SessionID.


    Correct.


    Yes. A user can run any number of reports, but only the last 10 would be
    stored in the session cache, this is used to optimize performance.


    Inactivity.


    Yes. When the WebTier processes a request, it also invokes the
    GarabageCollector - which removes expired sessions.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.