-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>> Subject: Re: SESSIONS.ser (Too many open files)
>>
>> Most of the files opened are JAR files (not sure why they
>> stay ope
For reasons i don't know, windows forbids removal of file to which there
are active handle.
just delete everything and look at what was not deleted? :p
BTW, Is there are any utility like lsof for windows system.
-
To s
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: SESSIONS.ser (Too many open files)
>
> Most of the files opened are JAR files (not sure why they
> stay open; the JVM must assume that an opened JAR file will
> eventually be used again)
Typical classloaders
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
David Delbecq wrote:
> By default, lsof show all files for all processes, thise can be very big
> man lsof will give you description of lsof parameter. There should be
> one to restrict to a specific process :)
Yup:
$ lsof -p pid
Looking at
David Delbecq wrote:
By default, lsof show all files for all processes, thise can be very big
man lsof will give you description of lsof parameter. There should be
one to restrict to a specific process :)
I think, I got the root cause of this problem. After analyzing the lsof
output, I found
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ranjan,
Ranjan Kumar Baisak wrote:
> BTW, Is there are any utility like lsof for windows system.
Like always, google is your friend:
http://www.microsoft.com/technet/sysinternals/SystemInformation/Handle.mspx
You can also use Process Explorer (ment
On 26 Sep 2007 at 16:22, Ranjan Kumar Baisak wrote:
> BTW, Is there are any utility like lsof for windows system.
Yes, filemon.
http://www.microsoft.com/technet/sysinternals/FileAndDisk/Filemon.mspx
>
> regards,
> Ranjan
>
> David Delbecq wrote:
> > In his case, 1024 might be a quite low limit
By default, lsof show all files for all processes, thise can be very big
man lsof will give you description of lsof parameter. There should be
one to restrict to a specific process :)
Ranjan Kumar Baisak a écrit :
I got a tool called process explorer for windows.
After running lsof in linux, I
I got a tool called process explorer for windows.
After running lsof in linux, I got lits of files and its count is more
than 1024 (something around 5000 odd,). Hence I would appreciate your
help to analyze lsof output.
regards,
Ranjan
Ranjan Kumar Baisak wrote:
BTW, Is there are any utilit
BTW, Is there are any utility like lsof for windows system.
regards,
Ranjan
David Delbecq wrote:
In his case, 1024 might be a quite low limit fora server. count jars/
classes files, compiled jsps, resources files, network connection,
logging files and it increases quite quickly
Christopher
In his case, 1024 might be a quite low limit fora server. count jars/
classes files, compiled jsps, resources files, network connection,
logging files and it increases quite quickly
Christopher Schultz a écrit :
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
RB,
Ranjan Kumar Baisak wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ranjan,
Ranjan Kumar Baisak wrote:
> Yes, I believe there are some problem with application code. So instead
> of increasing file descriptor limit, I am running lsof to find out what
> are the files getting opened by application. Recently we have adde
I really appreciate with the kind of response I am getting from this list.
Just as I would caution anyone who is running out of memory to check to
see /why/ they were running out of memory before they blindly increase
the heap size, I have to caution you to investigate /why/ you are
running out o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
RB,
Ranjan Kumar Baisak wrote:
>
>> To see your current settings use 'ulimit -a'. If you want to make
>> permanent changes edit /etc/security/limits.conf
>> Everything in a system is a file, not just a single webpage, the
>> default are not enough fo
In unix, opened pipe (stdout/stdin, etc) and network sockets are
considered opened files btw
Ranjan Kumar Baisak a écrit :
To see your current settings use 'ulimit -a'. If you want to make
permanent changes edit /etc/security/limits.conf
Everything in a system is a file, not just a single webp
Ranjan Kumar Baisak a écrit :
but I would love to know any such commands/utilities exist that can
tell me detail about what are the files getting opened in my web
application which results such exception.
lsof will do it
-
To
To see your current settings use 'ulimit -a'. If you want to make
permanent changes edit /etc/security/limits.conf
Everything in a system is a file, not just a single webpage, the
default are not enough for your requirements.
Ok now I got it. default value for open files is 1024 and I think I
Ranjan Kumar Baisak wrote:
I would think this would be the root issue: "Too many open files"
We dont have much file handling operations in our web applications,
but again I am going to look minutely all IO operations in my
application.
What OS are you running. Some limit the number of open fi
I would think this would be the root issue: "Too many open files"
We dont have much file handling operations in our web applications, but
again I am going to look minutely all IO operations in my application.
What OS are you running. Some limit the number of open file handles.
Also might want
I would think this would be the root issue: "Too many open files"
What OS are you running. Some limit the number of open file handles.
Also might want to check to be sure you are closing files when finished
with them in your webapp.
--David
Ranjan Kumar Baisak wrote:
Hi Experts,
20 matches
Mail list logo