Problem
Older versions of Express Server had unlimited file sizes for downloading imagery and LiDAR from ExpressZip. This could put the server in a bad state when extremely large files were requested by end users. Patch fix number 9.5.0.4550.Bob_4530_br added configurable limits to both the maximum job size and the number of tiles that could be requested in any one job in ExpressZip. Setting these to reasonable values removes the possibility of end users requesting terabytes of imagery from the server. By default these values are 10GB and 10,000 tiles.
Solution
The maxTiles value is the maximum number of tiles that a user can request from ExpressZip. The maxJobSize is the maximum value, in bytes, that an end user can request from any one job. By default these values are 10,000 tiles and 10737418240 (10GB) in this version. If these lines don't exist in the file at all then the server will always use these default values.
- Open the following file in a text editor with administrator or root permissions:
<Installation Directory>\ImageServer\Tomcat\conf\ExpressZip.properties
If you are installing Express Server for the first time you will see the new configurable lines at the bottom of the file. If you have upgraded to this version from an older one you will need to add them yourself. - Edit or add the value of the maxTiles line. The default is 10000 tiles. For example, you might enter the
following:
maxTiles=10000 - Edit or add the value of the maxJobSize line. This value is expressed in bytes, with the default being
10737418240 (10 GB). For example, you might enter the following:
maxJobSize=4000000 - Save the file.
- Restart the LizardTech Tomcat service.
- If you are on a Windows operating system, click IISReset on the Status page of the ExpressServer console.
Once this is done your new limits are in effect immediately.