Page Server and Cache Server
The Page Server and the Cache Server are controlled in much the same way from the command line. The command-line options determine whether the server starts as a Page Server, a Cache Server, or both. Options that apply only to one server type are noted below.
The default paths to the servers on Windows are:
C:\Program Files\Crystal Decisions\WCS\cacheserver.exe
C:\Program Files\Crystal Decisions\WCS\pageserver.exe
The default paths to the servers on UNIX are:
INSTALL_ROOT/crystal/enterprise/platform/crystalcachesd
INSTALL_ROOT/crystal/enterprise/platform/crystalpagesd
For a list of standard command-line options, see Standard options for all servers.
Option
| Valid Arguments
| Behavior
|
-cache
|
| Enable Cache Server functionality.
|
-cs
| hostname:port
| If -cache is not specified, use this option to specify the Cache Server that the Page Server should communicate with.
|
-dir
| absolutepath
| Specify the cache directory for a Cache Server and the temp directory for the Page Server. The directories created are absolutepath/cache and absolutepath/temp
|
-deleteCache
|
| Delete the cache directory every time the server starts and stops.
|
-psdir
| absolutepath
| Specify the temp directory for the Page Server. This option overrides -dir .
|
-size
| kilobytes
| Specify the maximum size of the cache in KB. The default is 100 MB.
|
-refresh
| minutes
| Share cached pages for the specified number of minutes.
|
-maxthreads
| number
| Set the maximum number of Print Engine and/or Cache Server worker threads. The default value of 0 (zero) means unlimited.
|
-maxidletime
| minutes
| Specify the number of minutes after which an idle session is cleaned up. The default is five minutes.
|
Related topics
Command lines overview