tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <delbd+jaka...@oma.be>
Subject Re: SESSIONS.ser (Too many open files)
Date Wed, 26 Sep 2007 20:44:43 GMT
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 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 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 Schultz a écrit :
>>>> -----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 for your requirements.
>>>>>>
>>>>>>       
>>>>> Ok now I got it. default value for open files is 1024 and I think 
>>>>> I need
>>>>> to increase open file descriptor limit.
>>>>>     
>>>>
>>>> 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 of file handles before you blindly increase your file 
>>>> handle
>>>> limit.
>>>>
>>>> Yes, increasing the file handle limit is likely to fix your 
>>>> problem, but
>>>> probably only temporarily. You may have a resource leak that is merely
>>>> going to take longer to hit if you increase your file handle limit.
>>>>
>>>> - -chris
>>>>
>>>> -----BEGIN PGP SIGNATURE-----
>>>> Version: GnuPG v1.4.7 (MingW32)
>>>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>>>
>>>> iD8DBQFG+rC69CaO5/Lv0PARAtdeAJ92mqHMFuWJnnvyDMqDczqCakD/HQCfVYk+
>>>> jwiT6uobpvPic99cR82c4j0=
>>>> =u9dr
>>>> -----END PGP SIGNATURE-----
>>>>
>>>> ---------------------------------------------------------------------
>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>   
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message