RE: How can I find number of 'open files'

2001-08-17 Thread Martin van den Bemt
There is a profiler available for the jdk which spits out a nice overview of all the instances of classes that are used.. Maby that can help you check the correctnes of the code and see the bottlenecks (it also says how much memory it uses..).. Just saw a report on that one day, so you have to

Re: How can I find number of 'open files'

2001-08-17 Thread Pier P. Fumagalli
Ivan Markovic at [EMAIL PROTECTED] wrote: I had a problem a while back with 'too many open files'. So I checked and fix some bugs in my code and increased the limit (Solaris running on Sun Netra T1). But now the problem is back. I suspect it is a problem with my code. How can I find out

RE: How can I find number of 'open files'

2001-08-16 Thread Artigas, Ricardo Y.
I assume you are closing the sockets that you create/open? :~) Ricky Y. Artigas Analyst/Programmer / Database Administrator Information Technology Division Easycall Communications Phils., Inc. --- IMPORTANT NOTICE: This message (and any attachment

Re: How can I find number of 'open files'

2001-08-16 Thread Cyril Bouteille
Ivan, How can I find out how many files are 'open'? If I can track that number then I can hit my code through Tomcat and see roughly when the files are not being closed. Is there some Unix function that will allow me to monitor open files? You can try /usr/proc/bin/pfiles with the pid of

Re: How can I find number of 'open files'

2001-08-16 Thread Cyril Bouteille
Ivan, How can I find out how many files are 'open'? If I can track that number then I can hit my code through Tomcat and see roughly when the files are not being closed. Is there some Unix function that will allow me to monitor open files? You can try /usr/proc/bin/pfiles with the pid of

Re: How can I find number of 'open files'

2001-08-16 Thread Nikola Milutinovic
I had a problem a while back with 'too many open files'. So I checked and fix some bugs in my code and increased the limit (Solaris running on Sun Netra T1). But now the problem is back. I suspect it is a problem with my code. How can I find out how many files are 'open'? If I can