Re: too many open files / WO 5.2.2 Panther 10.3.2

Simon <[email protected]>
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
we've seen this problem when running multiple apps on a panther server 
and re-boot is the only way out we have found. another panther-related 
problem we see randomly is this:

Cannot write to file /Library/WebObjects/Configuration/SiteConfig.xml. 
Possible Permissions Problem.

... when trying to shut down an instance. however, if we keep clicking 
the "shut down all instances" button then it does eventually go away 
and the instances do shut down.

simon


On 28 Jan 2004, at 21:39, Pierre Frisch wrote:

> David,
>
> I would disagree with you on this one. I agree that on WO this can be 
> home grown however in this case there is a problem in Panther. I know 
> because I have had a machine with a bunch of application running on 
> Jaguar that was very stable. The only thing that has changed is the OS 
> and the version of WO and now I have all sorts of troubles.
>
> There are two problems on 10.2.3 one with Apache and one with wotaskd. 
> The Apache one is fairly old: the adaptor does not close the 
> connections to the app immediately and let them linger with consume 
> some of those open file. In addition wotaskd appears to have developed 
> a similar disease on Panther. The combination of both is lethal. You 
> can reduce the wotskd problem by disabling the 1085 config 
> distribution feature and use teh file config.
>
> Pierre
> --
> Pierre Frisch
> sPearWay Ltd.
> sPearCat Web Catalogs, the flexibility of custom design, the price of 
> a package.
> http://www.spearcat.com/
>
> On Jan 28, 2004, at 12:46, David Teran wrote:
>
>> Hi,
>>
>> On 28.01.2004, at 21:39, Jürgen Rohrbach wrote:
>>
>>> hello,
>>>
>>> i have read all the postings with "too many open files" but i have 
>>> still a problem to find the correct solution/workaround.
>>> after 2-3 days my app has the following in the log file:
>>>
>>> IOException: too many open files
>>>
>>>
>>> which solutions work to get rid of this shit!
>>>
>>
>>
>> best is to check your code. It turns out that the 'shit' is homegrown.
>>
>> Things to check:
>>
>> 1) wrong usage of Process instances
>> 2) open streams
>> 3) unhandled exceptions
>> 4) wrong deployment
>> ...
>>
>> This might annoying for you but the problem is in your code. Do you 
>> know the lsof command or are you working on windows?
>>
>> cheers David
>>
>> _______________________________________________
>> WebObjects-admin mailing list
>> [email protected]
>> http://www.omnigroup.com/mailman/listinfo/webobjects-admin
>>
> _______________________________________________
> WebObjects-admin mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-admin

_______________________________________________
WebObjects-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/webobjects-admin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.