-
Notifications
You must be signed in to change notification settings - Fork 532
Debugging
Ioannis Papapanagiotou edited this page Dec 21, 2018
·
3 revisions
You can use the admin port to increase the log level in order to identify the root cause of an issue. The following curl call will increase the log level. The default is 5.
$ curl http://localhost:22222/loglevelup
Note that the higher the log level, there is a performance hit from writing logs. This is though only valid if Dynomite receives multiple thousands of OPS. To decrease the log level.
$ curl http://localhost:22222/logleveldown
It is also advisable to capture core dumps in order to further debug a problem with the Dynomite process. One way to do that is to add a core dump path when starting Dynomite
# Sending the core files to /mnt/data for larger space
CORE_DIR=/mnt/data/core-dumps
sudo mkdir -p $CORE_DIR
sudo chown -R $userowner:$groupowner $CORE_DIR
sudo echo "$CORE_DIR/core_%e.%p.%t" > /proc/sys/kernel/core_pattern