jixuan1989 opened a new pull request, #7150:
URL: https://github.com/apache/iotdb/pull/7150
behavior:
1. add "-v":
```console
➜ apache-iotdb-0.13.2-SNAPSHOT-all-bin git:(4230-2-0.13)
sbin/start-server.sh -v
0.13.2-SNAPSHOT
```
2. by default, iotdb runs in background, and does not print anything to the
console
```console
➜ apache-iotdb-0.13.2-SNAPSHOT-all-bin git:(4230-2-0.13)
sbin/start-server.sh
---------------------
Starting IoTDB
---------------------
WARN:
WARN: the value of kern.ipc.somaxconn (=128) is too small, please set it to
a larger value using the following command.
WARN: sudo sysctl -w kern.ipc.somaxconn=65535
WARN: The original kern.ipc.somaxconn value will be set back when the os
reboots.
WARN:
setting local JMX...
Maximum memory allocation pool = 4096MB, initial memory allocation pool =
1000MB
If you want to change this configuration, please check
conf/iotdb-env.sh(Unix or OS X, if you use Windows, check conf/iotdb-env.bat).
```
3. use "-f" to let iotdb runs on foreground and print log to console.
```console
➜ apache-iotdb-0.13.2-SNAPSHOT-all-bin git:(4230-2-0.13)
sbin/stop-server.sh
check whether the rpc_port is used..., port is 6667
close IoTDB, PID: 20766
➜ apache-iotdb-0.13.2-SNAPSHOT-all-bin git:(4230-2-0.13)
sbin/stop-server.sh -f
check whether the rpc_port is used..., port is 6667
No IoTDB server to stop
➜ apache-iotdb-0.13.2-SNAPSHOT-all-bin git:(4230-2-0.13)
sbin/start-server.sh -f
---------------------
Starting IoTDB
---------------------
WARN:
WARN: the value of kern.ipc.somaxconn (=128) is too small, please set it to
a larger value using the following command.
WARN: sudo sysctl -w kern.ipc.somaxconn=65535
WARN: The original kern.ipc.somaxconn value will be set back when the os
reboots.
WARN:
setting local JMX...
Maximum memory allocation pool = 4096MB, initial memory allocation pool =
1000MB
If you want to change this configuration, please check
conf/iotdb-env.sh(Unix or OS X, if you use Windows, check conf/iotdb-env.bat).
2022-08-28 23:39:44,388 [main] INFO o.a.i.d.c.IoTDBDescriptor:177 - Start
to read config file file:sbin/../conf/iotdb-engine.properties
2022-08-28 23:39:44,419 [main] INFO o.a.i.d.c.IoTDBDescriptor:1419 -
allocateMemoryForRead = 1145359564
2022-08-28 23:39:44,420 [main] INFO o.a.i.d.c.IoTDBDescriptor:1420 -
allocateMemoryForWrite = 1527146086
...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]