Hi
we also came across this problem when dealing with reading and wrting into
files
it is not witj tomcat or struts or any other thing it is problem with the
way your app developed

make sure that your are closing the files once you done with that file


regards
Vamsi

On 5/11/07, Jon Wynacht <[EMAIL PROTECTED]> wrote:

I'm working on that now, trying to get things to break.

On May 9, 2007, at 6:51 AM, Mike Baroukh wrote:

> > Would I look for things that are related to Tomcat/MySQL/Struts?
> I only
> > see about 20 items listed, none of which have anything to do with
> my app.
>
> If your application open too many files you would see it.
> lsof list every files, tcp connection included.
>
> Can you reproduce easyly the error ?
>
> Mike
>
>
> Jon Wynacht a écrit :
>> Would I look for things that are related to Tomcat/MySQL/Struts? I
>> only see about 20 items listed, none of which have anything to do
>> with my app.
>> Jon
>> On May 7, 2007, at 6:18 AM, Mike Baroukh wrote:
>>>
>>>
>>> Hi.
>>>
>>> If you are runnig on unix, couldn't you do something like
>>> lsof -p <processid>
>>> to list wich files are actually opened by your app ?
>>> It may help to find wich part open so many files ...
>>>
>>>
>>> From my experience, each times I had this problem, it was because
>>> of Lucene ...
>>>
>>> Mike
>>>
>>>
>>> Jon Wynacht a écrit :
>>>> Whoops, sorry. 1.5
>>>> On May 6, 2007, at 3:27 PM, Martin Gainty wrote:
>>>>> JRE/JDK version???
>>>>> M--
>>>>> This email message and any files transmitted with it contain
>>>>> confidential
>>>>> information intended only for the person(s) to whom this email
>>>>> message is
>>>>> addressed.  If you have received this email message in error,
>>>>> please notify
>>>>> the sender immediately by telephone or email and destroy the
>>>>> original
>>>>> message without making a copy.  Thank you.
>>>>>
>>>>> ----- Original Message ----- From: "Jon Wynacht"
>>>>> <[EMAIL PROTECTED]>
>>>>> To: "Struts Users Mailing List" <user@struts.apache.org>
>>>>> Sent: Sunday, May 06, 2007 6:17 PM
>>>>> Subject: Too many open files
>>>>>
>>>>>
>>>>>> Hi,
>>>>>> I've got an app that, when it gets heavy usage, often dies
>>>>>> with this  message:
>>>>>> May 5, 2007 5:38:36 PM org.apache.catalina.core.StandardServer
>>>>>> await
>>>>>> SEVERE: StandardServer.await: accept:
>>>>>> java.net.SocketException: Too many open files
>>>>>> I've done some research and came across a number of articles
>>>>>> like this:
>>>>>> http://mail-archives.apache.org/mod_mbox/tomcat-users/
>>>>>> 200502.mbox/%
>>>>>> [EMAIL PROTECTED]
>>>>>> %3E
>>>>>> I had our sysadmin bump the max files open from 40960 to 81920
>>>>>> but  I'm still seeing the error.
>>>>>> Any advice as to how best track this down...should I start
>>>>>> with code  or database stuff? I'm running Struts 1.3.5 with
>>>>>> MySQL.
>>>>>> Cheers and thanks in advance,
>>>>>> Jon
>>>>>> Jon Wynacht
>>>>>> [EMAIL PROTECTED]
>>>>>> http://www.objectevolution.com
>>>>>> -----------------------------------------------------------------
>>>>>> ----
>>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> ---
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> Jon Wynacht
>>>> [EMAIL PROTECTED]
>>>> http://www.objectevolution.com
>>>> -------------------------------------------------------------------
>>>> --
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>> --
>>> Mike Baroukh
>>>
>>> ---
>>> Cardiweb  - 31 Rue de Mogador Paris IXeme
>>> 06 63 57 27 22 - 01 53 21 82 63 - Jabber: [EMAIL PROTECTED]
>>> http://www.cardiweb.com
>>> ---
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>> Jon Wynacht
>> [EMAIL PROTECTED]
>> http://www.objectevolution.com
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>
> --
>
> Mike Baroukh
>
> ---
> Cardiweb  - 31 Rue de Mogador Paris IXeme
> 06 63 57 27 22 - 01 53 21 82 63 - Jabber: [EMAIL PROTECTED]
> http://www.cardiweb.com
> ---
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Jon Wynacht
[EMAIL PROTECTED]
http://www.objectevolution.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to