Users cannot add files after cache cleanup

0 Likes

Problem:

Users cannot add files after cache cleanup

Resolution:

  • Product Name: StarTeam
  • Product Version: 2006, 2006 R2, 2008
  • Product Component: CPC, Server
  • Platform/OS Version: Windows

Description:
Users are getting an error saying No such file or directory and can"t add their files. We cleaned out the cache yesterday do we have to do something else? Do we need to reboot? Do we have to clean out the archive directory too?


Answer/Solution:
Yes, the administrator will need to restart the server configuration in order to rebuild the cache folder structure. Until this is done, no one will be able to check in files.

Normally we do not recommend deleting the Cache folder contents directly because of problems like this and also because the cache rebuilds so quickly that it doesn"t really impact or resolve a disk space problem.

What administrators might want to look into is reducing the cache folder"s maximum size. Look in the Server Administration tool while the server is stopped and select Hive Manager. Open the hive for that server config and see what the maximum cache size is. Administrators can reduce this to whatever number required and also reduce the number of seconds between cleanup. What will happen is the cache will still work as normal, but once the cleanup time hits, the folder size will be reduced to the number the Administrator has specified. The default cache file size is 20% of the total drive space, so if reduction is needed, Administrators can go ahead and make that change and it will not affect the users.

Also, do not delete the archives. In fact, it"s a good idea to never even browse that folder. This is the location for all of the project"s files and if anything happens to it, the StarTeam configuration will break.


Old KB# 28966
Comment List
Related
Recommended