Re: too many open files
Simon <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
i second this - our staging server seems much happier on 1.4.2. simon On 12 Feb 2004, at 17:05, Markus Lehmann wrote: > Hi, > > Java 1.4.2 (Mac OS X) seems to fix this (WO 5.2.2 isn't certified for > Java 1.4.2 - however it runs much better than under 1.4.1 for me). > > Markus > > > On 11.02.2004, at 20:29, Georg Tuparev wrote: > >> David & Others, >> >> It seams that this is a VM problem. I did play with Java 1.3 and 1.4 >> on both MacOSX 10.2.x and Solaris. I hit this problem on all >> installation, but on a different places (more or less randomly). It >> seams VM just do not care to release file handles.... >> >> The side effect of hitting the GC manually is 5% slower apps (in my >> particular case). But this is very small price I have to pay. After >> doing so our apps (most of them really complex - something like 150 >> entities, 100k lines of source) run without restart for months. This >> is a banking application and the load is significant (4th or 5th >> largest dutch bank). >> >> BTW, I do not blame WO for this. I am able to mimic the same problem >> with j2ee app running on JBoss. Send your complains to Mr. >> Gosling.... and file a radar enhancement request to have WO6 in ObjC >> >> have fun >> >> -- georg -- >> >> P.S. I wonder what will be the overall performance hit if WO kicks >> the GC after every Request-Response loop... any thought? >> >> "War is God's way of teaching Americans about geography." >> Ambrose Bierce, writer (1842-1914) >> >> On Feb 11, 2004, at 6:57 PM, David Teran wrote: >> >>> thats a very interesting observation! In fact calling the GC >>> manually is not recommended and i wonder if your app is using a lot >>> of FileWriter instances. In every case this might be a bugreport >>> because before throwing such an exception the VM should make clear >>> that there are no uncollected instances which can be collected to >>> prevent such an exception. >>> >>> Can you check this example on another OS like Linux / Solaris ? >>> >> >> >> Georg Tuparev >> Tuparev Technologies >> Klipper 13 >> 1186 VR Amstelveen >> The Netherlands >> Mobile: +31-6-55798196 >> >> _______________________________________________ >> 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