When many users store very large files on your site, you may sometimes notice a
slowdown in your site's performance. You can reduce the impact of such a use pattern by
telling TeamForge not to index files larger than a certain size.
Note: It's also a good idea to let your users know that the Documents tool in TeamForge
is not designed primarily as a storage device. As a best practice, upload documents
to make them available for collaboration, not for backup or long-term
storage.
-
Open the master site configuration file in a text editor.
For example:
-
vi /opt/collabnet/teamforge-installer/5.4.0.0/conf/site-options.conf
-
Add the SEARCH_MAX_FILE_SIZE parameter and give it a value
equal to the maximum size (in bytes) of files to be indexed.
Note: The default value is 10M. With this value, files larger
than 10M are not indexed.
A value of zero or less specifies that there is no limit, which is the
same as the default behavior without the variable.
-
Review the rest of the variables in the site-options.conf
file to make sure their values are right for your installation, then save the
file.