<PRODUCT_HOME>/repository/conf/etc/config-validation.xml file contains the recommended system configurations for a server. When you start the server, the system configurations will be validated against these recommendations, and warnings will be published if conflicts are found. See more details on system requirements for your product on Installation Prerequisites, and the procedure for starting a server in Running the Product.
Given below are the default recommendations in the
config-validation.xml file. If required, you may change some of these recommendations on this file according to the conditions in your production environment.
Following are the system parameter values recommended for the purpose of running a WSO2 product server.
|Parameter||Parameter Description||Parameter Value|
|CPU||Required processor speed.||800|
|RAM||Required RAM in your environment.||2048|
|swap||Required space in hard disk to use for virtual memory.||2048|
|freeDisk||Free disk space required in your environment.||1024|
The limit of resources per user. This value indicates the limit on the number of file descriptors a process may have.
This property is specified in the product startup script as shown below. For example, see the product startup script for Linux:
If the values set for these parameters in your environment are less than the recommendations, the following warnings will be published when you start your server.
The following JVM heap size values are recommended by default in the
|initHeapSize||The initial heap size that applies if the JVM requires more memory than is allocated by default.||256|
|maxHeapSize||The maximum heap size that applies if the JVM requires more memory than is allocated by default.||512|
|maxPermGenSize||The maximum heap size of the permanent generation of heap.||256|
These parameters are specified in the product startup script as shown below, where, "
-Xmx" and "
-XX" correspond to "initHeapSize", "maxHeapSize" and "maxPermGenSize" respectively. For example, see the product startup script for Linux: