This document suppliments the Apache Tomcat Documentation . Please refer to it for best practices (such as HTTPS setup, security, and more.)
Support for Large Files (up to 1.2GB) in Shinydrive
Large file support requires more memory allocated to your Tomcat Java Virtual Machine. Follow these steps to increase your maximum memory pool. Remember, your memory allocation here should not exceed the available physical RAM on your server.
- Simply open your Tomcat Service Manager from the System tray on your Server.
- Stop your Tomcat Service from the General tab.
- Click on the "Java" Tab – Here you can increase the Maximum Memory Pool.
You will need to consider the amount of memory available on your Server before changing this setting.
4. Increase this as appropriate and restart the Tomcat Service.
NOTE: We have tested it up to 8129MB and have seen success dealing with files up to 1.2GB
UTF-8 Support On Tomcat (Windows)
By default, Tomcat assumes an iso-8859-1 western european character set on Windows, which is generally incompatible with Shinydrive's use of UTF-8. You won't notice any problems until you start using unicode characters as part of your files, folders, and volume names. Three things need to be done to enable UTF-8 support.
Shinydrive Sizing and Scaling
For sizing the Shinydrive Tomcat middleware we recommend the following resources be made available:
- CPU: 1 core for every 1700 users.
- RAM: 4GB ram for every 1700 users.
For Example, if you dedicate 8GB to your Tomcat instance and have 2 cores on your machine, it will work well for up to 3400 users.
For more users, just scale linearly.