Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
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

RE: SESSIONS.ser (Too many open files)

2007-09-26 Thread Caldarale, Charles R
> 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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Steve Ochani
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
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:

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Christopher Schultz
-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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Delbecq
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
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

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Darek Czarkowski
: /server/http/site/music.yamaha.com/site/work/SESSIONS.ser (Too many open files) at java.io.FileOutputStream.open(Native Method) .. And some other application FNF java.io.FileNotFoundException: /server/http/site/ssd.com/site/dist/tilesCopy/en_US/siteTree.xml (Too many open fi

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
yamaha.com/site/work/SESSIONS.ser (Too many open files) at java.io.FileOutputStream.open(Native Method) .. And some other application FNF java.io.FileNotFoundException: /server/http/site/ssd.com/site/dist/tilesCopy/en_US/siteTree.xml (Too many open files) at java.io.FileInputStream.o

Re: SESSIONS.ser (Too many open files)

2007-09-26 Thread David Smith
Hi Experts, I am facing a strange problem in my tomcat application. Suddenly it generates following Exceptions java.io.FileNotFoundException: /server/http/site/music.yamaha.com/site/work/SESSIONS.ser (Too many open files) at java.io.FileOutputStream.open(Native Method) .. And

SESSIONS.ser (Too many open files)

2007-09-26 Thread Ranjan Kumar Baisak
Hi Experts, I am facing a strange problem in my tomcat application. Suddenly it generates following Exceptions java.io.FileNotFoundException: /server/http/site/music.yamaha.com/site/work/SESSIONS.ser (Too many open files) at java.io.FileOutputStream.open(Native Method