You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2010/07/28 16:47:18 UTC

[jira] Created: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Jetty sometimes randomly takes a long time to start
---------------------------------------------------

                 Key: SOLR-2019
                 URL: https://issues.apache.org/jira/browse/SOLR-2019
             Project: Solr
          Issue Type: Bug
            Reporter: Michael McCandless
             Fix For: 3.1, 4.0


I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:

    http://jira.codehaus.org/browse/JETTY-331

It seems to be caused by this root cause:

    http://bugs.sun.com/view_bug.do?bug_id=6202721

Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!

If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).

However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893211#action_12893211 ] 

Mark Miller commented on SOLR-2019:
-----------------------------------

That jetty runner is not a test class.

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019.patch, SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Chris Male (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893196#action_12893196 ] 

Chris Male commented on SOLR-2019:
----------------------------------

It is possible to set Random in the SessionIDManager programmatically using the following code:

{code}
Server server = new Server();
HashSessionIdManager idManager = new HashSessionIdManager();
idManager.setRandom(new Random());
server.setSessionIdManager(idManager);
{code}

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893226#action_12893226 ] 

Uwe Schindler commented on SOLR-2019:
-------------------------------------

bq. That jetty runner is not a test class. 

Ah there are two of them.

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019.patch, SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated SOLR-2019:
------------------------------

    Attachment: SOLR-2019_insecure.patch

here is a patch (not for committing) to see if it resolves it. if so i think we should do this from tests...

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894397#action_12894397 ] 

Michael McCandless commented on SOLR-2019:
------------------------------------------

OK I'll commit!

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019.patch, SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir updated SOLR-2019:
------------------------------

    Attachment: SOLR-2019.patch

patch that checks sysprop, set from 'ant test'

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019.patch, SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Resolved: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved SOLR-2019.
--------------------------------------

    Resolution: Fixed

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019.patch, SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894395#action_12894395 ] 

Yonik Seeley commented on SOLR-2019:
------------------------------------

This solves some of the test failures I've been seeing.  +1 to commit!

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019.patch, SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893199#action_12893199 ] 

Michael McCandless commented on SOLR-2019:
------------------------------------------

That patch works for me!!

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893200#action_12893200 ] 

Robert Muir commented on SOLR-2019:
-----------------------------------

seems slightly hackish, but is it ok to check a sysprop in JettySolrRunner to enable this?
we could then set it from ant for tests and be done with it.


> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893224#action_12893224 ] 

Michael McCandless commented on SOLR-2019:
------------------------------------------

bq. patch that checks sysprop, set from 'ant test'

This patch works for me too!

I think this is a good approach (set a system prop)... +1 to commit.

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019.patch, SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Commented: (SOLR-2019) Jetty sometimes randomly takes a long time to start

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893210#action_12893210 ] 

Uwe Schindler commented on SOLR-2019:
-------------------------------------

I see no problem in havin an insecure hash generator for session ids. When tests are running, the jetty is localhost only and never in production. So in my opinion, the first patch without sysprops is perfectly fine. There is nothing insecure in it.

> Jetty sometimes randomly takes a long time to start
> ---------------------------------------------------
>
>                 Key: SOLR-2019
>                 URL: https://issues.apache.org/jira/browse/SOLR-2019
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Michael McCandless
>             Fix For: 3.1, 4.0
>
>         Attachments: SOLR-2019.patch, SOLR-2019_insecure.patch
>
>
> I'm hitting this Jetty issue when running Solr's tests that spawn a Jetty:
>     http://jira.codehaus.org/browse/JETTY-331
> It seems to be caused by this root cause:
>     http://bugs.sun.com/view_bug.do?bug_id=6202721
> Whereby, somehow, Jetty is trying to use cryptographically secure source of randomness to seed seed its HashSessionIdManager.  My box doesn't have enough entropy so the read blocks for sometimes 10s of seconds!
> If I forcefully symlink /dev/random -> /dev/urandom, that fixes the hang.  Likewise, if I edit the JRE's java.security to  set securerandom.source=file:/dev/./urandom, that also fixes it.  But I think we can workaround this more "generally" by doing the workaround suggested in the Jetty issue (pass java.util.Random not java.security.SecureRandom).
> However, it's still not clear how widespread / what evns this issue really affects (besides mine)...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org