mirror of
https://github.com/apache/lucene.git
synced 2025-03-06 08:19:23 +00:00
SOLR-10352: Fixing available entropy warning limit to 300
This commit is contained in:
parent
1d8193c7c9
commit
91da9af988
@ -1771,7 +1771,7 @@ function launch_solr() {
|
|||||||
1>"$SOLR_LOGS_DIR/solr-$SOLR_PORT-console.log" 2>&1 & echo $! > "$SOLR_PID_DIR/solr-$SOLR_PORT.pid"
|
1>"$SOLR_LOGS_DIR/solr-$SOLR_PORT-console.log" 2>&1 & echo $! > "$SOLR_PID_DIR/solr-$SOLR_PORT.pid"
|
||||||
|
|
||||||
# check if /proc/sys/kernel/random/entropy_avail exists then check output of cat /proc/sys/kernel/random/entropy_avail to see if less than 300
|
# check if /proc/sys/kernel/random/entropy_avail exists then check output of cat /proc/sys/kernel/random/entropy_avail to see if less than 300
|
||||||
if [[ -f /proc/sys/kernel/random/entropy_avail ]] && (( `cat /proc/sys/kernel/random/entropy_avail` < 30000)); then
|
if [[ -f /proc/sys/kernel/random/entropy_avail ]] && (( `cat /proc/sys/kernel/random/entropy_avail` < 300)); then
|
||||||
echo "Warning: Available entropy is low. As a result, use of the UUIDField, SSL, or any other features that require"
|
echo "Warning: Available entropy is low. As a result, use of the UUIDField, SSL, or any other features that require"
|
||||||
echo "RNG might not work properly. To check for the amount of available entropy, use 'cat /proc/sys/kernel/random/entropy_avail'."
|
echo "RNG might not work properly. To check for the amount of available entropy, use 'cat /proc/sys/kernel/random/entropy_avail'."
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user