| Author |
File Opening limit
|
Edy Yu
Ranch Hand
Joined: Nov 21, 2000
Posts: 264
|
|
I am running a Java program on USS (it's a unix enviroment on the mainframe). I want to know how many files/file descriptors my application has opened in order to make sure it won't pass the system limit. Is there any classes or methods in Java to tell me that? Thanks.
|
<i><br />Sun Certified Programmer for Java 2 Platform (SCJP)<br />Sun Certified Developer for Java 2 Platform (SCJD)<br />Sun Certified Web Component Developer for Java2 Platform, Enterprise Edition (SCWCD)<br />Sun Certified Business Component Developer for Java2 Platform, Enterprise Edition (SCBCD)<br />Sun Certified Enterprise Architect for J2EE (SCEA)<br />IBM Certified Enterprise Developer, WebSphere Studio V5.0<br /></i>
|
 |
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
|
|
Not that I am aware of. It all depends on how much memory you have available. Bosun
|
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
|
 |
William Barnes
Ranch Hand
Joined: Mar 16, 2001
Posts: 965
|
|
|
I think a co-worker ran into this limit, I will post back here on Monday if I get anything.
|
Please ignore post, I have no idea what I am talking about.
|
 |
William Barnes
Ranch Hand
Joined: Mar 16, 2001
Posts: 965
|
|
My co-worker ran into a limit of 2000 open files. You can see the limit in unix with the "ulimit -a" command. The "nofiles" is the number of files which can be open. Your admin may be able to increase this number. Sorry - I just read your original post again and I am not answering your question. [This message has been edited by christopher foran (edited November 05, 2001).]
|
 |
 |
|
|
subject: File Opening limit
|
|
|