Hi list,
How want to list open files in solaris ?
Problem starts when one of my application crashes saying
Error:
Failed to open
/controlsa/appl/ess.3.3.0/resource/Defaults.rsc
(errno 24, Too many
open files)
Segmentation
Fault - core dumped
This is printed in the console and as show, the application crashes,
As the application was opening too many open files i increased the file
descriptors to 8192 ( where the default is only 1024 )
Here i increased the ulimit -a
ctsa-sup-01:/data1/ess33/control-sa/control-sa/exe/Solaris-6> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) unlimited
stack(kbytes) 32768
coredump(blocks) unlimited
nofiles(descriptors) 8192
vmemory(kbytes) unlimited.
Now still after two months again the application crashed ,
To list open files i found command ' pfiles ' But still i have to serve pids
to run. Where it is not feasible.
I want some command which gives output like the utility ' lsof ' in linux
machines,
Is this possible.?
Is any body faced this kind of performance problem , where any HUGE application
is opening too many files , and crashes.
What is advisable in this stages.
Bollywood, fun, friendship, sports and more. You name it, we have it on
http://in.promos.yahoo.com/groups
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users