[ 
https://issues.apache.org/jira/browse/SOLR-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14065561#comment-14065561
 ] 

Dawid Weiss commented on SOLR-6254:
-----------------------------------

Is it really that, Steve? It would seem very odd to have ssl connections just 
stall like that -- think of any web server or something... how does it work 
there?

Anyway, my impression from debugging hangs related to sockets was that 
freebsd's port of openjdk is not thoroughly tested (that accept issue would 
have been caught by regular openjdk tests I think). Now I'm left in doubt when 
I see an issue pop up on jenkins -- is this our bug or openjdk's?

> Failing tests due to timeouts caused by SSL depleting random entropy on 
> Jenkins
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-6254
>                 URL: https://issues.apache.org/jira/browse/SOLR-6254
>             Project: Solr
>          Issue Type: Task
>          Components: Tests
>            Reporter: Steve Rowe
>
> Tests using SSL can block on Jenkins when random entropy is depleted, causing 
> timeouts that trigger test failures.
> I found some info about /dev/random problems on FreeBSD here: 
> [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me 
> to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a 
> bunch of shit to /dev/random:
> {code}
> ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
>       | dd of=/dev/random bs=8k 2>/dev/null
> cat /bin/ls | dd of=/dev/random bs=8k 2>/dev/null
> {code}
> I think we should try the same strategy in a crontab every X minutes, to see 
> if that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to