Temp Caching server maintenance, Deleting the cached files


 Product(s):ProjectWise Caching Server
 Version(s):08.11.11.574
 Original Author:Dana Guthrie, Bentley Technical Support Group

 

Temp Caching Server Maintenance, Cleaning up the Cached Files

I have setup a temporary cache server in an external office for the users to have quicker access to files

In the dmsknrl.cfg file the limit is set to 50,000,000 MB

The hard drive on this server is nearly full with these temporary files.

What steps can I take to clean up or delete some of these files.

Why are the files not being cleaned up?

In the dmsknrl.cfg file on the temp cache server I have the following lines

[cache]

enabled=true

storagepath=c:\cache

limit=50000000

 

Explanation:

The limit setting for cached files is in megabytes

50,000,000mb is equal to 50,000 gigs.

 

The first thing to do would be to set your limit to something smaller

For example:

limit=500000 (is equal to 500gigs)

limit=50000 (is equal to 50gigs.)

limit=5000 (is equal to 5gigs)

 

Projectwise does have a process that deletes the oldest files from the temporary cache.  The dmskrnl.cfg file has the explanation of this process:

“Limit for cached files, is in megabytes. When the total size of all cached files exceeds this limit, the cache is purged (in ascending access time order) until the total size of all cached files is <= 80% of this limit. For extremely large caches, or caches with many small files, it may take several purge passes to get below the limit.  If this setting is not defined, or is set to 0, then purging is disabled, and the cache size is effectively unlimited.”

 

In order to get the disk space back you can delete these files manually to help the ProjectWise process get caught up.

 

Caution:  Make sure you are deleting files from a temporary cache location and not a real storage area.

The temp caching functions sets up a folder structure under the directory you specify in the dmsknrl.cfg

Example:  C:\cache\files\192.168.253.130-5800\C_\PWSTORAGE_NAME\DATASOURCE_NAME

 

See Also

C:\Program Files\Bentley\ProjectWise\Bin\dmskrnl.cfg

Projectwise Administrator Help