mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
Compare commits
2 Commits
PMM-11406-
...
PT-1627-pt
Author | SHA1 | Date | |
---|---|---|---|
![]() |
aad0d6ea78 | ||
![]() |
57e414b71f |
@@ -2280,12 +2280,14 @@ report_jemalloc_enabled() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if [ $GENERAL_JEMALLOC_STATUS -eq 1 ]; then
|
if [ $GENERAL_JEMALLOC_STATUS -eq 1 ]; then
|
||||||
JEMALLOC_LOCATION=$(find /usr/lib64/ /usr/lib/x86_64-linux-gnu /usr/lib -name "libjemalloc.*" 2>/dev/null | head -n 1)
|
for pid in $(pidof mysqld); do
|
||||||
|
JEMALLOC_LOCATION=$(strings /proc/${pid}/environ | grep jemalloc)
|
||||||
if [ -z "$JEMALLOC_LOCATION" ]; then
|
if [ -z "$JEMALLOC_LOCATION" ]; then
|
||||||
echo "Jemalloc library not found"
|
echo "Jemalloc library for process ${pid} not found"
|
||||||
else
|
else
|
||||||
echo "Using jemalloc from $JEMALLOC_LOCATION"
|
echo "Process with PID ${pid} is using jemalloc from $JEMALLOC_LOCATION"
|
||||||
fi
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -201,19 +201,6 @@ wsrep_cluster_size 100
|
|||||||
HandlerSocket NoSQL | Not Supported
|
HandlerSocket NoSQL | Not Supported
|
||||||
Fast Hash UDFs | Unknown
|
Fast Hash UDFs | Unknown
|
||||||
# Percona XtraDB Cluster #####################################
|
# Percona XtraDB Cluster #####################################
|
||||||
Cluster Name | pt_sandbox_cluster
|
|
||||||
Cluster Address | gcomm://
|
|
||||||
Cluster Size | 3
|
|
||||||
Cluster Nodes | 192.168.0.100,192.168.0.100,192.168.0.100
|
|
||||||
Node Name | 12345
|
|
||||||
Node Status | Primary
|
|
||||||
SST Method | rsync
|
|
||||||
Slave Threads | 2
|
|
||||||
Ignore Split Brain | false
|
|
||||||
Ignore Quorum | false
|
|
||||||
gcache Size | 128M
|
|
||||||
gcache Directory | /tmp/12345/data/
|
|
||||||
gcache Name | /tmp/12345/data//galera.cache
|
|
||||||
# Plugins ####################################################
|
# Plugins ####################################################
|
||||||
InnoDB compression | ACTIVE
|
InnoDB compression | ACTIVE
|
||||||
# Query cache ################################################
|
# Query cache ################################################
|
||||||
|
@@ -167,7 +167,6 @@ wsrep_local_index 4000000000000 45000000
|
|||||||
HandlerSocket NoSQL | Not Supported
|
HandlerSocket NoSQL | Not Supported
|
||||||
Fast Hash UDFs | Unknown
|
Fast Hash UDFs | Unknown
|
||||||
# Percona XtraDB Cluster #####################################
|
# Percona XtraDB Cluster #####################################
|
||||||
wsrep_on | OFF
|
|
||||||
# Plugins ####################################################
|
# Plugins ####################################################
|
||||||
InnoDB compression | ACTIVE
|
InnoDB compression | ACTIVE
|
||||||
# Query cache ################################################
|
# Query cache ################################################
|
||||||
|
Reference in New Issue
Block a user