Question & Answer
Question
How to modify the "startup.maxConnections" parameter ? I am hitting the following error, when attempt to do so using "nzsystem" command: $ nzsystem set -arg startup.maxConnections=1000 Are you sure you want to change the system configuration (y|n)? [n] y Error: the configuration changes specified can only be done at startup. What does this means, and how can I make the change correctly ?
Cause
These are parameters with prefix "startup.*", which are not commonly changed.
For example,
"startup.maxConnections"
"startup.planHistFiles"
There can not be change using "nzsystem" command. Even you have the system paused before the change.
Answer
Here are the procedure to make the change to these parameters:
(Downtime are required)
1) Modify this line from /nz/data/config/system.cfg file:
startup.maxConnections = 1000
* If the file is absent, you can create it as a new file and append the line into it.
2) Check the setting prior to change:
$ nzsystem showregistry| grep -i maxconn
startup.maxConnections = 20
3) Restart using 'nzstop' and 'nzstart'
4) Check again to see if the setting has changed:
$ nzsystem showregistry| grep -i maxconn
startup.maxConnections = 1000
Was this topic helpful?
Document Information
Modified date:
17 October 2019
UID
swg21647797