On 11 Apr, Bojan Smojver wrote: > [EMAIL PROTECTED] wrote: >> Given that tomcat should run for days or weeks at a time, I don't >> think you want to keep /dev/random open. There maybe other processes >> that also need random data during that time. > > Are you really sure that other processes are unable to use /dev/random > while Tomcat is using it? It sure doesn't worry my Linux machine. Try > multiple cats on /dev/random. Works just fine. Or maybe I missed > something... > > Bojan As pointed out by someone else, at some point on a system that is not busy processes will hang on /dev/random waiting for their next chance to catch some randomness generated by things like mouse moves. And if you are on a server, the mouse may never move. There will be other trips into the kernel, but I think a better strategy would be to get a random seed and close your particular connection. What do you think? =eas=
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/modul... costin
- Re: cvs commit: jakarta-tomcat/src/share/org/apache/tom... Bojan Smojver
- Re: cvs commit: jakarta-tomcat/src/share/org/apach... cmanolache
- Re: cvs commit: jakarta-tomcat/src/share/org/a... Bojan Smojver
- Re: cvs commit: jakarta-tomcat/src/share/org/apach... estutes
- Re: cvs commit: jakarta-tomcat/src/share/org/a... Bojan Smojver
- Re: cvs commit: jakarta-tomcat/src/share/... estutes
- Re: cvs commit: jakarta-tomcat/src/s... Bojan Smojver
- Re: cvs commit: jakarta-tomcat/src/share/org/apache/tom... Doug Barnes
- Re: cvs commit: jakarta-tomcat/src/share/org/apache... Bojan Smojver
- RE: cvs commit: jakarta-tomcat/src/share/org/a... Doug Barnes
- Re: cvs commit: jakarta-tomcat/src/share/o... Bojan Smojver
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/... costin
- cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/... costin