This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: gcj3.1 status update
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Andrew Haley <aph at cambridge dot redhat dot com>
- Cc: tromey at redhat dot com, Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>, java at gcc dot gnu dot org
- Date: Fri, 5 Apr 2002 12:49:40 -0500 (EST)
- Subject: Re: Patch: FYI: gcj3.1 status update
On Fri, 5 Apr 2002, Andrew Haley wrote:
> I'm pretty sure that it is an issue, because the Linux kernel
> engineers told me that they'd had to increase the number of available
> file handles "because of Java servers." Now, I'm guessing that this
> is the cause, but it looks like a good candidate.
They must be talking about per-process, not system-wide handles.
It just so happens that few people attempted to run multithreaded servers
on Linux before java came along. And then there are artificial benchmarks
like VolanoMark.
We've had to run our servers with "ulimit -n 1024". Empirically, that
seems to be plenty for us, even with high transaction volumes.
Come to think of it... why couldn't the FileDescriptor::open code in
libgcj attempt to call setrlimit as well as run finalizers before it gives
up?
Jeff