You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2017/04/03 18:45:29 UTC
[23/52] [abbrv] lucene-solr:jira/solr-9959: SOLR-10352: Fixing
available entropy warning limit to 300
SOLR-10352: Fixing available entropy warning limit to 300
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/efdb04d0
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/efdb04d0
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/efdb04d0
Branch: refs/heads/jira/solr-9959
Commit: efdb04d06c9d37b543ab0469c65f3474c34d455a
Parents: 30f7914
Author: Ishan Chattopadhyaya <is...@apache.org>
Authored: Wed Mar 29 19:22:02 2017 +0530
Committer: Ishan Chattopadhyaya <is...@apache.org>
Committed: Wed Mar 29 19:22:02 2017 +0530
----------------------------------------------------------------------
solr/bin/solr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/efdb04d0/solr/bin/solr
----------------------------------------------------------------------
diff --git a/solr/bin/solr b/solr/bin/solr
index 27ec054..903309b 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -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"
# 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 "RNG might not work properly. To check for the amount of available entropy, use 'cat /proc/sys/kernel/random/entropy_avail'."
echo ""