George Sexton wrote:
> I've got a question and it's kind of deep developer question.
> 
> I was poking around today looking at my tomcat instance running under Linux.
> 
> I was looking in the /proc/<pid>/fd directory, which is the list of file
> descriptors open by my servlet application.
> 
> There are around 1400 open file descriptors. What I don't understand is why
> there are some 800+ file descriptors that are open to /dev/urandom. On this
> particular host there are some 400 configured hosts/contexts.
> 
> On another server, there are 1100 file descriptors open to /dev/urandom. For
> this server, there are around 200 configured hosts/contexts.
> 
> I'm using Sun JDK 1.6.0_14 on OpenSUSE 11.1. One machine is amd64
> architecture, while the other is i386.
> 
> Does anyone have any idea what could be causing this? It seems kind of
> strange to have 800-1200 file descriptors open to one pseudo file.

Take a look at ManagerBase.getRandom(). The probably explains the
majority of it.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to