Re: Too Many Files Open?

Carlos Maldonado <[email protected]>
Newsgroups gmane.comp.web.webobjects.admin,gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
But this solution is definitely?... I mean, isn't this just will delay 
the problem?... besides, I never had to do this before I did this 
server upgrade (grrr!!), I was a happy WOAdmin before, with jaguar 
10.2.8 and WO5.2.2

thanks anyway for your comments
-Carlos

On 4, Jun/2004, at 12:30 PM, Sumit Suman wrote:

> Hi Carlos,
>
> You need to set the ulimit to a higher value.
> If you are using "sh" shell use the following command. It is 
> recommended to put it in .profile in the home directory.
>
> ulimit -S -n 6000
>
> If you are using "csh" shell use the following command. It is 
> recommended to put it in .cshrc in the home directory.
>
> limit descriptors 6000
>
> This works for me.
>
> Regards,
> Sumit
>
> On Jun 3, 2004, at 3:15 PM, Carlos Maldonado wrote:
>
>> Hi list,
>>
>> I have just installed Panther server and had some problems in doing 
>> so but finally got it work. The thing is that now I have severe 
>> problems with my WO installed.
>>
>> First of all, the installer didn't upgrade because it scrambled 
>> everything and I realized by trial and error that I had to do a 
>> Software Update, some MacOSX 10.3.4 upgrade made through the 
>> SystemPreferences. When I did it, *everything* started to work fine.
>> At the next day my inbox was floded with mails saying that couldn't 
>> start my woapps because of an exception: "Too may open files". 
>> Checking the omni-list I found that there's some comments about this 
>> same problem but nothing that could help my in getting my server up 
>> and running. It keeps failing to start woapps as time passes until it 
>> gets a point where JavaMonitor can't communicate to port 1085 and 
>> even though some of my  woapps are running others are not and can't 
>> get them to start.
>>
>> I used the ServerAdmin app to change some Apache settings, like 
>> "Maximun simultaneous connections to 150 (instead of 500 as it was)", 
>> the "Maximum persistent connections to 7", "connection timeout to 300 
>> seconds", "mininum spare servers to 3" and "maximum spare servers to 
>> 7", but didn't help a bit, I get the same behaviour from my server. I 
>> also reviewed some "conf" files even though they are named 
>> ".obsolete" and there I can see a KeepAlive variable set to Off.
>>
>> I use plain WO applications and never open or close sockets (barely 
>> heard of them), the fact is that I never used them before and all of 
>> a sudden I have to deal with them.
>>
>> I've tried also to change the opened files limit with "ulimit" but it 
>> seems is not a command by itself ("command not found").
>>
>> Is there any body there that has and solved this kind of problem?... 
>> I'm really dissapointed that the panther upgrade did this to my 
>> server, never before had to do anything about socket configuration.
>>
>>
>> -Carlos
>>
>> _______________________________________________
>> WebObjects-admin mailing list
>> [email protected]
>> http://www.omnigroup.com/mailman/listinfo/webobjects-admin
>>
> pH : +1-408-9747284
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.