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
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
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
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
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
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