tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Sexton" <geor...@mhsoftware.com>
Subject /dev/urandom usage
Date Fri, 14 Aug 2009 23:30:57 GMT
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.

George Sexton
MH Software, Inc. - Home of Connect Daily Web Calendar
http://www.mhsoftware.com/
Voice: 303 438 9585
  




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


Mime
View raw message